Achieving Control Levels functionality in Adobe Forms

By Phani Diwakar Marepalli, YASH Technologies

In this document we discuss the how to achieve the control levels in the Adobe Form (both using Table and Subform).

Step1: Go to transaction SFP and create interface by providing interface name. 

 

A pop up window appears where we need to provide the description of the interface and save it. 

Step2: Define the user defined data types Types definition under Global Definitions as shown below.  

 

Step3: Define Global data under Global Definitions, 

Step4: In the code initialization, 

 

Save and activate the interface. Come back to the initial screen of adobe form. 

Step5: Now create the form as shown below. 

 

A pop up window would appear where we need to assign the interface name to form and also the description of the form. Press Save button. 

 

The following screen appears. 

 

In the above screen, we have internal table IT_VBAP under Global Data, which is under Interface.

Context area is a bridge between Interface and form. Whatever the information (data) we need to place in the form is to be placed in the context area. 

Step6: Now drag and drop this internal table IT_VBAP into context area. Then only we can use the internal table in the form. 

 

Provide the description of the internal table under properties tab below the context area. 

Step7: Now go to Control Levels tab as shown in above screenshot and provide the field name on which sort to be done. Control levels were introduced in SAP Net weaver 2004s. 

 

Now the internal table splits into two parts where sorted fields are in one part and remaining all fields are grouped under GROUP internal table. 

 

Step8: Drag the static text from the library into the form and provide the descriptions of the fields (Acts as a header).

And also drag the internal table into the form (Here I deleted the default heading). 

 

Save and activate the form. 

Step9: Execute the form. The output is as shown below:

We can also create the table using subforms if we need the output alignment differently.

In the above scenario, we directly drag and dropped the internal table into the form. But in this scenario, we use subforms to achieve the same. 

Step10: Now, create a subform as shown below.

 

 

Renamed it as ‘Body’. 

Step11: From the Data View, drag and drop the fields individually into the form as shown below. 

 

Step12:  Wrap the field ‘VBELN’ into the form as shown below. 

 

And similarly wrap the remaining two fields into another subform ‘DATA’ which intern wrap into the subform ‘Group’. The final view of the Hierarchy is as shown below. 

   

All the pink shades are subforms.                       

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image