Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How can I get the WI ID ?


How can I get the Wi id in a dialog step task ? Inside the same method that is called by this wi ? Sending it from the WF to the method by binding ?

I want to store this id in a table.

Former Member
Former Member replied


The following code in your object method should do it.


workingwi type swc_object,

wi_id type swwwihead-wi_id.

swc_get_element container '_Workitem' workingwi.

swc_get_property workingwi 'WorkitemId' wi_id.



Message was edited by: Ramki Maley - Deleted previous incorrect answer.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question