In the following post we will see how to create a simple form using an Adobe Form.
Layout of the Form which we are going to create:

Pre-requisites: Adobe life cycle designer.
Step 1: Go to the Transaction SFP and create an Interface.
An interface is mandatory for every form. The purpose of interface is to include the data in the form which was unknown at the time the form was created.
These data’s can be:
1. Data from database tables
2. Data from SAP system like date.
3. Data that have been calculated or implemented.
Enter the name for the interface and click on create.

Enter the description for the interface and press enter.

Assign the interface to a package or save it in a local object.
Step 2: Now let us create the importing parameter to get the details from the user to be displayed in the form.
In the import tab of the form interface, click on the create to add an importing paramter.

Add an importing parameter as shown below.

Save and activate the form Interface. A function module will be generated in the background which will pass the parameter values to the form.
Step 3: Go back to the Tcode SFP (Form Builder) to create the form.
Enter the name fort the form and click on create.

Enter the description and interface for the form and press enter.

Save the form in package or assign it to the local object.

Step 4: Drag and drop the importing parameters of the interface to the form as shown below. This is where the data’s obtained from the user in the interface are passed to the form through context attributes.


Step 5: Design the layout for the form and bind these data’s in the form.
Click on the layout button to open the form designer in the full screen mode.


Step 6: Go to the palettes->object library to view the list of elements available.

You will get a small pop up toolbar which contains all the elements that can be placed in the layout.

Choose the Text element and place it on the layout.

Place the text element in the required position on the page. Double click on the Text to add the user defined text.


Similarly place the text field UI element.


Double click on the text field and change the caption of the text field as name.

In the value tab change the type as read only.

Go to the binding tab and bind the attribute of the form to the text field so that the value in the context attribute will be displayed in the text field at execution.

Bind the text field to the attribute name so that value passed to the name will be displayed here.


In a similar way create a text field element for address and bind it to the respective attributes.

Click on preview pdf to preview the look of the form.

Save and activate the whole form and execute the form.
Output:
Enter the input parameters and click on execute.

Provide the printer name LP01 (Dummy Printer) and click on print preview.

Layout of the Form which we are going to create:

Pre-requisites: Adobe life cycle designer.
Step 1: Go to the Transaction SFP and create an Interface.
An interface is mandatory for every form. The purpose of interface is to include the data in the form which was unknown at the time the form was created.
These data’s can be:
1. Data from database tables
2. Data from SAP system like date.
3. Data that have been calculated or implemented.
Enter the name for the interface and click on create.

Enter the description for the interface and press enter.

Assign the interface to a package or save it in a local object.
Step 2: Now let us create the importing parameter to get the details from the user to be displayed in the form.
In the import tab of the form interface, click on the create to add an importing paramter.

Add an importing parameter as shown below.

Save and activate the form Interface. A function module will be generated in the background which will pass the parameter values to the form.
Step 3: Go back to the Tcode SFP (Form Builder) to create the form.
Enter the name fort the form and click on create.

Enter the description and interface for the form and press enter.

Save the form in package or assign it to the local object.

Step 4: Drag and drop the importing parameters of the interface to the form as shown below. This is where the data’s obtained from the user in the interface are passed to the form through context attributes.


Step 5: Design the layout for the form and bind these data’s in the form.
Click on the layout button to open the form designer in the full screen mode.


Step 6: Go to the palettes->object library to view the list of elements available.

You will get a small pop up toolbar which contains all the elements that can be placed in the layout.

Choose the Text element and place it on the layout.

Place the text element in the required position on the page. Double click on the Text to add the user defined text.


Similarly place the text field UI element.


Double click on the text field and change the caption of the text field as name.

In the value tab change the type as read only.

Go to the binding tab and bind the attribute of the form to the text field so that the value in the context attribute will be displayed in the text field at execution.

Bind the text field to the attribute name so that value passed to the name will be displayed here.


In a similar way create a text field element for address and bind it to the respective attributes.

Click on preview pdf to preview the look of the form.

Save and activate the whole form and execute the form.
Output:
Enter the input parameters and click on execute.

Provide the printer name LP01 (Dummy Printer) and click on print preview.

ok good
ReplyDeleteSOAP error is coming while activating the form...i m new to adobe forms..help
ReplyDeletegr8 stuff
ReplyDelete