SAP ALE_TRLSRVAPS_SAVEMULTI Function Module for BAPI -> IDoc: ALE_TRLSRVAPS_SAVEMULTI









ALE_TRLSRVAPS_SAVEMULTI is a standard ale trlsrvaps savemulti SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI -> IDoc: ALE_TRLSRVAPS_SAVEMULTI 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 ale trlsrvaps savemulti FM, simply by entering the name ALE_TRLSRVAPS_SAVEMULTI into the relevant SAP transaction such as SE37 or SE38.

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



Function ALE_TRLSRVAPS_SAVEMULTI 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 'ALE_TRLSRVAPS_SAVEMULTI'"BAPI -> IDoc: ALE_TRLSRVAPS_SAVEMULTI
EXPORTING
LOGICALSYSTEM = "
* BUSINESSSYSTEMGROUP = "
MODEL = "Modellname im Supply Chain Netzwerk
* COMMITCONTROL = ' ' "
* AUTODELETE = ' ' "
* OBJ_TYPE = 'BUS11201' "
* SERIAL_ID = '0' "

TABLES
* TRANSPORTLANE = "
* CARRIERX = "Änderungsparameter zu Transportdienstleister
* EXTENSIONIN = "
* PRODPROCUREMENTVERSION = "
* PRODPROCUREMENTVERSIONX = "
RECEIVERS = "
* COMMUNICATION_DOCUMENTS = "
* APPLICATION_OBJECTS = "
* TRANSPORTLANEX = "
* PRODPROCUREMENT = "
* PRODPROCUREMENTX = "
* MEANSOFTRANSPORT = "
* MEANSOFTRANSPORTX = "
* PRODMEANSOFTRANSPORT = "
* PRODMEANSOFTRANSPORTX = "
* CARRIER = "Transportdienstleister (TRMCARR).

EXCEPTIONS
ERROR_CREATING_IDOCS = 1
.



IMPORTING Parameters details for ALE_TRLSRVAPS_SAVEMULTI

LOGICALSYSTEM -

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

BUSINESSSYSTEMGROUP -

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

MODEL - Modellname im Supply Chain Netzwerk

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

COMMITCONTROL -

Data type: BAPI11201GENFIELDS-COMMCTRL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTODELETE -

Data type: BAPI11201GENFIELDS-AUTO_DELETE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJ_TYPE -

Data type: SERIAL-OBJ_TYPE
Default: 'BUS11201'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SERIAL_ID -

Data type: SERIAL-CHNUM
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ALE_TRLSRVAPS_SAVEMULTI

TRANSPORTLANE -

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

CARRIERX - Änderungsparameter zu Transportdienstleister

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

EXTENSIONIN -

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

PRODPROCUREMENTVERSION -

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

PRODPROCUREMENTVERSIONX -

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

RECEIVERS -

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

COMMUNICATION_DOCUMENTS -

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

APPLICATION_OBJECTS -

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

TRANSPORTLANEX -

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

PRODPROCUREMENT -

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

PRODPROCUREMENTX -

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

MEANSOFTRANSPORT -

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

MEANSOFTRANSPORTX -

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

PRODMEANSOFTRANSPORT -

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

PRODMEANSOFTRANSPORTX -

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

CARRIER - Transportdienstleister (TRMCARR).

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

EXCEPTIONS details

ERROR_CREATING_IDOCS -

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

