SAP CATS_CO_SET_TRANSFER_FLAG Function Module for NOTRANSL: CATS: Transfer-Flag nach Datenübernahme ins CO setzen
CATS_CO_SET_TRANSFER_FLAG is a standard cats co set transfer flag SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: CATS: Transfer-Flag nach Datenübernahme ins CO setzen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for cats co set transfer flag FM, simply by entering the name CATS_CO_SET_TRANSFER_FLAG into the relevant SAP transaction such as SE37 or SE38.
Function Group: CATSTOOLS
Program Name: SAPLCATSTOOLS
Main Program: SAPLCATSTOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function CATS_CO_SET_TRANSFER_FLAG pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CATS_CO_SET_TRANSFER_FLAG'"NOTRANSL: CATS: Transfer-Flag nach Datenübernahme ins CO setzen.
EXPORTING
* CATSCO_PERNR = "Personnel Number
* CATSCO_WORKDATE = "Date
* CATSCO_COUNTER = "Counter for Records in Time Recording
* CATSCO_STOKZ = "Indicator: Document was reversed
* CATSCO_BELNR = "Document no.
* CATSCO_TRANSFER = "Data Transferred to the Target Component
TABLES
* IT_CATSCO = "Structure for Call of CATS_CO_SET_TRANSFER_FLAG Funct.Module
IMPORTING Parameters details for CATS_CO_SET_TRANSFER_FLAG
CATSCO_PERNR - Personnel Number
Data type: CATSCO-PERNROptional: Yes
Call by Reference: No ( called with pass by value option)
CATSCO_WORKDATE - Date
Data type: CATSCO-WORKDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
CATSCO_COUNTER - Counter for Records in Time Recording
Data type: CATSCO-COUNTEROptional: Yes
Call by Reference: No ( called with pass by value option)
CATSCO_STOKZ - Indicator: Document was reversed
Data type: CATSCO-STOKZOptional: Yes
Call by Reference: No ( called with pass by value option)
CATSCO_BELNR - Document no.
Data type: CATSCO-BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
CATSCO_TRANSFER - Data Transferred to the Target Component
Data type: CATSCO-TRANSFEROptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CATS_CO_SET_TRANSFER_FLAG
IT_CATSCO - Structure for Call of CATS_CO_SET_TRANSFER_FLAG Funct.Module
Data type: CATSCO_TFLAGOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CATS_CO_SET_TRANSFER_FLAG Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_it_catsco | TYPE STANDARD TABLE OF CATSCO_TFLAG, " | |||
| lv_catsco_pernr | TYPE CATSCO-PERNR, " | |||
| lv_catsco_workdate | TYPE CATSCO-WORKDATE, " | |||
| lv_catsco_counter | TYPE CATSCO-COUNTER, " | |||
| lv_catsco_stokz | TYPE CATSCO-STOKZ, " | |||
| lv_catsco_belnr | TYPE CATSCO-BELNR, " | |||
| lv_catsco_transfer | TYPE CATSCO-TRANSFER. " |
|   CALL FUNCTION 'CATS_CO_SET_TRANSFER_FLAG' "NOTRANSL: CATS: Transfer-Flag nach Datenübernahme ins CO setzen |
| EXPORTING | ||
| CATSCO_PERNR | = lv_catsco_pernr | |
| CATSCO_WORKDATE | = lv_catsco_workdate | |
| CATSCO_COUNTER | = lv_catsco_counter | |
| CATSCO_STOKZ | = lv_catsco_stokz | |
| CATSCO_BELNR | = lv_catsco_belnr | |
| CATSCO_TRANSFER | = lv_catsco_transfer | |
| TABLES | ||
| IT_CATSCO | = lt_it_catsco | |
| . " CATS_CO_SET_TRANSFER_FLAG | ||
ABAP code using 7.40 inline data declarations to call FM CATS_CO_SET_TRANSFER_FLAG
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PERNR FROM CATSCO INTO @DATA(ld_catsco_pernr). | ||||
| "SELECT single WORKDATE FROM CATSCO INTO @DATA(ld_catsco_workdate). | ||||
| "SELECT single COUNTER FROM CATSCO INTO @DATA(ld_catsco_counter). | ||||
| "SELECT single STOKZ FROM CATSCO INTO @DATA(ld_catsco_stokz). | ||||
| "SELECT single BELNR FROM CATSCO INTO @DATA(ld_catsco_belnr). | ||||
| "SELECT single TRANSFER FROM CATSCO INTO @DATA(ld_catsco_transfer). | ||||
Search for further information about these or an SAP related objects