We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

EXIT_RMCSTEXT_001 -

EXIT_RMCSTEXT_001 -

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Customer Exit for Determining Characteristic Texts in LIS Standard Analyses

Description

When a standard analysis is called up in Logistics Controlling (Inventory Controlling, Purchasing Information System, Sales Information System...) the texts for a characteristic value are determined in the runtime. It is here that the domain is set for one field of the information structure which is analyzed by the standard analysis. With this domain the text is read for the corresponding characteristic value in routine TEXT_SEARCH_DOM of program RMCSTEXT. An expansion of the RMCSTEXT is found in this routine. If no text can be determined for the characteristic value in the routine TEXT_SEARCH_DOM for example, because you have included the field in an LIS communications structure, the exit will be called up. In this case, you can, for example, check a separate table to determine the text.

Parameters

The customer exit has the following parameters:

  1. Import Parameters
    1. I_DOMNAME: Domain, serve as identification (for example 'Plants' for plant
    2. I_ROLLNAME: Data element (additional information for the field)
    3. I_FIELDVALUE: Value of the characteristic (for example, '0001' for plant 0001)
    4. I_LANGUAGE: Language key
    5. I_TABIX_MAX: The parameter I_TABIX_MAX gives the item at which the current characteristic is located in the drill-down table (T_DRILLDOWN).This characteristic can be used to determine the texts of characteristics that are hierarchically related to other fields in the information structure.

Example: An information structure contains the characteristics plant and storage location. The text for storage location can only be usefully determined if the plant is already known. This is the case after the user has drilled down according to plant and before the drill-down according to storage location is carried out. You can recognize this in that I_TABIX_MAX is larger than the item for plant in the drill-down table T_DRILLDOWN.

  1. Export Parameters
    1. E_TEXT_SHORT: Text which is displayed in the standard analysis
    2. E_FLG_HIER: With this flag you indicate whether you have determined the text for a characteristic which stands in a hierarchial relationshipto another characteristic in the information structure. In this case, you set the indicator to 'X'.

Example: Storage location texts can only be determined with reference to the plant, and the indicator E_FLG_HIER therefore must be set to 'X' for this purpose.

  1. Table Parameters
    1. T_DRILLDOWN: The drill-down that has been used until now. The domain of the characteristics which have been used for drilling down are found in the field DOMNAME, and the characteristic value that is assigned to it in the field OBJEKT. With the help of this table, texts can be determined which are dependent upon several characteristics with regard to content. The prerequisite is that a drill-down has already been performed according to these characteristics. Example: In order to determine text for the storage location it is necessary to know the plant. If you have drilled-down according to plant, the table T_DRILLDOWN can be viewed, to which the storage locations are assigned.
  2. Exceptions
    1. NO_TEXT_FOUND: Must be set if it is not possible to determine a text.





    ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
    This documentation is copyright by SAP AG.

    Length: 3743 Date: 20200920 Time: 085016     sap01-206 ( 114 ms )