Copy and paste ABAP code example for ALE_TRLSRVAPS_SAVEMULTI 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_logicalsystem  TYPE BAPISCMBGENFIELDS-LOGICAL_SYSTEM, "   
lt_transportlane  TYPE STANDARD TABLE OF BAPI11201TRLANE, "   
lv_error_creating_idocs  TYPE BAPI11201TRLANE, "   
lt_carrierx  TYPE STANDARD TABLE OF BAPI11201CARRIERX, "   
lt_extensionin  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_prodprocurementversion  TYPE STANDARD TABLE OF BAPI11201SOURCESVERS, "   
lt_prodprocurementversionx  TYPE STANDARD TABLE OF BAPI11201SOURCESVERSX, "   
lt_receivers  TYPE STANDARD TABLE OF BDI_LOGSYS, "   
lt_communication_documents  TYPE STANDARD TABLE OF SWOTOBJID, "   
lt_application_objects  TYPE STANDARD TABLE OF SWOTOBJID, "   
lt_transportlanex  TYPE STANDARD TABLE OF BAPI11201TRLANEX, "   
lv_businesssystemgroup  TYPE BAPISCMBGENFIELDS-LOGQS, "   
lv_model  TYPE BAPI11201GENFIELDS-MODEL, "   
lt_prodprocurement  TYPE STANDARD TABLE OF BAPI11201SOURCES, "   
lv_commitcontrol  TYPE BAPI11201GENFIELDS-COMMCTRL, "   SPACE
lt_prodprocurementx  TYPE STANDARD TABLE OF BAPI11201SOURCESX, "   
lv_autodelete  TYPE BAPI11201GENFIELDS-AUTO_DELETE, "   SPACE
lt_meansoftransport  TYPE STANDARD TABLE OF BAPI11201MEANSOFTRANSP, "   
lv_obj_type  TYPE SERIAL-OBJ_TYPE, "   'BUS11201'
lt_meansoftransportx  TYPE STANDARD TABLE OF BAPI11201MEANSOFTRANSPX, "   
lv_serial_id  TYPE SERIAL-CHNUM, "   '0'
lt_prodmeansoftransport  TYPE STANDARD TABLE OF BAPI11201PRDMEANSOFTRANSP, "   
lt_prodmeansoftransportx  TYPE STANDARD TABLE OF BAPI11201PRDMEANSOFTRANSPX, "   
lt_carrier  TYPE STANDARD TABLE OF BAPI11201CARRIER. "   

  CALL FUNCTION 'ALE_TRLSRVAPS_SAVEMULTI'  "BAPI -> IDoc: ALE_TRLSRVAPS_SAVEMULTI
    EXPORTING
         LOGICALSYSTEM = lv_logicalsystem
         BUSINESSSYSTEMGROUP = lv_businesssystemgroup
         MODEL = lv_model
         COMMITCONTROL = lv_commitcontrol
         AUTODELETE = lv_autodelete
         OBJ_TYPE = lv_obj_type
         SERIAL_ID = lv_serial_id
    TABLES
         TRANSPORTLANE = lt_transportlane
         CARRIERX = lt_carrierx
         EXTENSIONIN = lt_extensionin
         PRODPROCUREMENTVERSION = lt_prodprocurementversion
         PRODPROCUREMENTVERSIONX = lt_prodprocurementversionx
         RECEIVERS = lt_receivers
         COMMUNICATION_DOCUMENTS = lt_communication_documents
         APPLICATION_OBJECTS = lt_application_objects
         TRANSPORTLANEX = lt_transportlanex
         PRODPROCUREMENT = lt_prodprocurement
         PRODPROCUREMENTX = lt_prodprocurementx
         MEANSOFTRANSPORT = lt_meansoftransport
         MEANSOFTRANSPORTX = lt_meansoftransportx
         PRODMEANSOFTRANSPORT = lt_prodmeansoftransport
         PRODMEANSOFTRANSPORTX = lt_prodmeansoftransportx
         CARRIER = lt_carrier
    EXCEPTIONS
        ERROR_CREATING_IDOCS = 1
. " ALE_TRLSRVAPS_SAVEMULTI




ABAP code using 7.40 inline data declarations to call FM ALE_TRLSRVAPS_SAVEMULTI

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 LOGICAL_SYSTEM FROM BAPISCMBGENFIELDS INTO @DATA(ld_logicalsystem).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single LOGQS FROM BAPISCMBGENFIELDS INTO @DATA(ld_businesssystemgroup).
 
"SELECT single MODEL FROM BAPI11201GENFIELDS INTO @DATA(ld_model).
 
 
"SELECT single COMMCTRL FROM BAPI11201GENFIELDS INTO @DATA(ld_commitcontrol).
DATA(ld_commitcontrol) = ' '.
 
 
"SELECT single AUTO_DELETE FROM BAPI11201GENFIELDS INTO @DATA(ld_autodelete).
DATA(ld_autodelete) = ' '.
 
 
"SELECT single OBJ_TYPE FROM SERIAL INTO @DATA(ld_obj_type).
DATA(ld_obj_type) = 'BUS11201'.
 
 
"SELECT single CHNUM FROM SERIAL INTO @DATA(ld_serial_id).
DATA(ld_serial_id) = '0'.
 
 
 
 


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!