SAP CATT_COPA_MODIFY_PLAN_LEVEL Function Module for









CATT_COPA_MODIFY_PLAN_LEVEL is a standard catt copa modify plan level 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 modify plan level FM, simply by entering the name CATT_COPA_MODIFY_PLAN_LEVEL into the relevant SAP transaction such as SE37 or SE38.

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



Function CATT_COPA_MODIFY_PLAN_LEVEL 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_MODIFY_PLAN_LEVEL'"
EXPORTING
I_APPLCLASS = "
I_SUBCLASS = "
I_TABNAME = "
I_PLLEV = "
I_FIELDNAME = "
* I_SIGN = "
* I_OPT = "
* I_LOW = "
* I_HIGH = "

EXCEPTIONS
KEY_EXISTING = 1 NOT_CATT = 2 INPUT_INCORRECT = 3
.



IMPORTING Parameters details for CATT_COPA_MODIFY_PLAN_LEVEL

I_APPLCLASS -

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

I_SUBCLASS -

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

I_TABNAME -

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

I_PLLEV -

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

I_FIELDNAME -

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

I_SIGN -

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

I_OPT -

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

I_LOW -

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

I_HIGH -

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

EXCEPTIONS details

KEY_EXISTING -

Data type:
Optional: No
Call by Reference: Yes

NOT_CATT -

Data type:
Optional: No
Call by Reference: Yes

INPUT_INCORRECT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CATT_COPA_MODIFY_PLAN_LEVEL 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_i_applclass  TYPE TKEPPLLEVC-APPLCLASS, "   
lv_key_existing  TYPE TKEPPLLEVC, "   
lv_not_catt  TYPE TKEPPLLEVC, "   
lv_i_subclass  TYPE TKEPPLLEVC-SUBCLASS, "   
lv_i_tabname  TYPE TKEPPLLEVC-TABNAME, "   
lv_input_incorrect  TYPE TKEPPLLEVC, "   
lv_i_pllev  TYPE TKEPPLLEVC-PLLEV, "   
lv_i_fieldname  TYPE TKEPPLLEVC-FIELDNAME, "   
lv_i_sign  TYPE TKEPPLLEVS-SIGN, "   
lv_i_opt  TYPE TKEPPLLEVS-OPT, "   
lv_i_low  TYPE TKEPPLLEVS-LOW, "   
lv_i_high  TYPE TKEPPLLEVS-HIGH. "   

  CALL FUNCTION 'CATT_COPA_MODIFY_PLAN_LEVEL'  "
    EXPORTING
         I_APPLCLASS = lv_i_applclass
         I_SUBCLASS = lv_i_subclass
         I_TABNAME = lv_i_tabname
         I_PLLEV = lv_i_pllev
         I_FIELDNAME = lv_i_fieldname
         I_SIGN = lv_i_sign
         I_OPT = lv_i_opt
         I_LOW = lv_i_low
         I_HIGH = lv_i_high
    EXCEPTIONS
        KEY_EXISTING = 1
        NOT_CATT = 2
        INPUT_INCORRECT = 3
. " CATT_COPA_MODIFY_PLAN_LEVEL




ABAP code using 7.40 inline data declarations to call FM CATT_COPA_MODIFY_PLAN_LEVEL

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 APPLCLASS FROM TKEPPLLEVC INTO @DATA(ld_i_applclass).
 
 
 
"SELECT single SUBCLASS FROM TKEPPLLEVC INTO @DATA(ld_i_subclass).
 
"SELECT single TABNAME FROM TKEPPLLEVC INTO @DATA(ld_i_tabname).
 
 
"SELECT single PLLEV FROM TKEPPLLEVC INTO @DATA(ld_i_pllev).
 
"SELECT single FIELDNAME FROM TKEPPLLEVC INTO @DATA(ld_i_fieldname).
 
"SELECT single SIGN FROM TKEPPLLEVS INTO @DATA(ld_i_sign).
 
"SELECT single OPT FROM TKEPPLLEVS INTO @DATA(ld_i_opt).
 
"SELECT single LOW FROM TKEPPLLEVS INTO @DATA(ld_i_low).
 
"SELECT single HIGH FROM TKEPPLLEVS INTO @DATA(ld_i_high).
 


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!