SAP ASSORTMENT_MAINTAINDATA_BATCH Function Module for NOTRANSL: Aufruf von BAPI_ASSORTMENT_MAINTAINDATA in der Verbuchung









ASSORTMENT_MAINTAINDATA_BATCH is a standard assortment maintaindata batch SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Aufruf von BAPI_ASSORTMENT_MAINTAINDATA in der Verbuchung 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 assortment maintaindata batch FM, simply by entering the name ASSORTMENT_MAINTAINDATA_BATCH into the relevant SAP transaction such as SE37 or SE38.

Function Group: 1070
Program Name: SAPL1070
Main Program: SAPL1070
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1



Function ASSORTMENT_MAINTAINDATA_BATCH 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 'ASSORTMENT_MAINTAINDATA_BATCH'"NOTRANSL: Aufruf von BAPI_ASSORTMENT_MAINTAINDATA in der Verbuchung
EXPORTING
ASSORTMENT = "
ASSORTMENTX = "

TABLES
* MATERIALGROUP = "
* MATERIALGROUPX = "
* DESCRIPTION = "
* DESCRIPTIONX = "
* ASSORTMENTUSERS = "
* ASSORTMENTUSERSX = "
.



IMPORTING Parameters details for ASSORTMENT_MAINTAINDATA_BATCH

ASSORTMENT -

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

ASSORTMENTX -

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

TABLES Parameters details for ASSORTMENT_MAINTAINDATA_BATCH

MATERIALGROUP -

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

MATERIALGROUPX -

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

DESCRIPTION -

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

DESCRIPTIONX -

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

ASSORTMENTUSERS -

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

ASSORTMENTUSERSX -

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

Copy and paste ABAP code example for ASSORTMENT_MAINTAINDATA_BATCH 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_assortment  TYPE BAPIE1WRS1, "   
lt_materialgroup  TYPE STANDARD TABLE OF BAPIE1WRS6, "   
lv_assortmentx  TYPE BAPIE1WRS1X, "   
lt_materialgroupx  TYPE STANDARD TABLE OF BAPIE1WRS6X, "   
lt_description  TYPE STANDARD TABLE OF BAPIE1WRST, "   
lt_descriptionx  TYPE STANDARD TABLE OF BAPIE1WRSTX, "   
lt_assortmentusers  TYPE STANDARD TABLE OF BAPIE1WRSZ, "   
lt_assortmentusersx  TYPE STANDARD TABLE OF BAPIE1WRSZX. "   

  CALL FUNCTION 'ASSORTMENT_MAINTAINDATA_BATCH'  "NOTRANSL: Aufruf von BAPI_ASSORTMENT_MAINTAINDATA in der Verbuchung
    EXPORTING
         ASSORTMENT = lv_assortment
         ASSORTMENTX = lv_assortmentx
    TABLES
         MATERIALGROUP = lt_materialgroup
         MATERIALGROUPX = lt_materialgroupx
         DESCRIPTION = lt_description
         DESCRIPTIONX = lt_descriptionx
         ASSORTMENTUSERS = lt_assortmentusers
         ASSORTMENTUSERSX = lt_assortmentusersx
. " ASSORTMENT_MAINTAINDATA_BATCH




ABAP code using 7.40 inline data declarations to call FM ASSORTMENT_MAINTAINDATA_BATCH

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!