Вы находитесь на странице: 1из 13

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 roviding interface name.

A o u window aears where we need to rovide the descrition of the interface and save it.
Step2: !efine the user defined data tyes Types definition under Global Definitions as shown
below.

Step3: !efine Global data under Global Definitions"
Step4: In the code initiali#ation"

Save and activate the interface. $ome bac% to the initial screen of adobe form.
Step5: &ow create the form as shown below.

A o u window would aear where we need to assign the interface name to form and also the
descrition of the form. Press Save button.

The following screen aears.

In the above screen" we have internal table IT'()AP under Global Data" which is
under Interface.
$onte*t area is a bridge between Interface and form. +hatever the information (data) we need to
lace in the form is to be laced in the conte*t area.
Step6: &ow drag and dro this internal table IT_V!" into conte#t area. Then only we can use
the internal table in the form.

Provide the descrition of the internal table under properties tab below the conte*t area.
Ste,- &ow go to $ontrol %evels tab as shown in above screenshot and rovide the field name
on which sort to be done& $ontrol levels 'ere introd(ced in S!" )et 'eaver 2**4s&

&ow the internal table slits into two arts where sorted fields are in one art and remaining all
fields are groued under G+,-" internal table.

Step.: !rag the static te*t from the library into the form and rovide the descritions of the fields
(Acts as a header).
And also drag the internal table into the form (.ere I deleted the default heading).

Save and activate the form.
Step/: /*ecute the form. The outut is as shown below-
+e can also create the table using subforms if we need the outut alignment differently.
In the above scenario" we directly drag and droed the internal table into the form. )ut in this
scenario" we use subforms to achieve the same.
Step1*: &ow" create a subform as shown below.


0enamed it as 1ody2.
Step11: From the !ata (iew" drag and dro the fields individually into the form as shown below.

Step12: +ra the field 1()/3&2 into the form as shown below.

And similarly wra the remaining two fields into another subform 1D!T!2 which intern wra into
the subform 1Gro(p2. The final view of the 0ierarc1y is as shown below.

All the in% shades are subforms.
Step13: Place the cursor on sub form ody and
Go to alettes44 5b6ect. There select 1S(bfor22 tab.
.ere" Initially $ontent is 1"osition2.
$hange the $ontent field in the all sub forms 1)ody" (beln" !ata2 from 1"osition2 to 3lo'ed under
subform tab as shown below.

&ow" select the 1indin42 tab.
.ere" !efault binding is 1)or2al2 for sub form ody
)ut select the !efault binding as shown.

&ow" default binding for subform ody becomes as shown below-

And the binding of subform 1Vbeln2 is


The binding of the sub form 1Gro(p2 is

The binding of the sub form 1Data2 is

The binding of field 1V5%)2 is

The binding of field 1",S)+2 is

Step14: The final layout loo%s as shown below

Step15: /*ecute the form" the outut is


7ou can observe that there is no age header when there is a age overflow.
&ow let us e*tend the scenario to have the age header whenever there is a age overflow.
Step16: +e can achieve this as shown below.
Place the cursor on the subform 1ody6&
Go to Palettes45b6ect.
.ere" in the "a4ination tab under ,b7ect8 select ,verflo' leader as 10eader2 subform.

Activate the form.
Step19: /*ecute the form and the outut of the second age is as shown below.

Вам также может понравиться