SAP CIF_SHIFT_DATA_GET Function Module for NOTRANSL: Datenbeschaffung Schicht, Schichtprogramm und Pausenplan für APO
CIF_SHIFT_DATA_GET is a standard cif shift data get 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: Datenbeschaffung Schicht, Schichtprogramm und Pausenplan für APO 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 cif shift data get FM, simply by entering the name CIF_SHIFT_DATA_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CAP4
Program Name: SAPLCAP4
Main Program: SAPLCAP4
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CIF_SHIFT_DATA_GET 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 'CIF_SHIFT_DATA_GET'"NOTRANSL: Datenbeschaffung Schicht, Schichtprogramm und Pausenplan für APO.
TABLES
* IT_SHIFT_KEY = "Shift Key
* IT_SHIFTSEQUENCE_KEY = "Key for Shift Sequence
* IT_BREAKMODEL_KEY = "Work Break Model Key
* ET_TC37A = "Shift definition
* ET_TC37P = "Break schedule
* ET_TC38A = "Shift sequence
* ET_TC37T = "Texts for shift definitions
* ET_TC37S = "Texts for break plans
* ET_TC38T = "Texts for shift groupings
TABLES Parameters details for CIF_SHIFT_DATA_GET
IT_SHIFT_KEY - Shift Key
Data type: CRCIFSHIFT_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SHIFTSEQUENCE_KEY - Key for Shift Sequence
Data type: CRCIFSHIFTSEQUENCE_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_BREAKMODEL_KEY - Work Break Model Key
Data type: CRCIFBREAK_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC37A - Shift definition
Data type: TC37AOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC37P - Break schedule
Data type: TC37POptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC38A - Shift sequence
Data type: TC38AOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC37T - Texts for shift definitions
Data type: TC37TOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC37S - Texts for break plans
Data type: TC37SOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TC38T - Texts for shift groupings
Data type: TC38TOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIF_SHIFT_DATA_GET 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: | ||||
| lt_it_shift_key | TYPE STANDARD TABLE OF CRCIFSHIFT_KEY, " | |||
| lt_it_shiftsequence_key | TYPE STANDARD TABLE OF CRCIFSHIFTSEQUENCE_KEY, " | |||
| lt_it_breakmodel_key | TYPE STANDARD TABLE OF CRCIFBREAK_KEY, " | |||
| lt_et_tc37a | TYPE STANDARD TABLE OF TC37A, " | |||
| lt_et_tc37p | TYPE STANDARD TABLE OF TC37P, " | |||
| lt_et_tc38a | TYPE STANDARD TABLE OF TC38A, " | |||
| lt_et_tc37t | TYPE STANDARD TABLE OF TC37T, " | |||
| lt_et_tc37s | TYPE STANDARD TABLE OF TC37S, " | |||
| lt_et_tc38t | TYPE STANDARD TABLE OF TC38T. " |
|   CALL FUNCTION 'CIF_SHIFT_DATA_GET' "NOTRANSL: Datenbeschaffung Schicht, Schichtprogramm und Pausenplan für APO |
| TABLES | ||
| IT_SHIFT_KEY | = lt_it_shift_key | |
| IT_SHIFTSEQUENCE_KEY | = lt_it_shiftsequence_key | |
| IT_BREAKMODEL_KEY | = lt_it_breakmodel_key | |
| ET_TC37A | = lt_et_tc37a | |
| ET_TC37P | = lt_et_tc37p | |
| ET_TC38A | = lt_et_tc38a | |
| ET_TC37T | = lt_et_tc37t | |
| ET_TC37S | = lt_et_tc37s | |
| ET_TC38T | = lt_et_tc38t | |
| . " CIF_SHIFT_DATA_GET | ||
ABAP code using 7.40 inline data declarations to call FM CIF_SHIFT_DATA_GET
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.Search for further information about these or an SAP related objects