SAP LE_SHP_DLV_OUTP_READ_PRTDATA Function Module for NOTRANSL: Lieferscheindaten von Datenbanktabellen in Drucktabellen schreib
LE_SHP_DLV_OUTP_READ_PRTDATA is a standard le shp dlv outp read prtdata 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: Lieferscheindaten von Datenbanktabellen in Drucktabellen schreib 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 le shp dlv outp read prtdata FM, simply by entering the name LE_SHP_DLV_OUTP_READ_PRTDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: LE_SHP_OUTPUT
Program Name: SAPLLE_SHP_OUTPUT
Main Program: SAPLLE_SHP_OUTPUT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LE_SHP_DLV_OUTP_READ_PRTDATA 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 'LE_SHP_DLV_OUTP_READ_PRTDATA'"NOTRANSL: Lieferscheindaten von Datenbanktabellen in Drucktabellen schreib.
EXPORTING
IS_DELIVERY_KEY = "Delivery
IS_PRINT_DATA_TO_READ = "Selection of Tables to be Filled for Print LD00; SmartForms
IF_PARVW = "Partner Role
IF_PARNR = "Number of Contact Person
IF_LANGUAGE = "Output Language
IMPORTING
ES_DLV_DELNOTE = "Delivery Note Data: Transfer-Structure for Smartform
EXCEPTIONS
RECORDS_NOT_FOUND = 1 RECORDS_NOT_REQUESTED = 2 OTHERS = 3
IMPORTING Parameters details for LE_SHP_DLV_OUTP_READ_PRTDATA
IS_DELIVERY_KEY - Delivery
Data type: LESHP_DELIVERY_KEYOptional: No
Call by Reference: Yes
IS_PRINT_DATA_TO_READ - Selection of Tables to be Filled for Print LD00; SmartForms
Data type: LEDLV_PRINT_DATA_TO_READOptional: No
Call by Reference: Yes
IF_PARVW - Partner Role
Data type: NAST-PARVWOptional: No
Call by Reference: Yes
IF_PARNR - Number of Contact Person
Data type: NAST-PARNROptional: No
Call by Reference: Yes
IF_LANGUAGE - Output Language
Data type: NAST-SPRASOptional: No
Call by Reference: Yes
EXPORTING Parameters details for LE_SHP_DLV_OUTP_READ_PRTDATA
ES_DLV_DELNOTE - Delivery Note Data: Transfer-Structure for Smartform
Data type: LEDLV_DELNOTEOptional: No
Call by Reference: Yes
EXCEPTIONS details
RECORDS_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
RECORDS_NOT_REQUESTED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
OTHERS -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LE_SHP_DLV_OUTP_READ_PRTDATA 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_es_dlv_delnote | TYPE LEDLV_DELNOTE, " | |||
| lv_is_delivery_key | TYPE LESHP_DELIVERY_KEY, " | |||
| lv_records_not_found | TYPE LESHP_DELIVERY_KEY, " | |||
| lv_is_print_data_to_read | TYPE LEDLV_PRINT_DATA_TO_READ, " | |||
| lv_records_not_requested | TYPE LEDLV_PRINT_DATA_TO_READ, " | |||
| lv_others | TYPE LEDLV_PRINT_DATA_TO_READ, " | |||
| lv_if_parvw | TYPE NAST-PARVW, " | |||
| lv_if_parnr | TYPE NAST-PARNR, " | |||
| lv_if_language | TYPE NAST-SPRAS. " |
|   CALL FUNCTION 'LE_SHP_DLV_OUTP_READ_PRTDATA' "NOTRANSL: Lieferscheindaten von Datenbanktabellen in Drucktabellen schreib |
| EXPORTING | ||
| IS_DELIVERY_KEY | = lv_is_delivery_key | |
| IS_PRINT_DATA_TO_READ | = lv_is_print_data_to_read | |
| IF_PARVW | = lv_if_parvw | |
| IF_PARNR | = lv_if_parnr | |
| IF_LANGUAGE | = lv_if_language | |
| IMPORTING | ||
| ES_DLV_DELNOTE | = lv_es_dlv_delnote | |
| EXCEPTIONS | ||
| RECORDS_NOT_FOUND = 1 | ||
| RECORDS_NOT_REQUESTED = 2 | ||
| OTHERS = 3 | ||
| . " LE_SHP_DLV_OUTP_READ_PRTDATA | ||
ABAP code using 7.40 inline data declarations to call FM LE_SHP_DLV_OUTP_READ_PRTDATA
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 PARVW FROM NAST INTO @DATA(ld_if_parvw). | ||||
| "SELECT single PARNR FROM NAST INTO @DATA(ld_if_parnr). | ||||
| "SELECT single SPRAS FROM NAST INTO @DATA(ld_if_language). | ||||
Search for further information about these or an SAP related objects