Uploaded by Jorge Cadorna

Adobe Forms SFP

advertisement
Adobe Forms: The First Step - SFP
T-Code the Adobe form Builder
Applies to:
SAP ABAP, Adobe Live cycle Designer ES, mySAP ECC 6.0, SAP NetWeaver 2004s. For more information,
visit the ABAP homepage.
Summary
Adobe forms is very efficient alternative for the Smartforms and also allows other good features for the next
generation document services with SAP technology but for the exploration of those future possibilities you
need to know the basics of the Adobe forms. This tutorial is first step toward adobe forms and will help
beginners to ABAP and SAP builds confidence in developing new age solutions in SAP.
Author:
Gaurav Patwari
Company: Torrent Power Ltd.
Created on: 15 December 2009
Author Bio
By education Gaurav is B.E. Information Technology, He is working as a Chief SAP ABAP
Developer, SAP XI developer as well as SAP HCM Functional team member with Torrent
Power Ltd. India’s one of the best Power Industry. His current technical work includes
development with following ABAP, ABAP HR, SAP XI, ABAP Objects, Smartforms, Adobe
forms BDC, BAPI, SAP Enterprise Portal, and SAP Web dynepro for Java.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
1
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Table of Contents
SFP: Adobe Form Builder ................................................................................................................................... 3
SFP: Adobe Form Builder ............................................................................................................................... 3
Form Interface ................................................................................................................................................. 3
Create Interface .............................................................................................................................................. 4
Select the Package ......................................................................................................................................... 4
Default Initial Screen for the Interface............................................................................................................. 5
Create New Parameter ................................................................................................................................... 5
Append Row for CARRID ............................................................................................................................... 6
Save, Check & Activate................................................................................................................................... 6
Create Form .................................................................................................................................................... 7
Mention Interface for Form .............................................................................................................................. 7
Mention Package and Provide the Request for the Form ............................................................................... 8
Drag N Drop CARRID ..................................................................................................................................... 8
Go for the Layout ............................................................................................................................................ 9
Go for the Form Designing ............................................................................................................................ 10
Create a Title Text......................................................................................................................................... 10
Create Text Field........................................................................................................................................... 11
Click Object Tab  Value tab ....................................................................................................................... 12
Click Object Tab  Binding .......................................................................................................................... 13
Binding Properties ......................................................................................................................................... 15
Click on Save, Close & Activate .................................................................................................................... 15
Test the Form ................................................................................................................................................ 16
Print Preview ................................................................................................................................................. 17
Final Output... ................................................................................................................................................ 17
Related Content ................................................................................................................................................ 18
Disclaimer and Liability Notice .......................................................................................................................... 19
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
2
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
SFP: Adobe Form Builder
SFP is nothing but the form builder with Adobe live cycle designer. As Adobe form builder is new and
evolving technology there's scarcity for the guide for the new developers and the solution architects in SAP
and as adobe is lead document services software vendor interesting features are available with it and can be
provide to the client for the betterment of the custom solution proposed.
Before starting this tutorial, please ensure that Adobe life cycle designer is installed on your system and
Adobe designer is configured on your server.
In this tutorial, we would pass a parameter (CARRID) to the form and print the same with a page heading.
SFP: Adobe Form Builder
Enter the T-code in SAP command bar as SFP.
Form Interface
For every form, an interface is mandatory. First step to create a custom adobe forms is to create form
interface. Click on form interface radio button. Provide name YDEMO_INTERFACE and click on
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
3
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Create Interface
Provide the description and select the interface type as ABAP Dictionary-Based Interface.
Select the Package
As it is sample form I am providing it Local Object and Same way for the request in the next step.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
4
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Default Initial Screen for the Interface
You will find the upcoming screen as show below divided into two one having parameters which will have
one default parameter as show in below figure.
Default Parameter available on creation of interface.
Create New Parameter
For example create CARRID, click on
SAP COMMUNITY NETWORK
© 2009 SAP AG
Append Row
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
5
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Append Row for CARRID
Follow as per below show figure.
Save, Check & Activate
Click on
Click on
to Save.
to activate
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
6
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Create Form
Return back the main screen of SFP and click on radio button for Form and provide name YDEMO_FORM
and click on
Mention Interface for Form
Provide the description for the form and also the previously created Interface form. Click on Save as shown
in below figure.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
7
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Mention Package and Provide the Request for the Form
Here it is local object and hence forth no request is asked.
Drag N Drop CARRID
The screen appearing will have the two expand the YDEMO_INTERFACE and drag the CARRID on to the
Form on right hand side.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
8
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Next screen is the resulting screen on dropping the CARRID.
Go for the Layout
Click on
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
9
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Go for the Form Designing
Click on the Palettes  Object Library  You will find the Object library dialog click on the Standard tab.
below figure depicts the same.
Create a Title Text
Select the Text from the standard tab and drag and drop on to the content area and edit the text.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
10
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Create Text Field
Select the Text Field from the standard tab and drag on the content area as shown in figure below.
Edit Object properties for Text field.
Click on the Object tab  Edit the text of text field to Carrier ID.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
11
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Click Object Tab  Value tab
Select the value type as Read only from the drop down list as shown in below figures.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
12
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Click Object Tab  Binding
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
13
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Click on button next to the default binding select CARRID as shown in below figure.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
14
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Binding Properties
Click on OK.
Click on Save, Close & Activate
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
15
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Test the Form
Click on
Provide CARRID = AA
Click on
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
16
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Print Preview
Click on print preview
Final Output...
Journey starts now.....
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
17
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
Related Content
For more information, visit the ABAP homepage.
PDF-Based Print Form
http://forums.sdn.sap.com/thread.jspa?threadID=1497010
https://forums.sdn.sap.com/thread.jspa?threadID=444902
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
18
Adobe Forms: The First Step - SFP T-Code the Adobe form Builder
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.
SAP COMMUNITY NETWORK
© 2009 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
19
Download
Random flashcards
State Flags

50 Cards Education

Countries of Europe

44 Cards Education

Art History

20 Cards StudyJedi

Sign language alphabet

26 Cards StudyJedi

Create flashcards