SD_SHIPMENT_PROCESS_EXT_CHANGE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SD_SHIPMENT_PROCESS_EXT_CHANGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
V56I_BAPI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SD_SHIPMENT_PROCESS_EXT_CHANGE' "
EXPORTING
is_hdr = " bapishipmentheader
is_hdr_action = " bapishipmentheaderaction
IMPORTING
et_logfile = " v56e_logfile
* TABLES
* it_hdr_dline = " bapishipmentheaderdeadline
* it_hdr_dline_action = " bapishipmentheaderdeadlineact
* it_itm = " bapishipmentitem
* it_itm_action = " bapishipmentitemaction
* it_stg = " bapishipmentstage
* it_stg_action = " bapishipmentstageaction
* it_stg_dline = " bapishipmentstagedeadline
* it_stg_dline_action = " bapishipmentstagedeadlineact
* it_ios = " bapishipmentitemonstage
* it_ios_action = " bapishipmentitemonstageaction
* it_addr = " bapishipmentaddress
* it_addr_action = " bapishipmentaddressaction
* it_hun_hdr = " bapishipmenthdunheader
* it_hun_hdr_action = " bapishipmenthdunheaderaction
* it_hun_itm = " bapishipmenthdunitem
* it_hun_itm_action = " bapishipmenthdunitemaction
CHANGING
es_activities = " v56e_shipment_activities
es_shipment = " v56e_shipment
EXCEPTIONS
PROGRAMM_ERROR = 1 "
INPUT_INCONSISTENT = 2 "
PROCESSING_FAILED = 3 "
ISO_CONVERSION_FAILED = 4 "
READ_FAILED = 5 "
. " SD_SHIPMENT_PROCESS_EXT_CHANGE
The ABAP code below is a full code listing to execute function module SD_SHIPMENT_PROCESS_EXT_CHANGE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_et_logfile | TYPE V56E_LOGFILE , |
| it_it_hdr_dline | TYPE STANDARD TABLE OF BAPISHIPMENTHEADERDEADLINE,"TABLES PARAM |
| wa_it_hdr_dline | LIKE LINE OF it_it_hdr_dline , |
| it_it_hdr_dline_action | TYPE STANDARD TABLE OF BAPISHIPMENTHEADERDEADLINEACT,"TABLES PARAM |
| wa_it_hdr_dline_action | LIKE LINE OF it_it_hdr_dline_action , |
| it_it_itm | TYPE STANDARD TABLE OF BAPISHIPMENTITEM,"TABLES PARAM |
| wa_it_itm | LIKE LINE OF it_it_itm , |
| it_it_itm_action | TYPE STANDARD TABLE OF BAPISHIPMENTITEMACTION,"TABLES PARAM |
| wa_it_itm_action | LIKE LINE OF it_it_itm_action , |
| it_it_stg | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGE,"TABLES PARAM |
| wa_it_stg | LIKE LINE OF it_it_stg , |
| it_it_stg_action | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEACTION,"TABLES PARAM |
| wa_it_stg_action | LIKE LINE OF it_it_stg_action , |
| it_it_stg_dline | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEDEADLINE,"TABLES PARAM |
| wa_it_stg_dline | LIKE LINE OF it_it_stg_dline , |
| it_it_stg_dline_action | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEDEADLINEACT,"TABLES PARAM |
| wa_it_stg_dline_action | LIKE LINE OF it_it_stg_dline_action , |
| it_it_ios | TYPE STANDARD TABLE OF BAPISHIPMENTITEMONSTAGE,"TABLES PARAM |
| wa_it_ios | LIKE LINE OF it_it_ios , |
| it_it_ios_action | TYPE STANDARD TABLE OF BAPISHIPMENTITEMONSTAGEACTION,"TABLES PARAM |
| wa_it_ios_action | LIKE LINE OF it_it_ios_action , |
| it_it_addr | TYPE STANDARD TABLE OF BAPISHIPMENTADDRESS,"TABLES PARAM |
| wa_it_addr | LIKE LINE OF it_it_addr , |
| it_it_addr_action | TYPE STANDARD TABLE OF BAPISHIPMENTADDRESSACTION,"TABLES PARAM |
| wa_it_addr_action | LIKE LINE OF it_it_addr_action , |
| it_it_hun_hdr | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNHEADER,"TABLES PARAM |
| wa_it_hun_hdr | LIKE LINE OF it_it_hun_hdr , |
| it_it_hun_hdr_action | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNHEADERACTION,"TABLES PARAM |
| wa_it_hun_hdr_action | LIKE LINE OF it_it_hun_hdr_action , |
| it_it_hun_itm | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNITEM,"TABLES PARAM |
| wa_it_hun_itm | LIKE LINE OF it_it_hun_itm , |
| it_it_hun_itm_action | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNITEMACTION,"TABLES PARAM |
| wa_it_hun_itm_action | LIKE LINE OF it_it_hun_itm_action . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_es_activities | TYPE V56E_SHIPMENT_ACTIVITIES , |
| ld_et_logfile | TYPE V56E_LOGFILE , |
| ld_is_hdr | TYPE BAPISHIPMENTHEADER , |
| it_it_hdr_dline | TYPE STANDARD TABLE OF BAPISHIPMENTHEADERDEADLINE , |
| wa_it_hdr_dline | LIKE LINE OF it_it_hdr_dline, |
| ld_es_shipment | TYPE V56E_SHIPMENT , |
| ld_is_hdr_action | TYPE BAPISHIPMENTHEADERACTION , |
| it_it_hdr_dline_action | TYPE STANDARD TABLE OF BAPISHIPMENTHEADERDEADLINEACT , |
| wa_it_hdr_dline_action | LIKE LINE OF it_it_hdr_dline_action, |
| it_it_itm | TYPE STANDARD TABLE OF BAPISHIPMENTITEM , |
| wa_it_itm | LIKE LINE OF it_it_itm, |
| it_it_itm_action | TYPE STANDARD TABLE OF BAPISHIPMENTITEMACTION , |
| wa_it_itm_action | LIKE LINE OF it_it_itm_action, |
| it_it_stg | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGE , |
| wa_it_stg | LIKE LINE OF it_it_stg, |
| it_it_stg_action | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEACTION , |
| wa_it_stg_action | LIKE LINE OF it_it_stg_action, |
| it_it_stg_dline | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEDEADLINE , |
| wa_it_stg_dline | LIKE LINE OF it_it_stg_dline, |
| it_it_stg_dline_action | TYPE STANDARD TABLE OF BAPISHIPMENTSTAGEDEADLINEACT , |
| wa_it_stg_dline_action | LIKE LINE OF it_it_stg_dline_action, |
| it_it_ios | TYPE STANDARD TABLE OF BAPISHIPMENTITEMONSTAGE , |
| wa_it_ios | LIKE LINE OF it_it_ios, |
| it_it_ios_action | TYPE STANDARD TABLE OF BAPISHIPMENTITEMONSTAGEACTION , |
| wa_it_ios_action | LIKE LINE OF it_it_ios_action, |
| it_it_addr | TYPE STANDARD TABLE OF BAPISHIPMENTADDRESS , |
| wa_it_addr | LIKE LINE OF it_it_addr, |
| it_it_addr_action | TYPE STANDARD TABLE OF BAPISHIPMENTADDRESSACTION , |
| wa_it_addr_action | LIKE LINE OF it_it_addr_action, |
| it_it_hun_hdr | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNHEADER , |
| wa_it_hun_hdr | LIKE LINE OF it_it_hun_hdr, |
| it_it_hun_hdr_action | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNHEADERACTION , |
| wa_it_hun_hdr_action | LIKE LINE OF it_it_hun_hdr_action, |
| it_it_hun_itm | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNITEM , |
| wa_it_hun_itm | LIKE LINE OF it_it_hun_itm, |
| it_it_hun_itm_action | TYPE STANDARD TABLE OF BAPISHIPMENTHDUNITEMACTION , |
| wa_it_hun_itm_action | LIKE LINE OF it_it_hun_itm_action. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SD_SHIPMENT_PROCESS_EXT_CHANGE or its description.