cancel
Showing results for 
Search instead for 
Did you mean: 

how to Pass Internal Table to Workflows from Custom Program

madi_shah
Explorer
0 Kudos

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.

raymond_giuseppi
Active Contributor

You could start lookinf at some documentation such as Design Implementation in SAP Business Workflow (look for Business Objects, Event Generation, Tasks definitions and Workflow Definition)

Accepted Solutions (0)

Answers (1)

Answers (1)

DominikTylczyn
Active Contributor

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