Rational Programming Patterns

Adding Data Elements to a Table

In the -CE Lines (call of elements) tab, add Data Element calls and other lines such as group Data Elements in a Table instance. You can easily change the order of the call lines, create new call lines in the table, and modify the values for each element.

Procedure

  1. Adding a Data Element call:
    1. If the table is empty, click Add Data Element or select this action in the contextual menu of the table. If the table is not empty, set your cursor where you want to insert a Data Element call line. The Data Element entry is sequential. To create a first Data Element line in a defined group, click the group line. You can also click in the group where the Data Element call line must be added. Then, click Add Data Element.
    2. The dialog box that opens displays the list of the available Data Elements. If the list is large, you can reduce it by entering a string that is used as filter (the filtering is performed on the code or on the label of the instance). Select an instance and press OK.

      You can also create a Data Element. To open the creation wizard, click New Data Element . When the Data Element is created, it is added to the list of Data Elements in the primary window. Select it and press OK.

      The new Data Element call is added to the table.

  2. Adding an undefined Data Element call:

    You can create call lines for Data Elements that are not defined in the location, only if they do not have a real functional meaning (such as group Data Elements or fillers). The name and format, or only the format of undefined Data Elements must be indicated at the Segment or Table level.

    1. If the table is empty, click Add Undefined Data. Otherwise, set your cursor where you want to insert a new Data Element call line.
    2. A Data Element line is inserted in the table. The Data Element icon with the Error symbol warns you that the Data Element must be defined. The Data Element definition must be completed in the Undefined Data Element section or directly in the dedicated column cells in the table to resolve the error. You must give at least a name, label, and internal format to define a Data Element at the Segment or Table level.
  3. Adding a group call:

    You can call a group of elementary Data Elements. There can be up to 99 elementary Data Elements, on nine different levels maximum. A group can include other groups. A group can also include one or more Segments. Each Segment call is then considered as an elementary Data Element.

    1. If the table is empty, click Add group or select this action in the contextual menu of the table. If it is not empty, set your cursor where you want to insert a new Data Element call line.
    2. A group is added to the table. Complete the editable column cells or the input fields in the Group Definition section.
  4. The following actions can be performed too in the call lines:
    1. To remove a call line from the table, select it and click Remove. A group is removed with all its subelements.
    2. To change the order in the table, click the line and move it by clicking the direction button.
    3. You can copy one or more lines and paste them after the selection. Right-click the selection to display the menu. Only elements or groups with the same level of indentation can be copied and pasted.
    4. You can create Sets of Redefines for a Data Element call for example. To do so, click a Data Element to be redefined and select the Redefines option in the Data Element call section. A Set of Redefines line is created. It contains the redefined Data Element and the preceding Data Element with the same level in the tree structure. You must then define the Occurs option in the Set of Redefines section that is displayed when you click the Set of Redefines line call.

What to do next

After you have added element calls or modified the element calls in the table, you must enter their characteristics and the attributes of the associated Logical View. It can be done directly in the column cells of the table or in the section that is dedicated to each entity call type. You can perform the following actions:
Note: You can click the following menus in all sections to access more specifications:

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)