SAP CI03_READ_PLWP Function Module for NOTRANSL: Lesen gültiger Arbeitsplan-Wartungspakete mit Stichtag
CI03_READ_PLWP is a standard ci03 read plwp 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 Arbeitsplan-Wartungspakete 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 plwp FM, simply by entering the name CI03_READ_PLWP 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_PLWP 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_PLWP'"NOTRANSL: Lesen gültiger Arbeitsplan-Wartungspakete 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
IMPORTING
E_PLWP_TAB = "Allocation of maintenance packages to task list operations
CHANGING
* C_PLAS_TAB = "Task List Sequence-Operation Assignment
IMPORTING Parameters details for CI03_READ_PLWP
I_PLNTY - TL Type
Data type: PLWP-PLNTYOptional: No
Call by Reference: Yes
I_PLNNR - Key for Task List Group
Data type: PLWP-PLNNROptional: No
Call by Reference: Yes
I_PLNAL - Group Counter
Data type: PLWP-PLNALOptional: No
Call by Reference: Yes
I_DATE - Valid-From Date
Data type: PLWP-DATUVDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for CI03_READ_PLWP
E_PLWP_TAB - Allocation of maintenance packages to task list operations
Data type: PLWP_TABOptional: No
Call by Reference: Yes
CHANGING Parameters details for CI03_READ_PLWP
C_PLAS_TAB - Task List Sequence-Operation Assignment
Data type: PLAS_TABOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CI03_READ_PLWP 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 PLWP-PLNTY, " | |||
| lv_c_plas_tab | TYPE PLAS_TAB, " | |||
| lv_e_plwp_tab | TYPE PLWP_TAB, " | |||
| lv_i_plnnr | TYPE PLWP-PLNNR, " | |||
| lv_i_plnal | TYPE PLWP-PLNAL, " | |||
| lv_i_date | TYPE PLWP-DATUV. " SY-DATUM |
|   CALL FUNCTION 'CI03_READ_PLWP' "NOTRANSL: Lesen gültiger Arbeitsplan-Wartungspakete mit Stichtag |
| EXPORTING | ||
| I_PLNTY | = lv_i_plnty | |
| I_PLNNR | = lv_i_plnnr | |
| I_PLNAL | = lv_i_plnal | |
| I_DATE | = lv_i_date | |
| IMPORTING | ||
| E_PLWP_TAB | = lv_e_plwp_tab | |
| CHANGING | ||
| C_PLAS_TAB | = lv_c_plas_tab | |
| . " CI03_READ_PLWP | ||
ABAP code using 7.40 inline data declarations to call FM CI03_READ_PLWP
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 PLWP INTO @DATA(ld_i_plnty). | ||||
| "SELECT single PLNNR FROM PLWP INTO @DATA(ld_i_plnnr). | ||||
| "SELECT single PLNAL FROM PLWP INTO @DATA(ld_i_plnal). | ||||
| "SELECT single DATUV FROM PLWP INTO @DATA(ld_i_date). | ||||
| DATA(ld_i_date) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects