cancel
Showing results for 
Search instead for 
Did you mean: 

Developing Z report of Workflow : Data retrieve for work id

Former Member
0 Kudos

HI all,

Iam developing a workflow report for account payables and receivable , I have got the linkage between the work id and the document . Now i want

1. Reason for which the document was parked

2. Reason for which the document was Rejected

3 Additional Note parking/rejecting the the dialog box

I have checked this FM SWW_WI_CONTAINER_READ but iam not clear how to retrieve the data from this FM

Regards

Madhukar Shetty

Edited by: Madhukar Shetty on Sep 29, 2010 12:49 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

Hi,

Please use SAP_WAPI_READ_CONTAINER

As to how to use this function module I suggest you use the search functionality of this wonderful forum. And be overwhelmed with tips, tricks, even code samples on how to make this FM work.

Kind regards, Rob Dielemans

Answers (2)

Answers (2)

Former Member
0 Kudos

SAP has developed an extensive list of function modules to deal with workflow programmatically. They all start with SAP_WAPI. It is best practice to use these instead of going directly to the SWW* function modules.

That does not mean you can't use SWW* function modules if you really need them. You are in a better position to make this call.

Former Member
0 Kudos

Hi Madhukar,

The Input for the FM SWW_WI_CONTAINER_READ is Work item ID.

Pass your Workitem ID to this FM. It will give you all your Workflow container data's in Element-Value format.

Just loop it and get the required data's.

Thanks,

Viji.