SAP CI03_READ_PLPO Function Module for NOTRANSL: Lesen gültiger Arbeitsplanvorgänge (Detaildaten) mit Stichtag









CI03_READ_PLPO is a standard ci03 read plpo 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: Lesen gültiger Arbeitsplanvorgänge (Detaildaten) mit Stichtag 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 ci03 read plpo FM, simply by entering the name CI03_READ_PLPO into the relevant SAP transaction such as SE37 or SE38.

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



Function CI03_READ_PLPO 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 'CI03_READ_PLPO'"NOTRANSL: Lesen gültiger Arbeitsplanvorgänge (Detaildaten) mit Stichtag
EXPORTING
I_PLNTY = "TL Type
I_PLNNR = "Key for Task List Group
I_PLNAL = "Group Counter
* I_DATE = SY-DATUM "Valid-From Date
* I_PLAS_TAB = "Task List Sequence-Operation Assignment
* I_ADD_WORK_PLACE = CC_X "

IMPORTING
E_PLAS_TAB = "Task List Sequence-Operation Assignment
E_PLPO_TAB = "Task List Operation, Phase, Suboperation

EXCEPTIONS
DATABASE_INCONSISTENT = 1 WORK_PLACE_NOT_FOUND = 2
.



IMPORTING Parameters details for CI03_READ_PLPO

I_PLNTY - TL Type

Data type: PLAS-PLNTY
Optional: No
Call by Reference: Yes

I_PLNNR - Key for Task List Group

Data type: PLAS-PLNNR
Optional: No
Call by Reference: Yes

I_PLNAL - Group Counter

Data type: PLAS-PLNAL
Optional: No
Call by Reference: Yes

I_DATE - Valid-From Date

Data type: PLAS-DATUV
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_PLAS_TAB - Task List Sequence-Operation Assignment

Data type: PLAS_TAB
Optional: Yes
Call by Reference: Yes

I_ADD_WORK_PLACE -

Data type: FLAG
Default: CC_X
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CI03_READ_PLPO

E_PLAS_TAB - Task List Sequence-Operation Assignment

Data type: PLAS_TAB
Optional: No
Call by Reference: Yes

E_PLPO_TAB - Task List Operation, Phase, Suboperation

Data type: PLPO_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

DATABASE_INCONSISTENT -

Data type:
Optional: No
Call by Reference: Yes

WORK_PLACE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CI03_READ_PLPO 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_plnty  TYPE PLAS-PLNTY, "   
lv_e_plas_tab  TYPE PLAS_TAB, "   
lv_database_inconsistent  TYPE PLAS_TAB, "   
lv_i_plnnr  TYPE PLAS-PLNNR, "   
lv_e_plpo_tab  TYPE PLPO_TAB, "   
lv_work_place_not_found  TYPE PLPO_TAB, "   
lv_i_plnal  TYPE PLAS-PLNAL, "   
lv_i_date  TYPE PLAS-DATUV, "   SY-DATUM
lv_i_plas_tab  TYPE PLAS_TAB, "   
lv_i_add_work_place  TYPE FLAG. "   CC_X

  CALL FUNCTION 'CI03_READ_PLPO'  "NOTRANSL: Lesen gültiger Arbeitsplanvorgänge (Detaildaten) mit Stichtag
    EXPORTING
         I_PLNTY = lv_i_plnty
         I_PLNNR = lv_i_plnnr
         I_PLNAL = lv_i_plnal
         I_DATE = lv_i_date
         I_PLAS_TAB = lv_i_plas_tab
         I_ADD_WORK_PLACE = lv_i_add_work_place
    IMPORTING
         E_PLAS_TAB = lv_e_plas_tab
         E_PLPO_TAB = lv_e_plpo_tab
    EXCEPTIONS
        DATABASE_INCONSISTENT = 1
        WORK_PLACE_NOT_FOUND = 2
. " CI03_READ_PLPO




ABAP code using 7.40 inline data declarations to call FM CI03_READ_PLPO

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 PLNTY FROM PLAS INTO @DATA(ld_i_plnty).
 
 
 
"SELECT single PLNNR FROM PLAS INTO @DATA(ld_i_plnnr).
 
 
 
"SELECT single PLNAL FROM PLAS INTO @DATA(ld_i_plnal).
 
"SELECT single DATUV FROM PLAS INTO @DATA(ld_i_date).
DATA(ld_i_date) = SY-DATUM.
 
 
DATA(ld_i_add_work_place) = CC_X.
 


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!