Escolar Documentos
Profissional Documentos
Cultura Documentos
From
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step1: Go to SFP transaction and create interface for the Adobe form.
Step 2: Create Global Types as shown below by clicking on Types, here we are creating a
Nested Table type which consists of 2 Individual fields (carrid, carrname) and an Internal
Table(spfli).
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step 3: Create Global Work Areas and Internal Tables as shown below.
Step 4: Code for fetching the data is written in the code initialization part of interface.
In code initialization the variables whose values are being passed to the code to fetch the
details of the output should be declared in the Input parameters and the variables to which
the results are assigned needs to be declared in the Output parameters.
Input Parameters:
WA_SCARR
IT_SCARR
WA_SPFLI
IT_SPFLI
WA_FLIGHT
Output Parameters:
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
IT_FLIGHT
Step 5: Write the below code in code initialization part. Check for errors and activate the
interface.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
CLEAR wa_flight.
ENDLOOP.
Step 6: After the interface part is done, create Form by going to SFP
transaction.
Step 7: In the creation of the Form, we need to give the name of the interface for
which we are creating the Form. This is the additional functionality in Adobe
forms. One interface can be used for many Forms if it is suitable.
Step 8: In the Context tab of the Form we will find two sections Interface and
Context.
In Interface we will find the data that was created in the interface. We need to
drag the elements that need to be displayed in output into the content area.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Then Right-Click on the Content Area and click on Insert SubForm and Resize it
accordingly.
After that Click on Master Pages and then Drag and Drop a Text and Enter any
suitable Text.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Then Right-Click on data and create one more Sub Form and align it as shown
below.
Step 9: Click on Subform and then in Right-click on the Subform and then in Palettes click on
Object and then under Objects Tab click on Subform and make the Content as Flowed as shown
below.
Then Create one more Subform and Rename it as Table and then Right-click on this Form and in
Palettes click on Accessibility make the Subform role as Table and make its Subform content as
Flowed as in above case.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step 10: Then Insert two Sub Forms in the Table Sub Form, rename it as Header and Body,
make sure to make them as Flowed too, and make the Accessibility of the two Subforms as
Header Row and Body Row respectively.
Then Insert a Static Text in Header and insert the Field names as shown below.
Step 11: Then under Data View, individually Drag and Drop the Fields from the table it_flight in
Body Sub Form.
CARRNAME,
SPFLI.
Step 12: Then under Hierarchy tab Select the 3 Fields (i.e. Carrid, Carrname, and SPFLI) and
then drag drop them in Body Sub Form as shown below.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Then make the Body Sub Form as Flowed as well as make its Flow Direction as Western Text as
shown below.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step 14: Under the Pagination Tab of Body Subform in Overflow choose the Go To Content
Area value as ContentArea1.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step 15: Change the Binding of the Body Subform as shown below.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Change binding for CONNID and fields related to SPFLI as shown below.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Nested tables in SAP Adobe Forms
Step 17:
Step 18:
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com