SAP CI03_READ_PLAS_TIME_INTERVAL Function Module for NOTRANSL: Lesen gültiger Arbeitsplanvorgänge in einem Zeitraum
CI03_READ_PLAS_TIME_INTERVAL is a standard ci03 read plas time interval 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 in einem Zeitraum 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 plas time interval FM, simply by entering the name CI03_READ_PLAS_TIME_INTERVAL 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_PLAS_TIME_INTERVAL 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_PLAS_TIME_INTERVAL'"NOTRANSL: Lesen gültiger Arbeitsplanvorgänge in einem Zeitraum.
EXPORTING
I_PLNTY = "TL Type
I_PLNNR = "Key for Task List Group
I_PLNAL = "Group Counter
* I_DATE_BEGIN = SY-DATUM "Valid-From Date
* I_DATE_END = SY-DATUM "Valid-From Date
IMPORTING
E_PLAS_TAB = "Task List Sequence-Operation Assignment
IMPORTING Parameters details for CI03_READ_PLAS_TIME_INTERVAL
I_PLNTY - TL Type
Data type: PLAS-PLNTYOptional: No
Call by Reference: Yes
I_PLNNR - Key for Task List Group
Data type: PLAS-PLNNROptional: No
Call by Reference: Yes
I_PLNAL - Group Counter
Data type: PLAS-PLNALOptional: No
Call by Reference: Yes
I_DATE_BEGIN - Valid-From Date
Data type: PLAS-DATUVDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
I_DATE_END - Valid-From Date
Data type: PLAS-DATUVDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for CI03_READ_PLAS_TIME_INTERVAL
E_PLAS_TAB - Task List Sequence-Operation Assignment
Data type: PLAS_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CI03_READ_PLAS_TIME_INTERVAL 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_i_plnnr | TYPE PLAS-PLNNR, " | |||
| lv_i_plnal | TYPE PLAS-PLNAL, " | |||
| lv_i_date_begin | TYPE PLAS-DATUV, " SY-DATUM | |||
| lv_i_date_end | TYPE PLAS-DATUV. " SY-DATUM |
|   CALL FUNCTION 'CI03_READ_PLAS_TIME_INTERVAL' "NOTRANSL: Lesen gültiger Arbeitsplanvorgänge in einem Zeitraum |
| EXPORTING | ||
| I_PLNTY | = lv_i_plnty | |
| I_PLNNR | = lv_i_plnnr | |
| I_PLNAL | = lv_i_plnal | |
| I_DATE_BEGIN | = lv_i_date_begin | |
| I_DATE_END | = lv_i_date_end | |
| IMPORTING | ||
| E_PLAS_TAB | = lv_e_plas_tab | |
| . " CI03_READ_PLAS_TIME_INTERVAL | ||
ABAP code using 7.40 inline data declarations to call FM CI03_READ_PLAS_TIME_INTERVAL
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_begin). | ||||
| DATA(ld_i_date_begin) | = SY-DATUM. | |||
| "SELECT single DATUV FROM PLAS INTO @DATA(ld_i_date_end). | ||||
| DATA(ld_i_date_end) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects