cancel
Showing results for 
Search instead for 
Did you mean: 

Extract interactive form from workflow attachment

Former Member
0 Kudos

I have a multi-step approval process where you want to store the data in

the

backend only after final approval. (requestor >> expert >> approver)

I developed a WDJ app with Interactive forms that triggers Business

Workflow...

I created a Webdynpro Java application which contains an interactive form

for the Requestor.

The Requestor fills out the form, and submits. The submission action

triggers a simple workflow and adds the interactive form as an attachment

to

the workitem. (Using SAP_WAPI_START_WORKFLOW and

SAP_WAPI_ATTACHMENT_ADD)

The new task shows up in UWL with the attached pdf form.

When the approver clicks on the task in UWL it will launch a web dynpro

application which will display the interactive form.

How do I extract the interactive pdf form from workflow?

I want to display the form in my Web dynpro java application and bind

it to the pdfSource context??

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

K Ferguson,

If you are developing forms that require approval and workflow then I would recommend please use Guided Procedures for it.

You can check the help section or please revert in case you have no idea.

Chintan

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for the replys, is there an example someone can give on how to do this?

Former Member
0 Kudos

Chintan, We would like to utilize UWL for processing these interactive forms. This is the reason we went with the Business Workflow route rather than Guided Procedures.

I am still not clear on how to extract the pdf from the workitem.

Edited by: K Ferguson on Jan 16, 2009 4:27 PM

Former Member
0 Kudos

Hi,

We had same requirement, we have some standard FM available in SAP that can save the WF attachment, we have used those FM itself. It was done by WorkFlow guy so I exactly don't know the FM name but you can check this FM SDOK_PHIOS_CHECKIN.

Hope this helps,

Amit

sankar_narayana
Active Participant
0 Kudos

Can we know the reason why do you need to extract the Interactive Form from Workflow.When you are calling the workflow try to save the form in a shared folder and save the url of the shared folder in a field and try to acces it by using SAP Activity.You can create a button for that create an SAP activity and when you click on the button the Interactive Form can be opened.

Iam not sure weather i have answered your question or not?