Adobe Forms in SAP ABAP

Hello friends hope you are doing well in this todays post we are going to see about what is adobe forms in sap abap | how to implement adobe forms in sap abap | adobe form with example in sap | adobe form step by step process in sap abap.

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.

Adobe Forms in SAP ABAP refer to a powerful toolset used for creating and designing interactive and dynamic forms within the SAP environment. These forms are typically used for printing, emailing, or displaying data from SAP systems in a user-friendly and customizable format.

Adobe Forms in SAP ABAP provide a flexible and efficient solution for creating, customizing, and managing forms within SAP environments. They offer seamless integration with SAP systems, support for dynamic data binding and calculations, and a range of output options for printing, emailing, and displaying forms, making them a preferred choice for form-based processes in SAP applications.

Step by step process for Adobe Forms in SAP ABAP

Go to transaction SFP

For every form, an interface is mandatory. Enter the name of the interface and click on Create.

Click on Save. Enter the package and the workbench request no as per the requirements.
Following screen appears:

Double-click on Import.
Following screen, with a default parameter name, appears:

Click on Create.

Enter the parameter values as shown above.
Save and activate the interface.
Now go back to the main screen of the transaction SFP.

As shown above, select the radio-button Form and enter the name of the form. Click on ‘Create’.
Enter the description for the Form and also enter the name of the interface created earlier.

Click on Save.
Now enter the package name and the workbench request.
Following screen appears:

Now drag and drop the import parameter ‘Carrid’ from interface to Context on the right-hand side as
shown below:

Now click on the tab ”Layout”

Now let us include a heading and display the value of the carrier id passed to this form.
Now click on Palettes -> Layout (see the screenshot below):

A small pop-up box appears.

Now in the tab “Standard”, drag and drop the element “Text” onto the page.

Now double-click on the object and enter the text required (Page heading here).

Now go to library again (click on Palettes  Library) and drag and drop the object “Text Field” onto the page.

Now select the object “Text Field” created just now. Right-click and select Palettes -> Object.

As shown above, change the caption to “Carrier ID”.
Now click on tab ”Value”. In the list box for “Type”, select the value “Read-only” (as shown below)

Now go to tab “Binding”. Select the parameter “CARRID” as shown below:

Save and activate the form.
Now test run the form by clicking on “Test” (F8)

Enter the CARRID value and click on Execute.

Following is the output:

Step1: Go to Transaction SFP to create Adobe form. Provide the interface name and click on create button.

Step2: Provide the description. Click on Save button.

Step3: The following screen would appear.

Now click on create button to create parameter.

Save the interface.

Step4: Go to TYPES in the Global definitions to define the user define types as shown below.

Step5: In Global data

Create an internal table with the same structure defined earlier in TYPES definition as shown below.

Step6: In Code Initialization,

Save and activate the interface.

Step7: Now go back to the initial screen. Provide the form name and click on create button as shown below.

Provide the description for the form and interface name created as shown below.

Click on save button.
Step8: Now, the following screen will appear.

Step9: Here, we have to drag and drop the contents, to be displayed in the layout, from interface to context as shown below.

Step10: Here in the internal table PT_VBAP, we can de-activate the fields, which we don’t want to
display in the layout. We can do this as shown below.
Place the cursor on the field and give a right click. Now select Deactivate.

Then, the field will appear as shown below.

Step11: Now, go to layout. The following screen appears.

Step12: Now, Drag and drop the VBELN (Document Number) field to Master page.

Step13: Select the object VBELN. Go to palettes->object. You will get the following screen.

Select ‘None’ instead of ‘Sunken Box’.

Step14: Now, drag and drop the internal table PT_VBAP from Data View to body page

Step15: Now, go to hierarchy, place the cursor on bodypage1.
Go to palettes->Object
The following screen appears.

Select Flowed instead of Position.
Save and activate the form.
Step16: Execute the form, the output is

Leave a Comment