You create 1:1 levels to add to the data list for a form level.
The data must be in a 1:1 relationship to the data of the relevant form level.
1. Place the cursor on a form level or a 1:1 level if the new 1:1 level is dependent on another 1:1 level. To do this, choose Edit ® Create ® Lower Level or Edit ® Create ® Same Level.
2. Assign a new maximum ten character name for the new 1:1 level. The name of the form level is binding and unique within a form class and should be fitting. Choose 1:1 level as node type and specify the output structure. The output structure must be a DDIC table or structure. Specify a name for the 1:1 level.
3. Choose Continue.
The new 1:1 level is inserted into the hierarchy at the relevant point. Create the related READ and FILL subprograms by selecting the symbols R and F in the hierarchy. If the form class library has not been created yet, the Print Workbench creates the program automatically. In the READ or FILL subprograms, implement the coding for procuring the relevant data for the 1:1 level. In the READ subprogram you can first read all the relevant data and can only fill the relevant subareas in the required internal table in the FILL subprogram. Alternatively, you can procure all the relevant data in the FILL subprogram. Note that you can call the FILL subprograms more than once and should therefore buffer so that you do not affect performance.
You have created a 1:1 level and implemented the relevant data procurement in the relevant subprograms of the form class library. You can now include the 1:1 level in an application form and test that the subprograms work correctly.