Beruflich Dokumente
Kultur Dokumente
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
Underlying technology still identical Smartforms and Adobe Forms : generated function modules Sapscript : element processing ( less generic )
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
Development of Adobe Forms : transaction SFP In general : 2 components, interface and form
Interface : link between ABAP program / WDA and form Form : the form object itself Language and client independent development
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
Function 2 : FP_JOB_OPEN
Creates a job with selected output parameters (sfpoutputparams ) Necessary for each form Can be traced with SM37 Sets values for preview, copies, Remark : when testing forms, do not use this function ls_function contains the return of the function in step 1 Function interface should be identical to the interface defined in SFP Imports /1bcdwb/docparams structure ( language,) and Returns /1bcdwb/formoutput, that can contain the entire form, the spool request nr,
Function 4 : FP_JOB_CLOSE
Closes the job started in function 2
Additional : FP_GET_LAST_ADS_ERRSTR
Retrieves error string from call to ADS
Combining Strengths Delivering Solutions
11
DELAWARE Consulting
12
Combining Strengths
Delivering Solutions
DELAWARE Consulting
13
Combining Strengths
Delivering Solutions
DELAWARE Consulting
14
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
16
Combining Strengths
Delivering Solutions
DELAWARE Consulting
17
Combining Strengths
Delivering Solutions
DELAWARE Consulting
18
Combining Strengths
Delivering Solutions
DELAWARE Consulting
19
Combining Strengths
Delivering Solutions
DELAWARE Consulting
20
Combining Strengths
Delivering Solutions
DELAWARE Consulting
21
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Different tabs : design and master pages, xml/xdp source and preview in Adobe Reader
22
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Body pages
The body page contains all the form elements that are variable Body pages can be set to flowed or positioned Body pages grow dynamically, the system handles page breaks itself
23
Combining Strengths
Delivering Solutions
DELAWARE Consulting
24
Combining Strengths
Delivering Solutions
DELAWARE Consulting
25
Combining Strengths
Delivering Solutions
DELAWARE Consulting
In the data binding tab, the context is linked to the exact form field
This binding is automatically set if one drags and drops elements from the
data view tab
Combining Strengths Delivering Solutions
26
DELAWARE Consulting
Autocompletion is available
27
Combining Strengths
Delivering Solutions
DELAWARE Consulting
28
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Excercise
29
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
Once applied during form rendering, no additional needs client side ( Adobe Reader )
Rights are embedded in the form xdp
31
Combining Strengths
Delivering Solutions
DELAWARE Consulting
It is not possible to generate a form with rights using the standalone Livecycle Designer without having access to a Adobe Acrobat Professional
SAP is using the Adobe Designer environment which is called from the frontend
32
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Under this node, a header and an item part are created, both positioned The item part is repeating and bounded to a table node
34
Combining Strengths
Delivering Solutions
DELAWARE Consulting
35
Combining Strengths
Delivering Solutions
DELAWARE Consulting
36
Combining Strengths
Delivering Solutions
DELAWARE Consulting
37
Combining Strengths
Delivering Solutions
DELAWARE Consulting
The form performs a SOAP call, and can capture a response of the
service
Setup necessary
Definition of Webservice Perform steps in design integration builder Perform steps in configuration integration builder Insert logic in scripting in the form
38
Combining Strengths
Delivering Solutions
DELAWARE Consulting
39
Combining Strengths
Delivering Solutions
DELAWARE Consulting
40
Combining Strengths
Delivering Solutions
DELAWARE Consulting
41
Combining Strengths
Delivering Solutions
DELAWARE Consulting
42
Combining Strengths
Delivering Solutions
DELAWARE Consulting
43
Combining Strengths
Delivering Solutions
DELAWARE Consulting
44
Combining Strengths
Delivering Solutions
DELAWARE Consulting
45
Combining Strengths
Delivering Solutions
DELAWARE Consulting
46
Combining Strengths
Delivering Solutions
DELAWARE Consulting
47
Combining Strengths
Delivering Solutions
DELAWARE Consulting
48
Combining Strengths
Delivering Solutions
DELAWARE Consulting
49
Combining Strengths
Delivering Solutions
DELAWARE Consulting
50
Combining Strengths
Delivering Solutions
DELAWARE Consulting
51
Combining Strengths
Delivering Solutions
DELAWARE Consulting
52
Combining Strengths
Delivering Solutions
DELAWARE Consulting
53
Combining Strengths
Delivering Solutions
DELAWARE Consulting
54
Combining Strengths
Delivering Solutions
DELAWARE Consulting
55
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Response
The SOAP request is stored in a variable Returned variables can be captured
56
Combining Strengths
Delivering Solutions
DELAWARE Consulting
57
Combining Strengths
Delivering Solutions
DELAWARE Consulting
URL is created with fixed part, and variable parameters ( Message interface and sender business system http://<<host:port>>/sap/xi/adapter_plain? namespace=http%3A//delaware.be/xi/XI/Adobe &interface = MI_AdobePDF &qos=EO&service =BS_ADOBE &sap-user=delaware &sap-password=CONSULTI &sap-client=001
58
Combining Strengths
Delivering Solutions
DELAWARE Consulting
1. Read the fileserver directory with datasets ( Binary ) 2. Convert the binary files to XSTRING files
Combining Strengths
Delivering Solutions
DELAWARE Consulting
TRY.
l_fp = cl_fp=>get_reference( ). * Get a reference to the PDF Object class. l_pdfobj = l_fp->create_pdf_object( ). * Set the pdf in the PDF Object. l_pdfobj->set_document( pdfdata = pdf_data ). * Set the PDF Object to extract data the Form data. l_pdfobj->set_extractdata( ). * Execute call to ADS l_pdfobj->execute( ). * Get the PDF Form data. l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
60
Combining Strengths
Delivering Solutions
DELAWARE Consulting
61
Combining Strengths
Delivering Solutions
DELAWARE Consulting
62
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Refer to OSS/SDN for more information on ESR, and detailed explanation on the parameters used
63
Combining Strengths
Delivering Solutions
DELAWARE Consulting
64
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Dataview contains elements for drag and drop on the layout Button foreseen to trigger the webservice immediately
65
Combining Strengths
Delivering Solutions
DELAWARE Consulting
AGENDA
1. Why Adobe forms History of form processing 2. Prerequisites for Adobe Form Processing 3. Form components SFP 4. Form development : print program and interface 5. Form development : form designer 6. Interactive forms : communication using SOAP and SAP PI 7. Tips and tricks - Q&A
67
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Full API references available for Javascript and Formcalc ! Nice to have SAP notes : 938748, 858325, 1101340
68
Combining Strengths
Delivering Solutions
DELAWARE Consulting
Contacts
Decostere Filip, NetWeaver Solution Manager
decosteref@delaware.be