Ansicht
Dokumentation
CATS0003 - CATS: Validate recorded data
BAL Application Log Documentation CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
You can use this SAP enhancement to validate any data already recorded. Validations are performed for one cell (an entry by one person on one day).
Example: You do not want user XYZ to record time data for receiver cost center 0000000666. The transfer structure used is the structure FIELDS. This structure contains all the account assignment fields relevant to you. If you want to return messages to the standard program, you will also need to use internal table I_MESSAGES. In this example, error message "001" is issued with message class "ZZ", message type "E", and parameter "XYZ". Making entries in table I_MESSAGES is equivalent to using the command "MESSAGE E001(ZZ) WITH 'XYZ'". However, to ensure that all the program flows can run, fill the internal table I_MESSAGES rather than use this command.
Example:
REFRESH I_MESSAGES.
IF FIELDS-RKOSTL = '0000000666' AND SY-UNAME = 'XYZ'.
I_MESSAGES-MSGTY = 'E'.
I_MESSAGES-MSGID = 'ZZ'.
I_MESSAGES-MSGNO = '001'.
I_MESSAGES-MSGV1 = 'XYZ'.
APPEND I_MESSAGES.
ENDIF.
Fill RESBD Structure from EBP Component Structure General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 1169 Date: 20240419 Time: 021334 sap01-206 ( 27 ms )