SAP ISU_S_MOVE_IN_INSTLN_ADD Function Module for INTERNAL: Add Installations to Move-In Document
ISU_S_MOVE_IN_INSTLN_ADD is a standard isu s move in instln add 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: Add Installations to 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 instln add FM, simply by entering the name ISU_S_MOVE_IN_INSTLN_ADD 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_INSTLN_ADD 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_INSTLN_ADD'"INTERNAL: Add Installations to Move-In Document.
EXPORTING
X_EINZBELEG = "Move-In Document
* X_NO_COMMIT = "
* X_SAVE_AND_REOPEN = "
* X_NO_MESSAGE = "
* X_UPD_ONLINE = "
* X_AUSZBELEG_TRANSFER = "Consecutive Number of Move-Out Document
* X_CONTR_EXT = "
* X_AUTO = "Automation data
IMPORTING
Y_DB_UPDATE = "
Y_CHANGED = "
Y_EXIT_TYPE = "Return Mode
TABLES
* TX_VERTRAG = "
* TY_NEW_SM_ORDERS = "
* TY_NEW_EVER = "IS-U Contract
EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 INTERNAL_ERROR = 3 INPUT_ERROR = 4 NOT_AUTHORIZED = 5 ACTION_FAILED = 6 INTERNAL_CRM_ERROR = 7
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_INSTLN_ADD
X_EINZBELEG - Move-In Document
Data type: EEINV-EINZBELEGOptional: No
Call by Reference: No ( called with pass by value option)
X_NO_COMMIT -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SAVE_AND_REOPEN -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_MESSAGE -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
X_UPD_ONLINE -
Data type: REGEN-UPD_ONLINEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_AUSZBELEG_TRANSFER - Consecutive Number of Move-Out Document
Data type: AUSZBELEGOptional: Yes
Call by Reference: Yes
X_CONTR_EXT -
Data type: EMI_CONTR_EXTOptional: Yes
Call by Reference: Yes
X_AUTO - Automation data
Data type: ISU06_MOVEIN_AUTOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_S_MOVE_IN_INSTLN_ADD
Y_DB_UPDATE -
Data type: REGEN-DB_UPDATEOptional: No
Call by Reference: No ( called with pass by value option)
Y_CHANGED -
Data type: ISU06_MI_CHANGEDOptional: No
Call by Reference: No ( called with pass by value option)
Y_EXIT_TYPE - Return Mode
Data type: REGEN-EXIT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_S_MOVE_IN_INSTLN_ADD
TX_VERTRAG -
Data type: ISU06_MI_T_VERTRAGOptional: Yes
Call by Reference: No ( called with pass by value option)
TY_NEW_SM_ORDERS -
Data type: ISU06_T_SM_ORDERSOptional: Yes
Call by Reference: No ( called with pass by value option)
TY_NEW_EVER - IS-U Contract
Data type: EVEROptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND - Object Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCK - Object is currently locked
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Other
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)
NOT_AUTHORIZED - You are not authorized to make changes
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACTION_FAILED -
Data type:Optional: No
Call by Reference: Yes
INTERNAL_CRM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_S_MOVE_IN_INSTLN_ADD 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 EEINV-EINZBELEG, " | |||
lv_y_db_update | TYPE REGEN-DB_UPDATE, " | |||
lv_y_changed | TYPE ISU06_MI_CHANGED, " | |||
lv_x_no_commit | TYPE REGEN-KENNZX, " | |||
lv_foreign_lock | TYPE REGEN, " | |||
lt_ty_new_sm_orders | TYPE STANDARD TABLE OF ISU06_T_SM_ORDERS, " | |||
lt_ty_new_ever | TYPE STANDARD TABLE OF EVER, " | |||
lv_y_exit_type | TYPE REGEN-EXIT_TYPE, " | |||
lv_internal_error | TYPE REGEN, " | |||
lv_x_save_and_reopen | TYPE REGEN-KENNZX, " | |||
lv_input_error | TYPE REGEN, " | |||
lv_x_no_message | TYPE REGEN-KENNZX, " | |||
lv_x_upd_online | TYPE REGEN-UPD_ONLINE, " | |||
lv_not_authorized | TYPE REGEN, " | |||
lv_action_failed | TYPE REGEN, " | |||
lv_x_auszbeleg_transfer | TYPE AUSZBELEG, " | |||
lv_x_contr_ext | TYPE EMI_CONTR_EXT, " | |||
lv_internal_crm_error | TYPE EMI_CONTR_EXT, " | |||
lv_x_auto | TYPE ISU06_MOVEIN_AUTO. " |
  CALL FUNCTION 'ISU_S_MOVE_IN_INSTLN_ADD' "INTERNAL: Add Installations to Move-In Document |
EXPORTING | ||
X_EINZBELEG | = lv_x_einzbeleg | |
X_NO_COMMIT | = lv_x_no_commit | |
X_SAVE_AND_REOPEN | = lv_x_save_and_reopen | |
X_NO_MESSAGE | = lv_x_no_message | |
X_UPD_ONLINE | = lv_x_upd_online | |
X_AUSZBELEG_TRANSFER | = lv_x_auszbeleg_transfer | |
X_CONTR_EXT | = lv_x_contr_ext | |
X_AUTO | = lv_x_auto | |
IMPORTING | ||
Y_DB_UPDATE | = lv_y_db_update | |
Y_CHANGED | = lv_y_changed | |
Y_EXIT_TYPE | = lv_y_exit_type | |
TABLES | ||
TX_VERTRAG | = lt_tx_vertrag | |
TY_NEW_SM_ORDERS | = lt_ty_new_sm_orders | |
TY_NEW_EVER | = lt_ty_new_ever | |
EXCEPTIONS | ||
NOT_FOUND = 1 | ||
FOREIGN_LOCK = 2 | ||
INTERNAL_ERROR = 3 | ||
INPUT_ERROR = 4 | ||
NOT_AUTHORIZED = 5 | ||
ACTION_FAILED = 6 | ||
INTERNAL_CRM_ERROR = 7 | ||
. " ISU_S_MOVE_IN_INSTLN_ADD |
ABAP code using 7.40 inline data declarations to call FM ISU_S_MOVE_IN_INSTLN_ADD
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 EEINV INTO @DATA(ld_x_einzbeleg). | ||||
"SELECT single DB_UPDATE FROM REGEN INTO @DATA(ld_y_db_update). | ||||
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_commit). | ||||
"SELECT single EXIT_TYPE FROM REGEN INTO @DATA(ld_y_exit_type). | ||||
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_save_and_reopen). | ||||
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_message). | ||||
"SELECT single UPD_ONLINE FROM REGEN INTO @DATA(ld_x_upd_online). | ||||
Search for further information about these or an SAP related objects