Hi experts,
I am working on leave approve/ reject Workflow ID: WS21500001 to be implemented on mobile and facing issues. Steps that i have followed:
1. I have configured decision step 38 of the standard workflow 21500001.
2. The Enhancement Spot for getting Business Context data /IWWRK/ES_WF_CUST_EXT_IB (method MODIFY_WORKITEM) is applied with the following logic:
The finction module to get work item id for a manger is SAP_WAPI_CREATE_WORKLIST.
From this function module read the internal table WORKLIST, get the WI_CHCKWI.
Pass the WI_CHCKWI to WORKITEM_ID filed of table PTREQ_HEADER and get the ITEM_LIST_ID.
Pass ITEM_LIST_ID to ITEM_LIST_ID field of table PTREQ_ITEMS and get ITEM_INS.
pass ITEM_INS to ITEM_ID field of table PTREQ_ATTABSDATA.
to get PERNR begda. endda.
However, the details are not seen in xml and the break point on badi is not getting triggered
3. for decision making - The Enhancement Spot used /IWWRK/ES_WF_WI_BEFORE_UPD_IB.
need guidance,
Thanks,
Ritu M