cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Executed Step outcome value from the table

Former Member
0 Likes
1,510

Hi,

How to get the Step outcome value from the table for the executed workitem.

Regards,

Rani.

View Entire Topic
Former Member
0 Likes

Hi,

Can you brief your requirements.

Regards,

Raj

Former Member
0 Likes

Hi,

If u see the trasaction SWI6 , IN THat LOG U WILL GET RESULT field . I wnat to knoe . where the value is stored in database. Or Give me the Alternate solution to get the Value.

Regards,

Rani

Former Member
0 Likes

Hi,

Check this function Module.

SAP_WAPI_READ_CONTAINER.

Also you can check the table SWWWIHEAD.

Regards,

Raj

saumya_govil
Active Contributor
0 Likes

Hi Rani,

For database tables you can refer to tables:

SWWLOGHIST - History of a work item

SWWORGTASK - Assignment of WIs to Org.Units and Tasks

SWWUSERWI - Current Work Items Assigned to a User

SWWWIHEAD - Header Table for all Work Item Types

SWWWIAGENT - Gets agents assigned to a workitem

You can you FMs like SAP_WAPI_GET_WORKITEM_DETAIL, SAP_WAPI_CREATE_WORKLIST as per your requirement.

Hope this helps!

Regards,

Saumya

Former Member
0 Likes

Hi Raj,

In the Table SWWWIHEAD i can get the status of the workitem . But i want to get the outcome .

For eg :

While designing the step , we have the outcome tab , in that we enter the outcome . So i want know that outcome where is stored in the table.

Regards,

Rani.

Former Member
0 Likes

Hi Saumya,

In the fm "SAP_WAPI_GET_WORKITEM_DETAIL" .I am getting the return Code not the outcome and also in the table SWWLOGHIST i am getting the Step-history not the outcome .

How to get the outcome of the step value

Regards,

Rani

bpawanchand
Active Contributor
0 Likes

Check tabel SWD_EDYNP

Former Member
0 Likes

SWD_EDYNP is a Structure

bpawanchand
Active Contributor
0 Likes

Sorry , Sorry

Check the FM SWD_GET_WORKFLOW_DEFINITION and the table parameters STEPS you will get the outcome

and in the parameter WFD_TEXT of Tables section

The Values that needed to be passed for the parameter

WFD_HEADER = WS9XXXXXX ACTIVE VERSION NUMBER (0000) and S

ACT_OBJECT_EXT = WS99XXXXX

and execute the outcomes related to the workflow are displayed in the WFD_TEXT table