SAP SHP_DELIVERY_READ_SINGLE Function Module for NOTRANSL: Gepuffertes Nachlesen SD-Auftrags_Einteilung
SHP_DELIVERY_READ_SINGLE is a standard shp delivery read single 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: Gepuffertes Nachlesen SD-Auftrags_Einteilung 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 shp delivery read single FM, simply by entering the name SHP_DELIVERY_READ_SINGLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: V50R
Program Name: SAPLV50R
Main Program: SAPLV50R
Appliation area: D
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SHP_DELIVERY_READ_SINGLE 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 'SHP_DELIVERY_READ_SINGLE'"NOTRANSL: Gepuffertes Nachlesen SD-Auftrags_Einteilung.
EXPORTING
IF_VBELN = "
IS_BUFFERING = "
* IS_GENERIC_CRITERIA = "
CHANGING
CS_DELIVERY = "
EXCEPTIONS
NO_RECORD_FOUND = 1 NO_KEY_SPECIFIED = 2
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_SAPLV50R_001 Calculation of stock for shipping due date list
EXIT_SAPLV50R_CREA_001 Data Transfer - BAPI Interface External -> Internal
EXIT_SAPLV50R_CREA_002 SD Data Transfer: BAPI Interface Internal -> Delivery Creation
EXIT_SAPLV50R_CREA_003 Data Transfer MM: BAPI Interface Internal -> Delivery Creation
EXIT_SAPLV50R_VIEW_001 Calculation of stock for shipping due date list
EXIT_SAPLV50R_VIEW_002 Calculation of Stock for POs for Shipping Due Date List
IMPORTING Parameters details for SHP_DELIVERY_READ_SINGLE
IF_VBELN -
Data type: VBELNOptional: No
Call by Reference: Yes
IS_BUFFERING -
Data type: SHP_VL10_BUFFERINGOptional: No
Call by Reference: Yes
IS_GENERIC_CRITERIA -
Data type: LESHP_DELIVERY_SELECT_OPTIONS2Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for SHP_DELIVERY_READ_SINGLE
CS_DELIVERY -
Data type: SHP_VL10_DELIVERYOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_RECORD_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_KEY_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SHP_DELIVERY_READ_SINGLE 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_if_vbeln | TYPE VBELN, " | |||
| lv_cs_delivery | TYPE SHP_VL10_DELIVERY, " | |||
| lv_no_record_found | TYPE SHP_VL10_DELIVERY, " | |||
| lv_is_buffering | TYPE SHP_VL10_BUFFERING, " | |||
| lv_no_key_specified | TYPE SHP_VL10_BUFFERING, " | |||
| lv_is_generic_criteria | TYPE LESHP_DELIVERY_SELECT_OPTIONS2. " |
|   CALL FUNCTION 'SHP_DELIVERY_READ_SINGLE' "NOTRANSL: Gepuffertes Nachlesen SD-Auftrags_Einteilung |
| EXPORTING | ||
| IF_VBELN | = lv_if_vbeln | |
| IS_BUFFERING | = lv_is_buffering | |
| IS_GENERIC_CRITERIA | = lv_is_generic_criteria | |
| CHANGING | ||
| CS_DELIVERY | = lv_cs_delivery | |
| EXCEPTIONS | ||
| NO_RECORD_FOUND = 1 | ||
| NO_KEY_SPECIFIED = 2 | ||
| . " SHP_DELIVERY_READ_SINGLE | ||
ABAP code using 7.40 inline data declarations to call FM SHP_DELIVERY_READ_SINGLE
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