Show TOC

LIS: Flexible Analyses: Changed text determination for characteristics (program RMCSTEXT).

Description

Beginning with Release 3.0, the domains as used in the flexible analyses will be taken into account for text determination. For that reason, the program RMCSTEXT was changed to read:
The routine 'text_search' now refers to the routine 'text_search_dom', which has already been in use since Release 2.2 by the standard analyses. The advantage is twofold: first, the texts that are assigned to the same domains but different fields will automatically be found, and secondly, modifications can be avoided when preparing a Customer Exit.

Dependent functions

If modifications were done in the program RMCSTEXT, which affect the flexible analyses, they must now be integrated into the "Customer Exit". This is discussed in the SAP enhancement RMCSTEXT. But the drill-down- dependent text determination in the flexible analyses cannot be used as it is in the standard analyses.

This limitation is obvious when it appears in the Customer Exit in that the following parameters cannot be used in the flexible analyses:

I_TABIX_MAX
E_FLG_HIER
T_DRILLDOWN

To start the Customer Exit, proceed as follows: Create a project for the SAP enhancement 'RMCSTEXT' by using the project management in SAP enhancements (transaction code 'CMOD'). Then process the components 'EXIT_RMCSTEXT_001', in that you create or process the Include file 'ZXMC0U01'.

Example for the contents of the Include file 'ZXMC0U01':

CASE I_DOMNAME.
WHEN 'PRODH'. "Domain name for the evaluation structure field
* Produkthierarchie
SELECT SINGLE * FROM T179T WHERE SPRAS = I_LANGUAGE
AND PRODH = I_FIELDVALUE.
E_TEXT_SHORT = T179T-VTEXT.
WHEN ...
.
.
.
WHEN OTHERS. "No text can be determined.
NO_TEXT_FOUND = 'X'.
ENDCASE.