Skip to Content
0

Get values from WI_OBJECT_ID when implementing /IWPGW/BADI_TGW_TASK_DATA for My Inbox Detail

Jul 09, 2017 at 03:58 PM

122

avatar image

Hello,

I have followed guide at How to display application data in My Inbox App and enhanced the BADI /IWPGW/BADI_TGW_TASK_DATA in SAP Gateway

All works well and in the method MODIFY_TASK_DESCRIPTION of the implementing class I call the FM SAP_WAPI_READ_CONTAINER, and get the objects in SIMPLE_CONTAINER. I am also able to get the values I put in CV_DESCRIPTION_HTML parameter on the My Inbox Detail screen.

My query is how do I get the values within the object WI_OBJECT_ID returned as object value by this FM.

The example given in the guide is of Notification Absence and is not suitable for the task that I am trying to extend. I am trying to add more data in My Inbox for a cost invoice approval workflow task.

This thread Read Workflow container also suggests to use the XML version returned in IFS_XML_CONTAINER of the FM SAP_WAPI_READ_CONTAINER, but I am not sure how to implement it

What is the most generic way to fetch data from the object in the Workflow container returned by the FM SAP_WAPI_READ_CONTAINER using ABAP.

Thanks in advance for the help.

Regards

Sundeep

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers