SAP BORSHP_APPEND_SHPM_ALL Function Module for NOTRANSL: Lieferung in Shipments einhängen









BORSHP_APPEND_SHPM_ALL is a standard borshp append shpm all 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: Lieferung in Shipments einhängen 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 borshp append shpm all FM, simply by entering the name BORSHP_APPEND_SHPM_ALL into the relevant SAP transaction such as SE37 or SE38.

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



Function BORSHP_APPEND_SHPM_ALL 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 'BORSHP_APPEND_SHPM_ALL'"NOTRANSL: Lieferung in Shipments einhängen
EXPORTING
IS_LIKP = "Reference structure for XLIKP/YLIKP
I_TRSTA = "Transportation planning status
* I_USE_UPDATE_TASK = "Checkbox

IMPORTING
ET_BORGR_VTTP_NOEX = "Table Type for BORGR_VTTP_NOEX

EXCEPTIONS
ASN_NOT_SHPM_RELEVANT = 1 OPERATION_FAILED = 2 COULD_NOT_LOCK = 3
.



IMPORTING Parameters details for BORSHP_APPEND_SHPM_ALL

IS_LIKP - Reference structure for XLIKP/YLIKP

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

I_TRSTA - Transportation planning status

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

I_USE_UPDATE_TASK - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for BORSHP_APPEND_SHPM_ALL

ET_BORGR_VTTP_NOEX - Table Type for BORGR_VTTP_NOEX

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

EXCEPTIONS details

ASN_NOT_SHPM_RELEVANT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

OPERATION_FAILED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

COULD_NOT_LOCK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BORSHP_APPEND_SHPM_ALL 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_is_likp  TYPE LIKPVB, "   
lv_et_borgr_vttp_noex  TYPE BORGR_VTTP_NOEX_T, "   
lv_asn_not_shpm_relevant  TYPE BORGR_VTTP_NOEX_T, "   
lv_i_trsta  TYPE TRSTA, "   
lv_operation_failed  TYPE TRSTA, "   
lv_could_not_lock  TYPE TRSTA, "   
lv_i_use_update_task  TYPE XFELD. "   

  CALL FUNCTION 'BORSHP_APPEND_SHPM_ALL'  "NOTRANSL: Lieferung in Shipments einhängen
    EXPORTING
         IS_LIKP = lv_is_likp
         I_TRSTA = lv_i_trsta
         I_USE_UPDATE_TASK = lv_i_use_update_task
    IMPORTING
         ET_BORGR_VTTP_NOEX = lv_et_borgr_vttp_noex
    EXCEPTIONS
        ASN_NOT_SHPM_RELEVANT = 1
        OPERATION_FAILED = 2
        COULD_NOT_LOCK = 3
. " BORSHP_APPEND_SHPM_ALL




ABAP code using 7.40 inline data declarations to call FM BORSHP_APPEND_SHPM_ALL

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!