SAP CATT_PROCESS_GET Function Module for









CATT_PROCESS_GET is a standard catt process get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 catt process get FM, simply by entering the name CATT_PROCESS_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: KKC2
Program Name: SAPLKKC2
Main Program: SAPLKKC2
Appliation area: K
Release date: 01-Jan-1970
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CATT_PROCESS_GET 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 'CATT_PROCESS_GET'"
EXPORTING
PROCESS = "Character field 13 digits
* VARIANTE = "Character Field of Length 10
ID_ITEM = "Output Length

IMPORTING
PRE_ITEM = "Tst.Case
ACT_ITEM = "Tst.Case
ID_DATAGRP = "
RCODE = "Return Value, Return Value after ABAP Statements
PRE_VARIANTE = "Layout
ACT_VARIANTE = "Layout
ACT_ID_ITEM = "Output Length
PRE_ID_ITEM = "Output Length
.



IMPORTING Parameters details for CATT_PROCESS_GET

PROCESS - Character field 13 digits

Data type: TITEMS-PROCESS
Optional: No
Call by Reference: No ( called with pass by value option)

VARIANTE - Character Field of Length 10

Data type: TPROCESSES-VARIANTE
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_ITEM - Output Length

Data type: TCWB_ITEM_POOL-ID_ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CATT_PROCESS_GET

PRE_ITEM - Tst.Case

Data type: TITEMS-ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_ITEM - Tst.Case

Data type: TITEMS-ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

ID_DATAGRP -

Data type: TITEMS-ID_DATAGRP
Optional: No
Call by Reference: No ( called with pass by value option)

RCODE - Return Value, Return Value after ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

PRE_VARIANTE - Layout

Data type: CATDO-VARIANTE
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_VARIANTE - Layout

Data type: CATDO-VARIANTE
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_ID_ITEM - Output Length

Data type: TCWB_ITEM_POOL-ID_ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

PRE_ID_ITEM - Output Length

Data type: TCWB_ITEM_POOL-ID_ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CATT_PROCESS_GET 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:
lv_process  TYPE TITEMS-PROCESS, "   
lv_pre_item  TYPE TITEMS-ITEM, "   
lv_act_item  TYPE TITEMS-ITEM, "   
lv_variante  TYPE TPROCESSES-VARIANTE, "   
lv_id_item  TYPE TCWB_ITEM_POOL-ID_ITEM, "   
lv_id_datagrp  TYPE TITEMS-ID_DATAGRP, "   
lv_rcode  TYPE SY-SUBRC, "   
lv_pre_variante  TYPE CATDO-VARIANTE, "   
lv_act_variante  TYPE CATDO-VARIANTE, "   
lv_act_id_item  TYPE TCWB_ITEM_POOL-ID_ITEM, "   
lv_pre_id_item  TYPE TCWB_ITEM_POOL-ID_ITEM. "   

  CALL FUNCTION 'CATT_PROCESS_GET'  "
    EXPORTING
         PROCESS = lv_process
         VARIANTE = lv_variante
         ID_ITEM = lv_id_item
    IMPORTING
         PRE_ITEM = lv_pre_item
         ACT_ITEM = lv_act_item
         ID_DATAGRP = lv_id_datagrp
         RCODE = lv_rcode
         PRE_VARIANTE = lv_pre_variante
         ACT_VARIANTE = lv_act_variante
         ACT_ID_ITEM = lv_act_id_item
         PRE_ID_ITEM = lv_pre_id_item
. " CATT_PROCESS_GET




ABAP code using 7.40 inline data declarations to call FM CATT_PROCESS_GET

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 PROCESS FROM TITEMS INTO @DATA(ld_process).
 
"SELECT single ITEM FROM TITEMS INTO @DATA(ld_pre_item).
 
"SELECT single ITEM FROM TITEMS INTO @DATA(ld_act_item).
 
"SELECT single VARIANTE FROM TPROCESSES INTO @DATA(ld_variante).
 
"SELECT single ID_ITEM FROM TCWB_ITEM_POOL INTO @DATA(ld_id_item).
 
"SELECT single ID_DATAGRP FROM TITEMS INTO @DATA(ld_id_datagrp).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_rcode).
 
"SELECT single VARIANTE FROM CATDO INTO @DATA(ld_pre_variante).
 
"SELECT single VARIANTE FROM CATDO INTO @DATA(ld_act_variante).
 
"SELECT single ID_ITEM FROM TCWB_ITEM_POOL INTO @DATA(ld_act_id_item).
 
"SELECT single ID_ITEM FROM TCWB_ITEM_POOL INTO @DATA(ld_pre_id_item).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!