SAP ISU_S_MOVE_IN_CANCEL Function Module for INTERNAL: Reverse Move-In Document









ISU_S_MOVE_IN_CANCEL is a standard isu s move in cancel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Reverse Move-In Document 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 isu s move in cancel FM, simply by entering the name ISU_S_MOVE_IN_CANCEL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_S_MOVE_IN_CANCEL 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 'ISU_S_MOVE_IN_CANCEL'"INTERNAL: Reverse Move-In Document
EXPORTING
X_EINZBELEG = "Move-In Document
* X_NO_DIALOG = "
* X_SUPPRESS_DIALOG = "
* X_NO_COMMIT = "
* X_CCH_EXPERT_MODE = "
* X_NO_BPCA_CHANGE = "
* X_NO_MESSAGE = "Indicator
* X_CONTR_EXT = "
* X_AUTO = "Automation data

IMPORTING
Y_DB_UPDATE = "
Y_EXIT_TYPE = "Return Mode
Y_NEW_EEIN = "
Y_NEW_PARTNER = "
Y_NEW_ACC = "
Y_CURFIELD = "
Y_CURLINE = "
Y_CURDYNNR = "
Y_RC_PLANNED_CHANGES = "Return Value, Return Value after ABAP Statements

TABLES
* TX_VERTRAG = "
* TY_NEW_EEINV = "
* TY_NEW_EVER = "

EXCEPTIONS
NOT_FOUND = 1 REVERSE_DOCS_NECESSARY = 10 DONT_DELETE_BBP = 11 CLEAR_DOCS_NECESSARY = 12 FOREIGN_LOCK = 2 NUMBER_ERROR = 3 INPUT_ERROR = 4 ACTION_FAILED = 5 NOT_AUTHORIZED = 6 INTERNAL_ERROR = 7 INVALID_KEY = 8 METDOCTAB_INCONSISTENT = 9
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLEC50_001 IS-U move-in: dtermination of hedge amount and hedge reason
EXIT_SAPLEC50_002 IS-U Move-in: Check Data Environment in Init. Screen for Special Features
EXIT_SAPLEC50_003 IS-U Move-in: Determine Application Form for Welcome Letter
EXIT_SAPLEC50_004 IS-U Move-in: Determine Budget Billing Amount for a Contract
EXIT_SAPLEC50_005 IS-U move-in: customer-defined checks
EXIT_SAPLEC50_006 IS-U Move-in: Determination of Transfer Contract

IMPORTING Parameters details for ISU_S_MOVE_IN_CANCEL

X_EINZBELEG - Move-In Document

Data type: EEIN-EINZBELEG
Optional: No
Call by Reference: No ( called with pass by value option)

X_NO_DIALOG -

Data type: REGEN-NO_DIALOG
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SUPPRESS_DIALOG -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_COMMIT -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CCH_EXPERT_MODE -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_BPCA_CHANGE -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_MESSAGE - Indicator

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CONTR_EXT -

Data type: EMI_CONTR_EXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_AUTO - Automation data

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

EXPORTING Parameters details for ISU_S_MOVE_IN_CANCEL

Y_DB_UPDATE -

Data type: REGEN-DB_UPDATE
Optional: No
Call by Reference: No ( called with pass by value option)

Y_EXIT_TYPE - Return Mode

Data type: REGEN-EXIT_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

Y_NEW_EEIN -

Data type: EEIN
Optional: No
Call by Reference: No ( called with pass by value option)

Y_NEW_PARTNER -

Data type: ISU01_PARTNER_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

Y_NEW_ACC -

Data type: FKK20_ACCOUNT
Optional: No
Call by Reference: No ( called with pass by value option)

Y_CURFIELD -

Data type: CURFIELD
Optional: No
Call by Reference: No ( called with pass by value option)

Y_CURLINE -

Data type: SY-STEPL
Optional: No
Call by Reference: No ( called with pass by value option)

Y_CURDYNNR -

Data type: SY-DYNNR
Optional: No
Call by Reference: No ( called with pass by value option)

Y_RC_PLANNED_CHANGES - Return Value, Return Value after ABAP Statements

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISU_S_MOVE_IN_CANCEL

TX_VERTRAG -

Data type: ISU06_MI_T_VERTRAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

TY_NEW_EEINV -

Data type: EEINV
Optional: Yes
Call by Reference: No ( called with pass by value option)

TY_NEW_EVER -

Data type: EVER
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - No Record Found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

REVERSE_DOCS_NECESSARY -

Data type:
Optional: No
Call by Reference: Yes

DONT_DELETE_BBP -

Data type:
Optional: No
Call by Reference: Yes

CLEAR_DOCS_NECESSARY -

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NUMBER_ERROR - Error in number assignment

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INPUT_ERROR - Input error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ACTION_FAILED - Could Not Execute Action

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_AUTHORIZED - No Authorization

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INTERNAL_ERROR - Internal Error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_KEY - Invalid Key

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

