CL_EXM_IM_N1_PG_LABEL_TIMEGRID - Example Implementation for BAdI Definition N1_PG_LABEL_TIM

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Functionality

This class contains a sample code for the Business Add-In (BAdI) N1_PG_LABEL_TIMEGRID.

A description of how to label the time grid of the planning grid (e.g. the number of appointments forplanning objects) or change the labels of the tab pages in the documentation of the interface method LABEL_TIMEGRID of BAdI N1_PG_LABEL_TIMEGRID.

For labeling tab pages the system uses utility methods to determine the label of the organizational units (OUs) and the planning objects (rooms and persons) as follows:

  1. The system determines the used OUs, planning objects, and dates from the transferred table IT_RES_DATE.
  2. The system determines the label of the OUs and the planning objects using the class CL_ISH_UTL_BASE_DESCR. The system determines the dates using the class CL_ISHMED_UTL_BASE.
    The system also adds the prefixes O for OUs, P for persons, R for rooms, and D for dates to the corresponding label.
  3. The system then determines the number of appointments for the individual planning objects.
  4. The system creates the labels for the tab pages, the columns, and subcolumns according to the displaymode (OU, date or planning object), whereby the number of appointments is attached for the subcolumns.
    For each entity you can also specify the font type , font size, font color, and determine whether the text should be displayed in bold or italics.
  5. Finally the system creates the new texts for the display of the title in the header of the time grid and the title in the day-based area. You can also change the font properties.

Relationships

Example

Notes

Further information



TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.


Length: 1835 Date: 20120526 Time: 121954     triton ( 87 ms )