Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Author Bio :
P.Surjith Kumar working as SAP Consultant for the Past 3.5 Years.
Company : Enteg Technologies Pte Ltd., No.9, Jurong Town Hall Road, Unit #03-14, iHub, Singapore 609431.
S Senthil Raja working as SAP Technical Consultant for the Past 1 Year.
Company : Enteg InfoTech, #263, 21st Main, BTM 2nd Stage,1st Phase, Bangalore - 560076, India.
Scenario
Create an Adobe Form and call in via ABAP WebDynpro .
Pre-request:
1) In the Front End System Adobe Life Cycle Designer has to install. Then only the Adobe Form Layout and Adobe form will open in the SAP system
2) Adobe Reader 8.0 and above version has to installed
2) Create the Interface for the Adobe form in the Transaction Code "SFP"
3) Create a Web Dynpro Component in the Transaction Code SE80
4) Create an "Interactive Form" element in the view (MAIN_VIEW) Layout
5) Assign the Layout and Design the Adobe Form
6) Write a code in the View (MAIN_VIEW) Method "WDDOINIT"
7) Create a Web Dynpro Application to test the Development
8) Test the Web Dynpro Application
Select the radio button "Table Type" and press enter as shown below.
1 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
2) Create the Interface for the Adobe Form in the Transaction Code "SFP"
Give the interface name as "ZADOBE_INTERFACE" and click Create.
2 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
3 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Select the "Web Dynpro Comp./Intf" and Give the Application Name, then press Enter
4 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Then another popup window will appear, Give the "Window Name" & "View Name", and press Enter.
5 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
6 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Enter a Name and select the Interactive Forms, then press Enter.
7 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
In the "Template Source" give name as ZADOBE_FORMS and double click it. Then a Popup will appear as indicated below.
Now assign the Adobe Interface Name "ZADOBE_INTERFACE" that created in the Transaction Code "SFP" earlier.
8 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
9 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
10 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
In the Layout type choose "ZCI Layout" as show below and press enter.
11 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Drag and Drop the Table "ZMARI" in to the Context as shown below.
12 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Then click the layout tab, then below screen will appear.
13 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Drag the Table ZMARI and place it in the Design View as shown below.
14 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
In the "Library" Select the Text, place it in the Design view and give a Description.
15 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
After Active the Adobe Form and Double click the VIEW " MAIN_VIEW"
16 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
17 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Double click the "WDDOINIT" method and enter the below code.
18 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
METHOD wddoinit .
*&-----------------------------------------------------------------&*
*& Author : P Surjith Kumar & S Senthil Raja
*& Purpose : Call the Adobe form via Webdynpro
*&-----------------------------------------------------------------&*
ENDMETHOD.
19 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
You can see the view embedded to the window(MAIN_WINDOW). If it does not appear Drag and drop the View "MAIN_VIEW" to the Window (MAIN_WINDOW) as shown below.
Then select the whole Web Dynpro Component and activate as mentioned below.
20 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
21 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Enter the description and click the "Tick" button as mention below.
22 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
23 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
24 of 25 10/13/2009 4:49 PM
Call Adobe Form through ABAP Web Dynpro - SAP Community Networ... http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=WDAB...
Then a Browser Window will Open and display the Adobe Form.
25 of 25 10/13/2009 4:49 PM