7
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.

Adobe Forms - Create Table (Using Subform)

Embed Size (px)

DESCRIPTION

Adobe Forms - Create table (using subform)

Citation preview

Adobe Forms - Create table (using subform)By VenkatStep1:Go to transaction SFP tocreate 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 toTYPESin theGlobal definitionsto define the user define types as shown below.

Step5:InGlobal data,

Create an internal table with the same structure defined earlier inTYPESdefinition 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 selectDeactivate.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 inHIERARCHYas 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 palettesObjectThe 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: