Skip to Content

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

How can I get the WI ID ?

Friends,

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.

replied

Glauco,

The following code in your object method should do it.

DATA:

workingwi type swc_object,

wi_id type swwwihead-wi_id.

swc_get_element container '_Workitem' workingwi.

swc_get_property workingwi 'WorkitemId' wi_id.

Cheers,

Ramki.

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