Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module or BAPI for getting the workflow Details

former_member205503
Participant
0 Likes
1,529

Hi All

I am working on workflow in which i am using some class and method for sending SMS.

In that part need to get the details of workflow like:

who is the initiator of the workflow,

who is the manager of that initiator,

what type of request it is,

what are the start date and end date,

etc...

I want this by passing the workflow ID or the request ID as an Input parameter.

And the detals should be as an output parameters.

So that ,as there will be an unique ID for every request

So every time i will get the recent record.

so kindly guide me and help me in finding those details via a FM or BAPI.

Regards,

Abinas Goutam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
878

Hi,

From the table swwwihead you can get the template details...

To get the details of container into itab use the FM SWW_WI_CONTAINER_READ

To trigger the event use the FM SWE_EVENT_CREATE

Regards,

Shankar.

2 REPLIES 2
Read only

Former Member
0 Likes
879

Hi,

From the table swwwihead you can get the template details...

To get the details of container into itab use the FM SWW_WI_CONTAINER_READ

To trigger the event use the FM SWE_EVENT_CREATE

Regards,

Shankar.

Read only

former_member205503
Participant
0 Likes
878

Hi

Thanks for your response its a great help.

If i use FM SWW_WI_CONTAINER_READ only the detail or value i get is the initiator.

But what about the other details, like

The next approval, request type, start date and end date of the request etc.

Regards,