METDOCTAB_INCONSISTENT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_S_MOVE_IN_CANCEL 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_not_found  TYPE STRING, "   
lt_tx_vertrag  TYPE STANDARD TABLE OF ISU06_MI_T_VERTRAG, "   
lv_x_einzbeleg  TYPE EEIN-EINZBELEG, "   
lv_y_db_update  TYPE REGEN-DB_UPDATE, "   
lv_reverse_docs_necessary  TYPE REGEN, "   
lv_dont_delete_bbp  TYPE REGEN, "   
lv_clear_docs_necessary  TYPE REGEN, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_y_exit_type  TYPE REGEN-EXIT_TYPE, "   
lv_foreign_lock  TYPE REGEN, "   
lt_ty_new_eeinv  TYPE STANDARD TABLE OF EEINV, "   
lv_y_new_eein  TYPE EEIN, "   
lt_ty_new_ever  TYPE STANDARD TABLE OF EVER, "   
lv_number_error  TYPE EVER, "   
lv_x_suppress_dialog  TYPE REGEN-KENNZX, "   
lv_input_error  TYPE REGEN, "   
lv_x_no_commit  TYPE REGEN-KENNZX, "   
lv_y_new_partner  TYPE ISU01_PARTNER_DATA, "   
lv_y_new_acc  TYPE FKK20_ACCOUNT, "   
lv_action_failed  TYPE FKK20_ACCOUNT, "   
lv_x_cch_expert_mode  TYPE REGEN-KENNZX, "   
lv_y_curfield  TYPE CURFIELD, "   
lv_not_authorized  TYPE CURFIELD, "   
lv_x_no_bpca_change  TYPE REGEN-KENNZX, "   
lv_y_curline  TYPE SY-STEPL, "   
lv_x_no_message  TYPE REGEN-KENNZX, "   
lv_internal_error  TYPE REGEN, "   
lv_y_curdynnr  TYPE SY-DYNNR, "   
lv_invalid_key  TYPE SY, "   
lv_x_contr_ext  TYPE EMI_CONTR_EXT, "   
lv_x_auto  TYPE ISU06_MOVEIN_AUTO, "   
lv_y_rc_planned_changes  TYPE SYSUBRC, "   
lv_metdoctab_inconsistent  TYPE SYSUBRC. "   

  CALL FUNCTION 'ISU_S_MOVE_IN_CANCEL'  "INTERNAL: Reverse Move-In Document
    EXPORTING
         X_EINZBELEG = lv_x_einzbeleg
         X_NO_DIALOG = lv_x_no_dialog
         X_SUPPRESS_DIALOG = lv_x_suppress_dialog
         X_NO_COMMIT = lv_x_no_commit
         X_CCH_EXPERT_MODE = lv_x_cch_expert_mode
         X_NO_BPCA_CHANGE = lv_x_no_bpca_change
         X_NO_MESSAGE = lv_x_no_message
         X_CONTR_EXT = lv_x_contr_ext
         X_AUTO = lv_x_auto
    IMPORTING
         Y_DB_UPDATE = lv_y_db_update
         Y_EXIT_TYPE = lv_y_exit_type
         Y_NEW_EEIN = lv_y_new_eein
         Y_NEW_PARTNER = lv_y_new_partner
         Y_NEW_ACC = lv_y_new_acc
         Y_CURFIELD = lv_y_curfield
         Y_CURLINE = lv_y_curline
         Y_CURDYNNR = lv_y_curdynnr
         Y_RC_PLANNED_CHANGES = lv_y_rc_planned_changes
    TABLES
         TX_VERTRAG = lt_tx_vertrag
         TY_NEW_EEINV = lt_ty_new_eeinv
         TY_NEW_EVER = lt_ty_new_ever
    EXCEPTIONS
        NOT_FOUND = 1
        REVERSE_DOCS_NECESSARY = 10
        DONT_DELETE_BBP = 11
        CLEAR_DOCS_NECESSARY = 12
        FOREIGN_LOCK = 2
        NUMBER_ERROR = 3
        INPUT_ERROR = 4
        ACTION_FAILED = 5
        NOT_AUTHORIZED = 6
        INTERNAL_ERROR = 7
        INVALID_KEY = 8
        METDOCTAB_INCONSISTENT = 9
. " ISU_S_MOVE_IN_CANCEL




ABAP code using 7.40 inline data declarations to call FM ISU_S_MOVE_IN_CANCEL

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 EINZBELEG FROM EEIN INTO @DATA(ld_x_einzbeleg).
 
"SELECT single DB_UPDATE FROM REGEN INTO @DATA(ld_y_db_update).
 
 
 
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
 
"SELECT single EXIT_TYPE FROM REGEN INTO @DATA(ld_y_exit_type).
 
 
 
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_suppress_dialog).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_commit).
 
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_cch_expert_mode).
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_bpca_change).
 
"SELECT single STEPL FROM SY INTO @DATA(ld_y_curline).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_message).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_y_curdynnr).
 
 
 
 
 
 


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!