Ansicht
Dokumentation

ISPAM_VAR_LT_DEF - Define Display Variants for List Tool

ISPAM_VAR_LT_DEF - Define Display Variants for List Tool

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

In this step you can define display variants for the list tool.

IS-M/AM frequently uses the list tool to display tables on the screen in a predefined form. This allows additional editing to be performed from the table. You can define display variants that can then be accessed for a particular use of the list tool.

You use a display variant for the list tool to determine which entries in a table line are displayed in which position, and also how the entries in a table line are to be distributed over several screen lines if necessary. The entries in a table are accessed using the field names in the internal table.

You should firstly assign a name and an application indicator that determines for which application the variant is used to each display variant. Possible application indicators are created as fixed values.

In a second step you can then determine the position for any combination of name/application indicator/field name using:

  • The number of the line (if there are several screen lines per table line, otherwise this is always 1)

  • The position within a line (entries with the same line number are sorted in ascending order according to the position number)

  • The output length of the entry (if this field is blank, the field length is used)

  • An indicator which determines whether a header is to be displayed in the title line for this entry

  • An indicator which determines whether this entry should be totalled.

App Listidentif. Field name Line Position Length,H Total
1 2-LINE VTNR 1 1   X
1 2-LINE ABINHNR 1 2   X
1 2-LINE AB_ZIEL1 1 3 10 X X
1 2-LINE AB_WEINH 1 4  
1 2-LINE LFZBEG 2 1   X
1 2-LINE LFZEND 2 2   X

If these values are entered in a second step, the list tool displays four entries in a screen line (the last of these without a header) and two additional entries in an additional screen line by selecting the display variant 2-LINE in contract monitoring (App=1). The system uses the third entry in the first line (target sales volume) to perform totalling.

X

Available field names are summarized in a structure for each application that you can display in the Dictionary:

App List type Structure
1 Contracts RJHABS10_D
2 Possible contract customers RJHABS12_D
3 Contract settlements RJHABS11_D

Contract settlements

You can define a user-specific preassignment of the "Display variant" field for the report selection screen in contract monitoring, by assigning a value to the assigned Set-Get Parameter:






rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5412 Date: 20240523 Time: 174854     sap01-206 ( 57 ms )