SAP ISU_WA_CREATE_SD_ALLOCATION Function Module for Fill EWAELOCSD in Case of No Dialog









ISU_WA_CREATE_SD_ALLOCATION is a standard isu wa create sd allocation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill EWAELOCSD in Case of No Dialog 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 wa create sd allocation FM, simply by entering the name ISU_WA_CREATE_SD_ALLOCATION 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:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_WA_CREATE_SD_ALLOCATION 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_WA_CREATE_SD_ALLOCATION'"Fill EWAELOCSD in Case of No Dialog
EXPORTING
X_VBELN = "Sales and Distribution Document Number
X_POSNR = "Item Number of the SD Document
X_DATE = "Date from Which a Time Slice is Valid
* X_BEH_TYPE = "Container Category
* X_CALLED_BY = 'MDG' "3-Byte Field
X_SERVLOC = "Location of Container
X_SERNR = "BOM Explosion Number

CHANGING
* XY_OBJ = "Object Structure for Container Location Management
.




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_WA_CREATE_SD_ALLOCATION

X_VBELN - Sales and Distribution Document Number

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

X_POSNR - Item Number of the SD Document

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

X_DATE - Date from Which a Time Slice is Valid

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

X_BEH_TYPE - Container Category

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

X_CALLED_BY - 3-Byte Field

Data type: CHAR3
Default: 'MDG'
Optional: No
Call by Reference: Yes

X_SERVLOC - Location of Container

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

X_SERNR - BOM Explosion Number

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

CHANGING Parameters details for ISU_WA_CREATE_SD_ALLOCATION

XY_OBJ - Object Structure for Container Location Management

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

Copy and paste ABAP code example for ISU_WA_CREATE_SD_ALLOCATION 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_xy_obj  TYPE ISUWA_SERVLOC, "   
lv_x_vbeln  TYPE VBELN, "   
lv_x_posnr  TYPE POSNR, "   
lv_x_date  TYPE ABZEITSCH, "   
lv_x_beh_type  TYPE BEH_TYPE, "   
lv_x_called_by  TYPE CHAR3, "   'MDG'
lv_x_servloc  TYPE SERVLOC, "   
lv_x_sernr  TYPE SERNR. "   

  CALL FUNCTION 'ISU_WA_CREATE_SD_ALLOCATION'  "Fill EWAELOCSD in Case of No Dialog
    EXPORTING
         X_VBELN = lv_x_vbeln
         X_POSNR = lv_x_posnr
         X_DATE = lv_x_date
         X_BEH_TYPE = lv_x_beh_type
         X_CALLED_BY = lv_x_called_by
         X_SERVLOC = lv_x_servloc
         X_SERNR = lv_x_sernr
    CHANGING
         XY_OBJ = lv_xy_obj
. " ISU_WA_CREATE_SD_ALLOCATION




ABAP code using 7.40 inline data declarations to call FM ISU_WA_CREATE_SD_ALLOCATION

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.

 
 
 
 
 
DATA(ld_x_called_by) = 'MDG'.
 
 
 


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!