cancel
Showing results for 
Search instead for 
Did you mean: 

In and Out parameters in WDA

Former Member
0 Kudos

How could I pass IN and Out parameters in WDA?

I have three WDA which process an Adobe form. Each WDA has InteractiveForm UI element with the same templateSource and dataSource bound to the same context.

A single form will be processed by all 3 WDA's called in turn:

-WDA-1 will put initial data in the form.

-WDA-2 will put some more data on the form.

-WDA-3 will read the form data and create Incoming Invoice document.

I came up with a solution to store the form data in Z-tables; my DOINIT method populates the pdf context from several Z-tables.

Z-tables key is Form ID.

I need to tell my WDA's the form ID - so they could read the form data.

WDA's will be called by workflow: WDA-1 will have form ID parameter out, WDA-2 and WDA-3 will have form ID parameter in.

Thank you,

Tatyana.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

You said the applications are called in workflow.

So in the WDA1 you store form ID in the workflow Container and read the container in WDA2 & WDA3

using SAP_WAPI_READ_CONTAINER FM

Abhi