Ansicht
Dokumentation
APOCDPS3 - Determining Color Type and Form Type in the Planning Board
Addresses (Business Address Services) BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Choosing the display of rows in the table section of the DS planning board
By default, the system uses the decision table in the planning board profile to select the format for table rows for a chart in the detailed scheduling planning board (DS planning board). The system can use customer exit APOCDPS3 to select the row formats according to a user-defined logic - independent of the decision table. The system calls the customer exit instead of the decision table if it has to determine a row format for a row in a chart. The customer exit can choose from the row formats for the chart (standard row format and user-defined row format 1 to 6).
Import parameters
- I_CHART
- Number of the current chart
- I_OBJECT
- Type of table area for the objects displayed in the chart:
- 1 for resources
- 2 for products
- 3 for orders
- 4 for operations
- Internal keys for the objects for which a row format is being chosen:
- I_GUID for a resource, a product or an order
- I_ORDERID and I_OPRCOUNTER for an operation
- I_OPR_KEY_TAB
- Table with the internal keys for operations in the DS planning board
Export parameters
- E_RETVAL
- Return values of the customer exit:
- With value 1, you specify that after leaving the customer exit, the system should evaluate the decision table to find a row format.
- With value 2, you specify that the system should not evaluate the decision table.
- E_FORM_TYPE
- Form type that the system should use to display the table rows
- The form type is used to specify the alignment of the row text in relation to the field limits (for example, left, centered).
- E_FARB_TYPE
- Color type that the system should use to display the table rows
- The color type is used to specify the text charcteristics, such as font size and color.
The color and form types must be configured according to the following pattern:
- 1. figure: Number of the current chart
- 2. figure: Reference to one of the row formats that are defined in the planning board profile for the current chart
If the form type is empty, that is, if it does not contain a chart number or a reference to a row format, the complete row is not displayed. (This corresponds to value N for the then part of a decision step in the decision table.)
Example
In the planning board profile, you have defined the following row format for chart 1:
- Standard rows
- Text: Helvetica, size 12, bold, blue,
- Alignment: left, centered
- Row format 1
- Text: Helvetica, size 10, italics, red
- Alignment: right, top
Depending on the return value E_RETVAL, that the customer exit returns, the system determines the row format as follows:
- E_RETVAL = 1
- The system evaluates the decision table for the current chart.
- E_RETVAL = 2
- Here, the system displays the row depending on the form type, as follows:
- Form type =
- The system does not display the row.
- Form type = 1Z and color type = 11
- The system displays the row as follows:
- Text: Helvetica, size 10, red, italics
- Alignment: left, centered
PERFORM Short Reference General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 5009 Date: 20240419 Time: 032633 sap01-206 ( 49 ms )