Insertion relative to the automatic functions of a standard or client Dialog

You must enter information to insert the created subfunction relatively to the automatic functions and subfunctions of the model. This information varies according to the automatic function.

Data Element code
This field is specific to function 20. This function contains a subfunction for each Data Element of the Screen to be checked. Click the button that is associated with the Data Element code field and select a Data Element.

For an insertion in a Macro, this piece of information is identified in the Macro code by REF=DELCO (where DELCO is the selected Data Element).

For an insertion in a Screen, the list is constituted of the Data Elements that are called in the Screen -CE Lines. In the Screen code, this piece of information is identified as F20C-DELCO. In this line, F20 is the automatic function code. C is the category of the Data Element call in the Screen -CE Lines (A for the header, R for the repetitive part, or Z for the screen bottom). DELCO is the selected Data Element.

Segment code
This field is specific to functions 25, 35, and 60, which contain a subfunction for each Segment accessed. The subfunction that contains the specific processing is then identified by the Segment code that it processes. This code must be complemented with the category if the same Segment is used in several categories. Click the button that is associated with the Segment code field and select a Segment.
Note: Function 80, which contains a subfunction for each access type to each Segment, cannot be accessed from this wizard page. It is common to Screens and Business Components. To insert a specific processing in this function, create a subfunction in function 80 without selecting any model for the insertion.

For an insertion in a Macro, this piece of information is identified in the Macro code as REF=SEGM, where SEGM is the code of the selected Segment.

For an insertion in a Screen, the list is constituted of the Segments that are called in the Screen -CS Lines. The use of the selected Segment must correspond to the automatic function you selected on the first page of the wizard. For example, you can insert a specific subfunction in the 25 automatic function only if a Segment is used in reception in the Screen.

Category
This field is specific to the following functions:
  • In functions 25, 35, and 60, if the Segment is called in several categories, you must differentiate the calls by specifying the category.
  • In functions 30 and 65, a subfunction exists for each access to a category. The subfunction where the specific processing is to be inserted is identified by the category code.
You must select one of the following values:
  • A for the header category
  • R for the repetitive category
  • Z for the screen bottom category

In the Macro code, this information is identified as REF=SEGM CAT, where SEGM is the code of the selected Segment and CAT is the category.

For an insertion in a Screen, you must select the same category as the category that is indicated for the Segment in the Screen -CS Lines.

Action type
In this field, you specify how the new subfunction is to be inserted relatively to the automatic subfunctions in functions 25, 35, and 60. You must select one of the following values:
  • Insert before. The subfunction is inserted before the automatic subfunction that is identified by the Data Element or Segment it processes.

    In the Macro code, this insertion type is identified by ACTION=*A. In the Screen code, it is identified by *@BEFORE.

  • Insert after. The subfunction is inserted after the automatic subfunction that is identified by the Data Element or Segment it processes.

    In the Macro code, this insertion type is identified by ACTION=*P. In the Screen code, it is identified by *@AFTER.

    Note: The condition of an automatic subfunction automatically applies to the inserted subfunction if the level of the inserted subfunction is greater than the level of the automatic subfunction.
  • Replace. The subfunction replaces the automatic subfunction that is identified by the Data Element or Segment it processes.

    In the Macro code, this insertion type is identified by ACTION=*R. In the Screen code, it is identified by *@REPLACE.

    Note: The condition of an automatic subfunction does not apply to the replaced subfunction.

Feedback