SAP CATT_COPA_READ_PLAN_INFOS Function Module for
CATT_COPA_READ_PLAN_INFOS is a standard catt copa read plan infos 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 read plan infos FM, simply by entering the name CATT_COPA_READ_PLAN_INFOS 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_READ_PLAN_INFOS 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_READ_PLAN_INFOS'".
EXPORTING
* I_INFO = '1' "
I_APPLCLASS = "
I_SUBCLASS = "
I_TABNAME = "
* I_PLLEV = "
* I_PLPCK = "
* I_PARAM = "
* I_ID = "
IMPORTING
E_COUNT_PLANLEVEL = "
E_COUNT_PLANPACKAGE = "
E_COUNT_PARAMETER_SET = "
E_POSITION = "
EXCEPTIONS
INFO_NOT_CORRECT = 1 INPUT_INCORRECT = 2
IMPORTING Parameters details for CATT_COPA_READ_PLAN_INFOS
I_INFO -
Data type: CDefault: '1'
Optional: No
Call by Reference: No ( called with pass by value option)
I_APPLCLASS -
Data type: TKEPPLLEV-APPLCLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_SUBCLASS -
Data type: TKEPPLLEV-SUBCLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_TABNAME -
Data type: TKEPPLLEV-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_PLLEV -
Data type: TKEPPLLEV-PLLEVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PLPCK -
Data type: TKEPPLPPH-PLPCKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARAM -
Data type: TKEPPLMEPAH-PARAMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ID -
Data type: TKEPPLMEPAH-IDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CATT_COPA_READ_PLAN_INFOS
E_COUNT_PLANLEVEL -
Data type: CATPAVALOptional: No
Call by Reference: No ( called with pass by value option)
E_COUNT_PLANPACKAGE -
Data type: CATPAVALOptional: No
Call by Reference: No ( called with pass by value option)
E_COUNT_PARAMETER_SET -
Data type: CATPAVALOptional: No
Call by Reference: No ( called with pass by value option)
E_POSITION -
Data type: CATPAVALOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INFO_NOT_CORRECT -
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_READ_PLAN_INFOS 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_info | TYPE C, " '1' | |||
| lv_info_not_correct | TYPE C, " | |||
| lv_e_count_planlevel | TYPE CATPAVAL, " | |||
| lv_i_applclass | TYPE TKEPPLLEV-APPLCLASS, " | |||
| lv_input_incorrect | TYPE TKEPPLLEV, " | |||
| lv_e_count_planpackage | TYPE CATPAVAL, " | |||
| lv_i_subclass | TYPE TKEPPLLEV-SUBCLASS, " | |||
| lv_e_count_parameter_set | TYPE CATPAVAL, " | |||
| lv_i_tabname | TYPE TKEPPLLEV-TABNAME, " | |||
| lv_e_position | TYPE CATPAVAL, " | |||
| lv_i_pllev | TYPE TKEPPLLEV-PLLEV, " | |||
| lv_i_plpck | TYPE TKEPPLPPH-PLPCK, " | |||
| lv_i_param | TYPE TKEPPLMEPAH-PARAM, " | |||
| lv_i_id | TYPE TKEPPLMEPAH-ID. " |
|   CALL FUNCTION 'CATT_COPA_READ_PLAN_INFOS' " |
| EXPORTING | ||
| I_INFO | = lv_i_info | |
| I_APPLCLASS | = lv_i_applclass | |
| I_SUBCLASS | = lv_i_subclass | |
| I_TABNAME | = lv_i_tabname | |
| I_PLLEV | = lv_i_pllev | |
| I_PLPCK | = lv_i_plpck | |
| I_PARAM | = lv_i_param | |
| I_ID | = lv_i_id | |
| IMPORTING | ||
| E_COUNT_PLANLEVEL | = lv_e_count_planlevel | |
| E_COUNT_PLANPACKAGE | = lv_e_count_planpackage | |
| E_COUNT_PARAMETER_SET | = lv_e_count_parameter_set | |
| E_POSITION | = lv_e_position | |
| EXCEPTIONS | ||
| INFO_NOT_CORRECT = 1 | ||
| INPUT_INCORRECT = 2 | ||
| . " CATT_COPA_READ_PLAN_INFOS | ||
ABAP code using 7.40 inline data declarations to call FM CATT_COPA_READ_PLAN_INFOS
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.| DATA(ld_i_info) | = '1'. | |||
| "SELECT single APPLCLASS FROM TKEPPLLEV INTO @DATA(ld_i_applclass). | ||||
| "SELECT single SUBCLASS FROM TKEPPLLEV INTO @DATA(ld_i_subclass). | ||||
| "SELECT single TABNAME FROM TKEPPLLEV INTO @DATA(ld_i_tabname). | ||||
| "SELECT single PLLEV FROM TKEPPLLEV INTO @DATA(ld_i_pllev). | ||||
| "SELECT single PLPCK FROM TKEPPLPPH INTO @DATA(ld_i_plpck). | ||||
| "SELECT single PARAM FROM TKEPPLMEPAH INTO @DATA(ld_i_param). | ||||
| "SELECT single ID FROM TKEPPLMEPAH INTO @DATA(ld_i_id). | ||||
Search for further information about these or an SAP related objects