|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Adobe Forms - Create table (using subform)
Go to transaction SFP to create adobe form. Provide the interface name and
click on create button.
Provide the short description and click on Save button.
The following screen will appear.
Now click on create button to enter the parameters.
Save the interface.
Go to TYPES in the Global definitions to define the user define types as shown below.
In Global data,
Create an internal table with the same structure defined
earlier in TYPES definition
types_vbap as shown below.
In Code Initialization,
Save and activate the interface.
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.
Now, the following screen will appear.
Here, we have to drag and drop the fields to be displayed in the layout, from
interface to context as shown below.
Here in the internal table PT_VBAP, we can de-activate the fields, which we
don’t 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.
Now, go to layout. The following screen appears.
Now, Drag and drop the VBELN (Document Number) to Master page and create text
fields as shown below.
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.
Now, from the Data View, drag and drop the fields in the internal table into the
sub form as shown.
Now, go to hierarchy, place the cursor on bodypage1.
Go to palettesàObject
The following screen appears.
Select Flowed instead of Positioned.
Save and activate the form.
Execute the form, the output would be similar to the following:
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards