0% found this document useful (0 votes)
803 views

Adobe Forms - Create Table (Using Subform)

The document provides steps to create an Adobe form with a table using a subform in SAP. It involves defining types and an internal table in global definitions, creating the form and interface, dragging fields to the layout, deactivating unneeded fields, adding a document number field to the master page, creating a subform on the body page, and dragging table fields into it. The form is then executed to display the table with document number.

Uploaded by

Naresh Vepuri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
803 views

Adobe Forms - Create Table (Using Subform)

The document provides steps to create an Adobe form with a table using a subform in SAP. It involves defining types and an internal table in global definitions, creating the form and interface, dragging fields to the layout, deactivating unneeded fields, adding a document number field to the master page, creating a subform on the body page, and dragging table fields into it. The form is then executed to display the table with document number.

Uploaded by

Naresh Vepuri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

Adobe Forms - Create table (using subform)

By Venkat

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

Step2: Provide the short description and click on Save button.

Step3: The following screen will appear.

Now click on create button to enter the parameters.

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 types_vbap 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 fields 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 dont require to display in the layout. We can do this as shown below. Place the cursor on the field, right click and 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) to Master page and create text fields as shown below.

Step13: Now, create sub form in HIERARCHY as shown below in the body page.

Place the cursor on bodypage1 and right click on it. Now select Insert Subform to create the sub form in the body page.

Step14: Now, from the Data View, drag and drop the fields in the internal table into the sub form as shown.

Step15: Now, go to hierarchy, place the cursor on bodypage1. Go to palettesObject The following screen appears.

Select Flowed instead of Positioned. Save and activate the form. Step16: Execute the form, the output would be similar to the following:

You might also like