SAP ISU_S_CONTAINER_COUNT_CHANGE Function Module for INTERNAL: Change Number of Containers
ISU_S_CONTAINER_COUNT_CHANGE is a standard isu s container count change 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: Change Number of Containers 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 container count change FM, simply by entering the name ISU_S_CONTAINER_COUNT_CHANGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWA_MD_LOC
Program Name: SAPLEEWA_MD_LOC
Main Program: SAPLEEWA_MD_LOC
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_S_CONTAINER_COUNT_CHANGE 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_CONTAINER_COUNT_CHANGE'"INTERNAL: Change Number of Containers.
EXPORTING
X_SERVLOC = "Key field
* X_OLD_COUNT = "Number of available containers
* X_NEW_COUNT = "Number of available containers
* X_CALL_FROM_RESULT = "Indicators
* X_ACTION = "Action
* X_ORDERITEM = "Item Table for Waste Disposal Order
* X_TIMEBIS = "Equipment usage period time stamp
* X_IBASE = "IBase: Number of the Installed Base/IBase
* X_SERVICE_TYPE = "Service Type
* X_WDO_SIGN = "Create Waste Disposal Order for One-Off Service in BckGrnd
* X_CRM = "Call from CRM
X_STICHTAG = "Key date for selection according to time-related validity
* X_LOG_HANDLE = "Application Log: Log Handle
* X_CREATE_LOG = "
* X_DEVGRP = "Device group
* X_GERAET = "Device
* X_GERAET_NEW = "
* X_BEH_TYPE = "Container Category
* X_BEH_TYPE_NEW = "
IMPORTING
Y_NEW_DEVGRP = "Device group
Y_RESULT_TAB = "Result of Installation/Removal/Replacement
Y_IBASE = "IBase: Number of the Installed Base/IBase
CHANGING
* XY_TMP_IBASE = "Indicator
XY_OBJ = "Object Structure for Container Location Management
* XT_RELATE = "Table Type for EWALOCD_TCHN Table
EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 INTERNAL_ERROR = 3 INPUT_ERROR = 4 NOT_AUTHORIZED = 5
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_SAPLEEWA_MD_LOC_001 Enhanced Check on Container Portion
EXIT_SAPLEEWA_MD_LOC_002 Call CUSTOMER SUBSCREEN in Container Location for Period PBO
EXIT_SAPLEEWA_MD_LOC_003 Prepares Call of Customer Subscreen in Container Location for Period PAI
EXIT_SAPLEEWA_MD_LOC_004 Transfers Changes to Container Location Data from Customer Subscreen
EXIT_SAPLEEWA_MD_LOC_005 Save Customer-specific Data on Container Location
IMPORTING Parameters details for ISU_S_CONTAINER_COUNT_CHANGE
X_SERVLOC - Key field
Data type: SERVLOCOptional: No
Call by Reference: Yes
X_OLD_COUNT - Number of available containers
Data type: CONT_COUNTOptional: Yes
Call by Reference: Yes
X_NEW_COUNT - Number of available containers
Data type: CONT_COUNTOptional: Yes
Call by Reference: Yes
X_CALL_FROM_RESULT - Indicators
Data type: KENNZXOptional: Yes
Call by Reference: Yes
X_ACTION - Action
Data type: ISU07_GER-ACTIONOptional: Yes
Call by Reference: Yes
X_ORDERITEM - Item Table for Waste Disposal Order
Data type: EWA_ORDER_OBJECTOptional: Yes
Call by Reference: Yes
X_TIMEBIS - Equipment usage period time stamp
Data type: TIMBIOptional: Yes
Call by Reference: Yes
X_IBASE - IBase: Number of the Installed Base/IBase
Data type: IB_IBASEOptional: Yes
Call by Reference: Yes
X_SERVICE_TYPE - Service Type
Data type: SERVICE_TYPEOptional: Yes
Call by Reference: Yes
X_WDO_SIGN - Create Waste Disposal Order for One-Off Service in BckGrnd
Data type: WDO_CREATION_SIGNOptional: Yes
Call by Reference: Yes
X_CRM - Call from CRM
Data type: KENNZXOptional: Yes
Call by Reference: Yes
X_STICHTAG - Key date for selection according to time-related validity
Data type: EWALOCD-STICHTAGOptional: No
Call by Reference: Yes
X_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
X_CREATE_LOG -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: Yes
X_DEVGRP - Device group
Data type: DEVGRPOptional: Yes
Call by Reference: Yes
X_GERAET - Device
Data type: GERAETOptional: Yes
Call by Reference: Yes
X_GERAET_NEW -
Data type: GERAETOptional: Yes
Call by Reference: Yes
X_BEH_TYPE - Container Category
Data type: BEH_TYPEOptional: Yes
Call by Reference: Yes
X_BEH_TYPE_NEW -
Data type: BEH_TYPEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_S_CONTAINER_COUNT_CHANGE
Y_NEW_DEVGRP - Device group
Data type: DEVGRPOptional: No
Call by Reference: Yes
Y_RESULT_TAB - Result of Installation/Removal/Replacement
Data type: ISU07_INSTALL_RESULT_TABOptional: No
Call by Reference: Yes
Y_IBASE - IBase: Number of the Installed Base/IBase
Data type: IB_IBASEOptional: No
Call by Reference: Yes
CHANGING Parameters details for ISU_S_CONTAINER_COUNT_CHANGE
XY_TMP_IBASE - Indicator
Data type: KENNZXOptional: Yes
Call by Reference: Yes
XY_OBJ - Object Structure for Container Location Management
Data type: ISUWA_SERVLOCOptional: No
Call by Reference: Yes
XT_RELATE - Table Type for EWALOCD_TCHN Table
Data type: ISUWA_T_EWALOCD_TCHNOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND - Object does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCK - Object Currently Locked
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - General Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_ERROR - Error During Entry Check
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_AUTHORIZED - User has no authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_S_CONTAINER_COUNT_CHANGE 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, " | |||
| lv_x_servloc | TYPE SERVLOC, " | |||
| lv_xy_tmp_ibase | TYPE KENNZX, " | |||
| lv_y_new_devgrp | TYPE DEVGRP, " | |||
| lv_x_old_count | TYPE CONT_COUNT, " | |||
| lv_x_new_count | TYPE CONT_COUNT, " | |||
| lv_x_call_from_result | TYPE KENNZX, " | |||
| lv_x_action | TYPE ISU07_GER-ACTION, " | |||
| lv_x_orderitem | TYPE EWA_ORDER_OBJECT, " | |||
| lv_x_timebis | TYPE TIMBI, " | |||
| lv_x_ibase | TYPE IB_IBASE, " | |||
| lv_x_service_type | TYPE SERVICE_TYPE, " | |||
| lv_x_wdo_sign | TYPE WDO_CREATION_SIGN, " | |||
| lv_x_crm | TYPE KENNZX, " | |||
| lv_xy_obj | TYPE ISUWA_SERVLOC, " | |||
| lv_x_stichtag | TYPE EWALOCD-STICHTAG, " | |||
| lv_foreign_lock | TYPE EWALOCD, " | |||
| lv_y_result_tab | TYPE ISU07_INSTALL_RESULT_TAB, " | |||
| lv_y_ibase | TYPE IB_IBASE, " | |||
| lv_xt_relate | TYPE ISUWA_T_EWALOCD_TCHN, " | |||
| lv_x_log_handle | TYPE BALLOGHNDL, " | |||
| lv_internal_error | TYPE BALLOGHNDL, " | |||
| lv_input_error | TYPE BALLOGHNDL, " | |||
| lv_x_create_log | TYPE REGEN-KENNZX, " | |||
| lv_x_devgrp | TYPE DEVGRP, " | |||
| lv_not_authorized | TYPE DEVGRP, " | |||
| lv_x_geraet | TYPE GERAET, " | |||
| lv_x_geraet_new | TYPE GERAET, " | |||
| lv_x_beh_type | TYPE BEH_TYPE, " | |||
| lv_x_beh_type_new | TYPE BEH_TYPE. " |
|   CALL FUNCTION 'ISU_S_CONTAINER_COUNT_CHANGE' "INTERNAL: Change Number of Containers |
| EXPORTING | ||
| X_SERVLOC | = lv_x_servloc | |
| X_OLD_COUNT | = lv_x_old_count | |
| X_NEW_COUNT | = lv_x_new_count | |
| X_CALL_FROM_RESULT | = lv_x_call_from_result | |
| X_ACTION | = lv_x_action | |
| X_ORDERITEM | = lv_x_orderitem | |
| X_TIMEBIS | = lv_x_timebis | |
| X_IBASE | = lv_x_ibase | |
| X_SERVICE_TYPE | = lv_x_service_type | |
| X_WDO_SIGN | = lv_x_wdo_sign | |
| X_CRM | = lv_x_crm | |
| X_STICHTAG | = lv_x_stichtag | |
| X_LOG_HANDLE | = lv_x_log_handle | |
| X_CREATE_LOG | = lv_x_create_log | |
| X_DEVGRP | = lv_x_devgrp | |
| X_GERAET | = lv_x_geraet | |
| X_GERAET_NEW | = lv_x_geraet_new | |
| X_BEH_TYPE | = lv_x_beh_type | |
| X_BEH_TYPE_NEW | = lv_x_beh_type_new | |
| IMPORTING | ||
| Y_NEW_DEVGRP | = lv_y_new_devgrp | |
| Y_RESULT_TAB | = lv_y_result_tab | |
| Y_IBASE | = lv_y_ibase | |
| CHANGING | ||
| XY_TMP_IBASE | = lv_xy_tmp_ibase | |
| XY_OBJ | = lv_xy_obj | |
| XT_RELATE | = lv_xt_relate | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| FOREIGN_LOCK = 2 | ||
| INTERNAL_ERROR = 3 | ||
| INPUT_ERROR = 4 | ||
| NOT_AUTHORIZED = 5 | ||
| . " ISU_S_CONTAINER_COUNT_CHANGE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_S_CONTAINER_COUNT_CHANGE
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 ACTION FROM ISU07_GER INTO @DATA(ld_x_action). | ||||
| "SELECT single STICHTAG FROM EWALOCD INTO @DATA(ld_x_stichtag). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_create_log). | ||||
Search for further information about these or an SAP related objects