how to integrate sap interactive forms by adobe with guided … · 2019. 11. 12. · interactive...

23
How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios Applies to: Adobe Interactive Form Designer 7.1, Enterprise Portal, CAF Guided Procedures (GP). For more information, visit the Portal and Collaboration homepage . Summary This document explains how to integrate SAP Interactive Form with Guided Procedures to achieve offline functionality of interactive forms. The scenario covers details on how to send and receive the interactive form to and from an external e-mail-ID and get data from it to process to next steps. Author: Vaibhav Tiwari Company: Wipro Technologies. Created on: 22 June 2009 Author Bio Vaibhav Tiwari is working in Wipro Technologies, India from past 2.7 years. Started career as an ABAP developer. From past two years working on WD ABAP, WD Java and SAP Interactive forms by Adobe. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1

Upload: others

Post on 08-Dec-2020

9 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

Applies to: Adobe Interactive Form Designer 7.1, Enterprise Portal, CAF Guided Procedures (GP).

For more information, visit the Portal and Collaboration homepage.

Summary This document explains how to integrate SAP Interactive Form with Guided Procedures to achieve offline functionality of interactive forms. The scenario covers details on how to send and receive the interactive form to and from an external e-mail-ID and get data from it to process to next steps.

Author: Vaibhav Tiwari

Company: Wipro Technologies.

Created on: 22 June 2009

Author Bio Vaibhav Tiwari is working in Wipro Technologies, India from past 2.7 years. Started career as an ABAP developer. From past two years working on WD ABAP, WD Java and SAP Interactive forms by Adobe.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1

Page 2: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

Table of Contents Introduction ......................................................................................................................................................... 3 

Preconditions ...................................................................................................................................................... 3 

The Step by Step Procedure .............................................................................................................................. 3 

Running the Process ........................................................................................................................................ 20 

Disclaimer and Liability Notice .......................................................................................................................... 23 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 2

Page 3: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

Introduction In this document we will see step by step procedure to create a guided procedure integrated with SAP Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive the filled form back. The process would be having following steps:

• The sender will fill in the e-mail id of the receiver on first screen.

• The receiver will receive the form and send the filled to form back to the same e-mail id.

• The sender will receive data onto web Dynpro form in GP through the filled form.

Preconditions Configurations mentioned in the following document should be completed before creating this Guided Procedure:

• http://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc

• CAF GP should be available on the portal.

• ADS should be properly configured on J2EE server.

• You should have a valid e-mail id configured with portal as mentioned in the document on above link.

The Step by Step Procedure • Go to Guided Procedures->Design time and select the folder for creating the process.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 3

Page 4: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click on create process on left.

• Create the process and rename it to Offline_IF_Process.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 4

Page 5: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click on icon and create a block.

• Choose sequential block and name it as Process_Block.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 5

Page 6: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Select Process_Block and click on icon to create Action with name “Send_Form_Action”.

• Create a callable object in the action Send_Form_Action with following steps.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 6

Page 7: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Add one input field to get e-mail address and one submit button.

• Click next and then finish.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 7

Page 8: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Create one more action into Process_Block as previous one.

• Create one callable object of interactive form type in this action following below steps.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 8

Page 9: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Specify the “.xdp” file clicking on change button.

• Select the xdp file and click ok button.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 9

Page 10: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click next.

• Click next.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 10

Page 11: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click next.

• On configurations screen click on “Enable use in Guided Procedure” and choose template.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 11

Page 12: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Here you can create your own mail template or select the existing one.

• Create one as below and save it.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 12

Page 13: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Choose this template.

• Click next.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 13

Page 14: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click on finish.

• Create one more action in process_block with name receive_form_action as before and create one

callable object of type wd form into it as below.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 14

Page 15: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Create two fields same as the form, into it to show the data received from interactive form.

.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 15

Page 16: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Select process_block, The process tree will be as below:

• Click on parameters tab and group the fields as shown below:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 16

Page 17: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Save and activate all the actions, block and callable objects.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 17

Page 18: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click on process_block and group all the actions in roles tab as below:

• Select the process (root of the tree) and click on roles tab.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 18

Page 19: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Set role type to initiator for admin, overseer and owner.

• In parameters tab uncheck exposed in for all the fields.

• Save and activate all the nodes in the tree.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 19

Page 20: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

Running the Process • Click on Guided Procedures->Runtime and select initiate a new process.

• Choose your process from the list and click next.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 20

Page 21: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Assign the user to the role.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 21

Page 22: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

• Click on initiate and your process will be started.

• Here enter the e-mail id where you need to send the form.

Fill up the received form on the e-mail id and send it back replying the same mail. You can see the received data on the next screen of the process (At receive form action on above screen shot).

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 22

Page 23: How to Integrate SAP Interactive Forms by Adobe with Guided … · 2019. 11. 12. · Interactive Form to achieve the offline scenario to send a form to an external e-mail Id and receive

How to Integrate SAP Interactive Forms by Adobe with Guided Procedures for Offline Process Scenarios

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 23

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.