SAP SD_PARTNER_UNLOADING_POINT Function Module for









SD_PARTNER_UNLOADING_POINT is a standard sd partner unloading point SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sd partner unloading point FM, simply by entering the name SD_PARTNER_UNLOADING_POINT into the relevant SAP transaction such as SE37 or SE38.

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



Function SD_PARTNER_UNLOADING_POINT 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 'SD_PARTNER_UNLOADING_POINT'"
EXPORTING
I_MANDT = "Client
I_VBELN = "Sales and Distribution Document Number
I_POSNR = "Item Number of Sales Document
I_ABLAD = "Unloading Point
* I_ANLEG = "

TABLES
T_XVBPA = "
T_YVBPA = "
T_XVBUV = "
T_HVBUV = "
.



IMPORTING Parameters details for SD_PARTNER_UNLOADING_POINT

I_MANDT - Client

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

I_VBELN - Sales and Distribution Document Number

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

I_POSNR - Item Number of Sales Document

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

I_ABLAD - Unloading Point

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

I_ANLEG -

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

TABLES Parameters details for SD_PARTNER_UNLOADING_POINT

T_XVBPA -

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

T_YVBPA -

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

T_XVBUV -

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

T_HVBUV -

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

Copy and paste ABAP code example for SD_PARTNER_UNLOADING_POINT 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_i_mandt  TYPE VBPA-MANDT, "   
lt_t_xvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lv_i_vbeln  TYPE VBPA-VBELN, "   
lt_t_yvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lv_i_posnr  TYPE VBPA-POSNR, "   
lt_t_xvbuv  TYPE STANDARD TABLE OF VBUVVB, "   
lv_i_ablad  TYPE VBPA-ABLAD, "   
lt_t_hvbuv  TYPE STANDARD TABLE OF VBUVVB, "   
lv_i_anleg  TYPE C. "   

  CALL FUNCTION 'SD_PARTNER_UNLOADING_POINT'  "
    EXPORTING
         I_MANDT = lv_i_mandt
         I_VBELN = lv_i_vbeln
         I_POSNR = lv_i_posnr
         I_ABLAD = lv_i_ablad
         I_ANLEG = lv_i_anleg
    TABLES
         T_XVBPA = lt_t_xvbpa
         T_YVBPA = lt_t_yvbpa
         T_XVBUV = lt_t_xvbuv
         T_HVBUV = lt_t_hvbuv
. " SD_PARTNER_UNLOADING_POINT




ABAP code using 7.40 inline data declarations to call FM SD_PARTNER_UNLOADING_POINT

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 MANDT FROM VBPA INTO @DATA(ld_i_mandt).
 
 
"SELECT single VBELN FROM VBPA INTO @DATA(ld_i_vbeln).
 
 
"SELECT single POSNR FROM VBPA INTO @DATA(ld_i_posnr).
 
 
"SELECT single ABLAD FROM VBPA INTO @DATA(ld_i_ablad).
 
 
 


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!