SAP CATT_COPA_CHECK_ITEM_SUM Function Module for









CATT_COPA_CHECK_ITEM_SUM is a standard catt copa check item sum 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 copa check item sum FM, simply by entering the name CATT_COPA_CHECK_ITEM_SUM into the relevant SAP transaction such as SE37 or SE38.

Function Group: CATC
Program Name: SAPLCATC
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CATT_COPA_CHECK_ITEM_SUM 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_COPA_CHECK_ITEM_SUM'"
EXPORTING
PLAN_IST_FLAG = "
JAHRPERIODE_VON = "
JAHRPERIODE_BIS = "
* VERSION = "
ZIEL_WERTFELD = "
MENGE_SUMME = "
BETRAG_SUMME = "
KUNDE_ANFANG = "
KUNDE_ENDE = "
ARTIKEL_ANFANG = "
ARTIKEL_ENDE = "
VORGANGSART = "

IMPORTING
CHECK_OK = "

EXCEPTIONS
READ_ERROR = 1 UNKNOWN_VALUEFIELD = 2 NO_OBJECT_FOUND = 3 UNKNOWN_FLAG = 4
.



IMPORTING Parameters details for CATT_COPA_CHECK_ITEM_SUM

PLAN_IST_FLAG -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

JAHRPERIODE_VON -

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

JAHRPERIODE_BIS -

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

VERSION -

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

ZIEL_WERTFELD -

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

MENGE_SUMME -

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

BETRAG_SUMME -

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

KUNDE_ANFANG -

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

KUNDE_ENDE -

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

ARTIKEL_ANFANG -

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

ARTIKEL_ENDE -

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

VORGANGSART -

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

EXPORTING Parameters details for CATT_COPA_CHECK_ITEM_SUM

CHECK_OK -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

READ_ERROR -

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

UNKNOWN_VALUEFIELD -

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

NO_OBJECT_FOUND -

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

UNKNOWN_FLAG -

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

Copy and paste ABAP code example for CATT_COPA_CHECK_ITEM_SUM 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_check_ok  TYPE C, "   
lv_read_error  TYPE C, "   
lv_plan_ist_flag  TYPE C, "   
lv_jahrperiode_von  TYPE CE0S001-PERIO, "   
lv_jahrperiode_bis  TYPE CE0S001-PERIO, "   
lv_version  TYPE CE0S001-VERSI, "   
lv_ziel_wertfeld  TYPE DD03P-FIELDNAME, "   
lv_unknown_valuefield  TYPE DD03P, "   
lv_menge_summe  TYPE CE0S001-ABSMG, "   
lv_no_object_found  TYPE CE0S001, "   
lv_betrag_summe  TYPE CE0S001-ERLOS, "   
lv_unknown_flag  TYPE CE0S001, "   
lv_kunde_anfang  TYPE CEDST-LOW, "   
lv_kunde_ende  TYPE CEDST-HIGH, "   
lv_artikel_anfang  TYPE CEDST-LOW, "   
lv_artikel_ende  TYPE CEDST-HIGH, "   
lv_vorgangsart  TYPE CE0S001-VRGAR. "   

  CALL FUNCTION 'CATT_COPA_CHECK_ITEM_SUM'  "
    EXPORTING
         PLAN_IST_FLAG = lv_plan_ist_flag
         JAHRPERIODE_VON = lv_jahrperiode_von
         JAHRPERIODE_BIS = lv_jahrperiode_bis
         VERSION = lv_version
         ZIEL_WERTFELD = lv_ziel_wertfeld
         MENGE_SUMME = lv_menge_summe
         BETRAG_SUMME = lv_betrag_summe
         KUNDE_ANFANG = lv_kunde_anfang
         KUNDE_ENDE = lv_kunde_ende
         ARTIKEL_ANFANG = lv_artikel_anfang
         ARTIKEL_ENDE = lv_artikel_ende
         VORGANGSART = lv_vorgangsart
    IMPORTING
         CHECK_OK = lv_check_ok
    EXCEPTIONS
        READ_ERROR = 1
        UNKNOWN_VALUEFIELD = 2
        NO_OBJECT_FOUND = 3
        UNKNOWN_FLAG = 4
. " CATT_COPA_CHECK_ITEM_SUM




ABAP code using 7.40 inline data declarations to call FM CATT_COPA_CHECK_ITEM_SUM

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 PERIO FROM CE0S001 INTO @DATA(ld_jahrperiode_von).
 
"SELECT single PERIO FROM CE0S001 INTO @DATA(ld_jahrperiode_bis).
 
"SELECT single VERSI FROM CE0S001 INTO @DATA(ld_version).
 
"SELECT single FIELDNAME FROM DD03P INTO @DATA(ld_ziel_wertfeld).
 
 
"SELECT single ABSMG FROM CE0S001 INTO @DATA(ld_menge_summe).
 
 
"SELECT single ERLOS FROM CE0S001 INTO @DATA(ld_betrag_summe).
 
 
"SELECT single LOW FROM CEDST INTO @DATA(ld_kunde_anfang).
 
"SELECT single HIGH FROM CEDST INTO @DATA(ld_kunde_ende).
 
"SELECT single LOW FROM CEDST INTO @DATA(ld_artikel_anfang).
 
"SELECT single HIGH FROM CEDST INTO @DATA(ld_artikel_ende).
 
"SELECT single VRGAR FROM CE0S001 INTO @DATA(ld_vorgangsart).
 


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!