SAP CCIN_DATE_SHIFT_CHECK_01 Function Module for









CCIN_DATE_SHIFT_CHECK_01 is a standard ccin date shift check 01 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 ccin date shift check 01 FM, simply by entering the name CCIN_DATE_SHIFT_CHECK_01 into the relevant SAP transaction such as SE37 or SE38.

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



Function CCIN_DATE_SHIFT_CHECK_01 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 'CCIN_DATE_SHIFT_CHECK_01'"
EXPORTING
I_CHG_NR = "Change Number
* I_DATE_NEW = "Valid-From Date
* I_DATE_OLD = "Valid-From Date
* I_CHG_LEADER_NEW = "Change Number

IMPORTING
E_OK = "

EXCEPTIONS
ERROR_CALL = 1 ERROR_CHG_NR = 2
.



IMPORTING Parameters details for CCIN_DATE_SHIFT_CHECK_01

I_CHG_NR - Change Number

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

I_DATE_NEW - Valid-From Date

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

I_DATE_OLD - Valid-From Date

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

I_CHG_LEADER_NEW - Change Number

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

EXPORTING Parameters details for CCIN_DATE_SHIFT_CHECK_01

E_OK -

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

EXCEPTIONS details

ERROR_CALL -

Data type:
Optional: No
Call by Reference: Yes

ERROR_CHG_NR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CCIN_DATE_SHIFT_CHECK_01 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_e_ok  TYPE XFELD, "   
lv_i_chg_nr  TYPE AENNR, "   
lv_error_call  TYPE AENNR, "   
lv_i_date_new  TYPE CC_DATUV, "   
lv_error_chg_nr  TYPE CC_DATUV, "   
lv_i_date_old  TYPE CC_DATUV, "   
lv_i_chg_leader_new  TYPE AENNR. "   

  CALL FUNCTION 'CCIN_DATE_SHIFT_CHECK_01'  "
    EXPORTING
         I_CHG_NR = lv_i_chg_nr
         I_DATE_NEW = lv_i_date_new
         I_DATE_OLD = lv_i_date_old
         I_CHG_LEADER_NEW = lv_i_chg_leader_new
    IMPORTING
         E_OK = lv_e_ok
    EXCEPTIONS
        ERROR_CALL = 1
        ERROR_CHG_NR = 2
. " CCIN_DATE_SHIFT_CHECK_01




ABAP code using 7.40 inline data declarations to call FM CCIN_DATE_SHIFT_CHECK_01

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



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!