cancel
Showing results for 
Search instead for 
Did you mean: 

how to Pass Internal Table to Workflows from Custom Program

02-22-2022 9:01 AM
680 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hello all,

I hope you all are doing well.

My query is, I have created a custom upload program that get data from Excel file to Internal table.

Now,

1. After getting data into internal table, I want to execute work flow from program. And i want to pass my internal table data into the work flow.

2. After getting data into workflow containers I have to work on approval process.

Please guide me how can I achieve this.

Please also guide, Which standard function modules I have to use for this process?

Thanks.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Dominik_Tylczynski
SAP Champion
SAP Champion

Hello madi_shah

In my opinion the easiest way to start a workflow from a custom program is to trigger a workflow event and define the workflow as a recipient of the event. This way the event will start the workflow. Events can be triggered with the SWE_EVENT_CREATE function. Your internal table can be passed to the event's container and then to the workflow container.

Best regards

Dominik Tylczynski