SAP LE_ASSIGN_SPLITRESULT_TO_SHPMT Function Module for NOTRANSL: Zuweisung eines Splitergebnisses zu einem Transport









LE_ASSIGN_SPLITRESULT_TO_SHPMT is a standard le assign splitresult to shpmt 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: Zuweisung eines Splitergebnisses zu einem Transport 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 le assign splitresult to shpmt FM, simply by entering the name LE_ASSIGN_SPLITRESULT_TO_SHPMT into the relevant SAP transaction such as SE37 or SE38.

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



Function LE_ASSIGN_SPLITRESULT_TO_SHPMT 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 'LE_ASSIGN_SPLITRESULT_TO_SHPMT'"NOTRANSL: Zuweisung eines Splitergebnisses zu einem Transport
EXPORTING
I_XTRLK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_XTRLP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_SPLIT_WA = "

TABLES
C_XVTTP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_DELIVDEL = "Shipment Item for Logging
C_YVTTP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
C_XVTSP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
C_YVTSP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
C_XTRLK = "Delivery in Shipment: Header
C_XTRLP = "Delivery in Shipment: Item
I_XVTTP_INDEX = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_DELIV_ASSIGNMENT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_XVTTK = "Shipment Header for Logging
.



IMPORTING Parameters details for LE_ASSIGN_SPLITRESULT_TO_SHPMT

I_XTRLK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_XTRLP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_SPLIT_WA -

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

TABLES Parameters details for LE_ASSIGN_SPLITRESULT_TO_SHPMT

C_XVTTP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DELIVDEL - Shipment Item for Logging

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

C_YVTTP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

C_XVTSP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

C_YVTSP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

C_XTRLK - Delivery in Shipment: Header

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

C_XTRLP - Delivery in Shipment: Item

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

I_XVTTP_INDEX - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DELIV_ASSIGNMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_XVTTK - Shipment Header for Logging

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

Copy and paste ABAP code example for LE_ASSIGN_SPLITRESULT_TO_SHPMT 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:
lt_c_xvttp  TYPE STANDARD TABLE OF VTTPVB, "   
lv_i_xtrlk  TYPE VTRLK, "   
lt_i_delivdel  TYPE STANDARD TABLE OF VTTPVB, "   
lt_c_yvttp  TYPE STANDARD TABLE OF VTTPVB, "   
lv_i_xtrlp  TYPE LEDSP_T_VTRLP, "   
lt_c_xvtsp  TYPE STANDARD TABLE OF VTSPVB, "   
lv_i_split_wa  TYPE LEDSP_ALL, "   
lt_c_yvtsp  TYPE STANDARD TABLE OF VTSPVB, "   
lt_c_xtrlk  TYPE STANDARD TABLE OF VTRLK, "   
lt_c_xtrlp  TYPE STANDARD TABLE OF VTRLP, "   
lt_i_xvttp_index  TYPE STANDARD TABLE OF VTTPVB, "   
lt_i_deliv_assignment  TYPE STANDARD TABLE OF TRA_DELIV_ASSIGNMENT, "   
lt_i_xvttk  TYPE STANDARD TABLE OF VTTKVB. "   

  CALL FUNCTION 'LE_ASSIGN_SPLITRESULT_TO_SHPMT'  "NOTRANSL: Zuweisung eines Splitergebnisses zu einem Transport
    EXPORTING
         I_XTRLK = lv_i_xtrlk
         I_XTRLP = lv_i_xtrlp
         I_SPLIT_WA = lv_i_split_wa
    TABLES
         C_XVTTP = lt_c_xvttp
         I_DELIVDEL = lt_i_delivdel
         C_YVTTP = lt_c_yvttp
         C_XVTSP = lt_c_xvtsp
         C_YVTSP = lt_c_yvtsp
         C_XTRLK = lt_c_xtrlk
         C_XTRLP = lt_c_xtrlp
         I_XVTTP_INDEX = lt_i_xvttp_index
         I_DELIV_ASSIGNMENT = lt_i_deliv_assignment
         I_XVTTK = lt_i_xvttk
. " LE_ASSIGN_SPLITRESULT_TO_SHPMT




ABAP code using 7.40 inline data declarations to call FM LE_ASSIGN_SPLITRESULT_TO_SHPMT

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!