SAP® Documentation

Single view

CATS0002 - CATS: Supplement recorded data

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this SAP enhancement to supplement the data entered using the Time Sheet.

The internal table ENRICH_TABLE is used to communicate with the SAP System. When the enhancement is called, the table contains one data record. You can then change the contents of the record and use the internal table ENRICH_TABLE to return it to the standard program.

Example: You want to replace the receiver cost center "0000000666", recorded on January 3, 1997, with the cost center that is currently valid (cost center "0000003200").


LOOP AT ENRICH_TABLE.
IF ENRICH_TABLE-RKOSTL = '0000000666'
AND ENRICH_TABLE-WORKDATE = '19970103'.
ENRICH_TABLE-RKOSTL = '0000003200'.
MODIFY ENRICH_TABLE.
ENDIF.
ENDLOOP.

You can also return more than one data record. The system then inserts another line for the new record.






PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1020 Date: 20191022 Time: 220858     sap01-206 ( 29 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.