cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe with three buttons Submit, approve and Reject

former_member418469
Participant
0 Kudos

Hello,

I have to use adobe forms alone for interactive(not webdynrpo). Requirement is:

1. User will enter values in the form and choose submit which must trigger mail with PDF attachment to SAP inbox.

2. Second user will open the PDF file which will have both approve button and reject button. When user chooses approve button data has to be updated in table and also approval mail has to be sent to user or when he chooses Reject button mail has to go back to first user (step 1).

I have designed will all 3 buttons. How to send mail upon button click and control the adobe form dynamically both online and offline.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Harish,

This would be complicated.

In high level, one possible solution i can think of, others than involving adobe form and workflow (you need this because workflow to route for approval), make use of web services in SAP .

Expose your RFC FM as web service.

In adobe form, create Submit button to trigger web service (RFC FM) by passing form data and initiate workflow events.

Workflow to generate work item with to adobe form to correspond approver

Approver receive the work item / adobe form. To keep this simple, I would suggest to use some flag to control visibility of Submit / Approve / Reject button. Approve / Reject button should only available at this step.

When approve / reject button is clicked, trigger web service again by passing the approve/reject status back to workflow by triggering workflow event in RFC FM.

In your workflow, you can do further post processing like send rejection / approved notification back to requester or perform data update into database; up to your requirement.

Below are some reference for related your case

Trigger workflow event

http://scn.sap.com/thread/1651325

Create adobe as attachment in work item

http://scn.sap.com/thread/1440102

RFC FM as web service

http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm

adobe form & web service sample.

http://help.adobe.com/en_US/livecycle/9.0/samples/ServiceUsageSampleFormsInvokeWebServiceFromPDFForm...

Hope this helps.

regards,

Xiang Li