SAP SD_SHIPMENT_HEADERS_CHANGE_DIA Function Module for NOTRANSL: Massenänderung des Transportkopfes









SD_SHIPMENT_HEADERS_CHANGE_DIA is a standard sd shipment headers change dia 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: Massenänderung des Transportkopfes 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 sd shipment headers change dia FM, simply by entering the name SD_SHIPMENT_HEADERS_CHANGE_DIA into the relevant SAP transaction such as SE37 or SE38.

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



Function SD_SHIPMENT_HEADERS_CHANGE_DIA 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_SHIPMENT_HEADERS_CHANGE_DIA'"NOTRANSL: Massenänderung des Transportkopfes
EXPORTING
* I_IN_POPUP = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_READ_SHIPMENTS = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DO_NOT_SAVE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_TAB_TO_DISPLAY = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
* IT_VTTK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* XVBPA = "
* YVBPA = "
* XSADR = "
* YSADR = "
* XVTFA = "
* YVTFA = "
* XTRLK = "
* XTRLP = "
* XVTTK = "
* YVTTK = "
* XVTTP = "
* YVTTP = "
* XVTTS = "
* YVTTS = "
* XVTSP = "
* YVTSP = "
.




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_SAPLV56B_001 Transportation Processing: Field Modification

IMPORTING Parameters details for SD_SHIPMENT_HEADERS_CHANGE_DIA

I_IN_POPUP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_READ_SHIPMENTS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DO_NOT_SAVE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_TAB_TO_DISPLAY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for SD_SHIPMENT_HEADERS_CHANGE_DIA

IT_VTTK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

XVBPA -

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

YVBPA -

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

XSADR -

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

YSADR -

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

XVTFA -

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

YVTFA -

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

XTRLK -

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

XTRLP -

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

XVTTK -

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

YVTTK -

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

XVTTP -

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

YVTTP -

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

XVTTS -

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

YVTTS -

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

XVTSP -

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

YVTSP -

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

Copy and paste ABAP code example for SD_SHIPMENT_HEADERS_CHANGE_DIA 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_it_vttk  TYPE STANDARD TABLE OF VTTK_ALV, "   
lv_i_in_popup  TYPE C, "   ' '
lt_xvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lt_yvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lt_xsadr  TYPE STANDARD TABLE OF SADRVB, "   
lt_ysadr  TYPE STANDARD TABLE OF SADRVB, "   
lt_xvtfa  TYPE STANDARD TABLE OF VTFAVB, "   
lt_yvtfa  TYPE STANDARD TABLE OF VTFAVB, "   
lt_xtrlk  TYPE STANDARD TABLE OF VTRLK, "   
lt_xtrlp  TYPE STANDARD TABLE OF VTRLP, "   
lt_xvttk  TYPE STANDARD TABLE OF VTTKVB, "   
lv_i_read_shipments  TYPE C, "   'X'
lt_yvttk  TYPE STANDARD TABLE OF VTTKVB, "   
lv_i_do_not_save  TYPE C, "   ' '
lt_xvttp  TYPE STANDARD TABLE OF VTTPVB, "   
lv_i_tab_to_display  TYPE SY-UCOMM, "   
lt_yvttp  TYPE STANDARD TABLE OF VTTPVB, "   
lt_xvtts  TYPE STANDARD TABLE OF VTTSVB, "   
lt_yvtts  TYPE STANDARD TABLE OF VTTSVB, "   
lt_xvtsp  TYPE STANDARD TABLE OF VTSPVB, "   
lt_yvtsp  TYPE STANDARD TABLE OF VTSPVB. "   

  CALL FUNCTION 'SD_SHIPMENT_HEADERS_CHANGE_DIA'  "NOTRANSL: Massenänderung des Transportkopfes
    EXPORTING
         I_IN_POPUP = lv_i_in_popup
         I_READ_SHIPMENTS = lv_i_read_shipments
         I_DO_NOT_SAVE = lv_i_do_not_save
         I_TAB_TO_DISPLAY = lv_i_tab_to_display
    TABLES
         IT_VTTK = lt_it_vttk
         XVBPA = lt_xvbpa
         YVBPA = lt_yvbpa
         XSADR = lt_xsadr
         YSADR = lt_ysadr
         XVTFA = lt_xvtfa
         YVTFA = lt_yvtfa
         XTRLK = lt_xtrlk
         XTRLP = lt_xtrlp
         XVTTK = lt_xvttk
         YVTTK = lt_yvttk
         XVTTP = lt_xvttp
         YVTTP = lt_yvttp
         XVTTS = lt_xvtts
         YVTTS = lt_yvtts
         XVTSP = lt_xvtsp
         YVTSP = lt_yvtsp
. " SD_SHIPMENT_HEADERS_CHANGE_DIA




ABAP code using 7.40 inline data declarations to call FM SD_SHIPMENT_HEADERS_CHANGE_DIA

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_i_in_popup) = ' '.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_read_shipments) = 'X'.
 
 
DATA(ld_i_do_not_save) = ' '.
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_i_tab_to_display).
 
 
 
 
 
 


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!