Documentation View

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

CATS0003 - CATS: Validate recorded data

CATS0003 - CATS: Validate recorded data

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

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.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1169 Date: 20211201 Time: 063655     sap01-206 ( 32 ms )