SAP LXYRD_EXTERNAL_DOCUMENTS_GET Function Module for Get external documents relevant to yard









LXYRD_EXTERNAL_DOCUMENTS_GET is a standard lxyrd external documents get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get external documents relevant to yard 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 lxyrd external documents get FM, simply by entering the name LXYRD_EXTERNAL_DOCUMENTS_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function LXYRD_EXTERNAL_DOCUMENTS_GET 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 'LXYRD_EXTERNAL_DOCUMENTS_GET'"Get external documents relevant to yard
EXPORTING
IV_DOCTY = "Document type
* IR_AULWE = "Table type of a Range for a (10) Character Field
* IR_SPDNR = "Table type of a Range for a (10) Character Field
* IR_KUNAG = "Table type of a Range for a (10) Character Field
* IR_KUNWE = "Table type of a Range for a (10) Character Field
* IR_PARTN = "Table type of a Range for a (10) Character Field
* IR_VKORG = "Table type of a Range for a (4) Character Field
* IR_KDGRP = "Table type of a Range for a (2) Character Field
* IR_MATNR = "Table type of a Range for material Field
* IR_WADAT = "Table type of a Range for date Field
* IR_LDDAT = "Table type of a Range for date Field
IV_YARD = "Yard
* IR_LFDAT = "Table type of a Range for date Field
* IR_KODAT = "Table type of a Range for date Field
* IR_SAMMG = "Table type of a Range for a (10) Character Field
* IR_LFART = "Table type of a Range for a (4) Character Field
* IR_LSTEL = "Table type of a Range for a (2) Character Field
* IR_LGORT = "Table type of a Range for a (4) Character Field
* IR_LGTOR = "Table type of a Range for a (3) Character Field
* IR_ABLAD = "Table type of a Range for a (25) Character Field
* IR_VSBED = "Table type of a Range for a (2) Character Field
* IR_LPRIO = "Table type of a range table for a numeric (2) field
* IV_LGNUM = "Warehouse Number
* IR_KOSTK = "Table type of a Range for a (1) Character Field
* IR_WBSTK = "Table type of a Range for a (1) Character Field
* IR_ERNAM = "Table type of a Range for a (12) Character Field
* IR_ERDAT = "Table type of a Range for date Field
* IR_TDDAT = "Table type of a Range for date Field
* IR_VTWEG = "Table type of a Range for a (2) Character Field
* IR_SPART = "Table type of a Range for a (2) Character Field
* IR_EBELN = "Table type of a Range for a (10) Character Field
* IR_EBELP = "Table type of a Range for a (6) Character Field
* IR_TRAID = "Table type of a Range for a (20) Character Field
* IF_NOT_PROCESSED = "Get documents not procesed by yard
* IR_EXIDV = "Table type of a Range for a (20) Character Field
* IR_LIFEX = "Table type of a Range for a (35) Character Field
* IR_LIFNR = "Table type of a Range for a (10) Character Field
* IR_EAN11 = "Table type of a Range for material Field
* IR_PRVBE = "Table type of a Range for a (10) Character Field
* IR_AUFNR = "Table type of a Range for a (12) Character Field
* IR_VBTYP = "Table type of a Range for a (1) Character Field
* IR_SHTYP = "Table type of a Range for a (4) Character Field
* IR_TPLST = "Table type of a Range for a (4) Character Field
* IR_ERZET = "Table type of a Range for a (10) Character Field
* IT_DOCUMENT = "Table type of a Range for a (10) Character Field
* IR_ABFER = "Table type of a Range for a (1) Character Field
* IR_BFART = "Table type of a Range for a (1) Character Field
* IR_SIGNI = "Table type of a Range for a (20) Character Field
* IR_EXTI1 = "Table type of a Range for a (20) Character Field
* IR_EXTI2 = "Table type of a Range for a (20) Character Field
* IR_STDIS = "Table type of a Range for a (1) Character Field
* IR_STREG = "Table type of a Range for a (1) Character Field
* IR_STTRG = "Table type of a Range for a (1) Character Field
* IR_TNDR_CARR = "Table type of a Range for a (10) Character Field
* IR_TNDR_CRNM = "Table type of a Range for a (35) Character Field
* IT_SHP_FOR_DLVRY = "Get data according to selection screen?
* IR_TNDR_TRKID = "Table type of a Range for a (35) Character Field
* IR_VLSTK = "Table type of a Range for a (1) Character Field
* IR_TDLNR = "Table type of a Range for a (10) Character Field
* IR_DPREG = "Table type of a Range for a (10) Character Field
* IR_DPLEN = "Table type of a Range for date Field
* IR_IMWRK = "Table type of a Range for a (1) Character Field
* IT_DLVRY_FOR_SHP = "Table type of a Range for a (10) Character Field
* IR_VSTEL = "Table type of a Range for a (4) Character Field
* IR_ROUTE = "Table type of a Range for a (6) Character Field

IMPORTING
ET_LIKP = "Logistic document view - table
ET_VTTK = "Table type for shipment headers
ET_DLVRY_DOC = "Delivery documents for yard monitor
ET_SHPMNT_DOC = "Shipment documents for yard monitor
ET_DLVRY_DOC_NP = "Not processed delivery documents for yard monitor
ET_SHPMNT_DOC_NP = "Not processed shipment documents for yard monitor

EXCEPTIONS
NO_WAREHOUSE_FOUND = 1 NO_DOCUMENTS_FOUND = 2
.



IMPORTING Parameters details for LXYRD_EXTERNAL_DOCUMENTS_GET

IV_DOCTY - Document type

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

IR_AULWE - Table type of a Range for a (10) Character Field

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

IR_SPDNR - Table type of a Range for a (10) Character Field

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

IR_KUNAG - Table type of a Range for a (10) Character Field

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

IR_KUNWE - Table type of a Range for a (10) Character Field

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

IR_PARTN - Table type of a Range for a (10) Character Field

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

IR_VKORG - Table type of a Range for a (4) Character Field

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

IR_KDGRP - Table type of a Range for a (2) Character Field

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

IR_MATNR - Table type of a Range for material Field

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

IR_WADAT - Table type of a Range for date Field

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

IR_LDDAT - Table type of a Range for date Field

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

IV_YARD - Yard

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

IR_LFDAT - Table type of a Range for date Field

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

IR_KODAT - Table type of a Range for date Field

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

IR_SAMMG - Table type of a Range for a (10) Character Field

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

IR_LFART - Table type of a Range for a (4) Character Field

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

IR_LSTEL - Table type of a Range for a (2) Character Field

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

IR_LGORT - Table type of a Range for a (4) Character Field

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

IR_LGTOR - Table type of a Range for a (3) Character Field

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

IR_ABLAD - Table type of a Range for a (25) Character Field

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

IR_VSBED - Table type of a Range for a (2) Character Field

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

IR_LPRIO - Table type of a range table for a numeric (2) field

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

IV_LGNUM - Warehouse Number

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

IR_KOSTK - Table type of a Range for a (1) Character Field

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

IR_WBSTK - Table type of a Range for a (1) Character Field

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

IR_ERNAM - Table type of a Range for a (12) Character Field

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

IR_ERDAT - Table type of a Range for date Field

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

IR_TDDAT - Table type of a Range for date Field

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

IR_VTWEG - Table type of a Range for a (2) Character Field

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

IR_SPART - Table type of a Range for a (2) Character Field

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

IR_EBELN - Table type of a Range for a (10) Character Field

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

IR_EBELP - Table type of a Range for a (6) Character Field

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

IR_TRAID - Table type of a Range for a (20) Character Field

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

IF_NOT_PROCESSED - Get documents not procesed by yard

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

IR_EXIDV - Table type of a Range for a (20) Character Field

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

IR_LIFEX - Table type of a Range for a (35) Character Field

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

IR_LIFNR - Table type of a Range for a (10) Character Field

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

IR_EAN11 - Table type of a Range for material Field

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

IR_PRVBE - Table type of a Range for a (10) Character Field

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

IR_AUFNR - Table type of a Range for a (12) Character Field

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

IR_VBTYP - Table type of a Range for a (1) Character Field

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

IR_SHTYP - Table type of a Range for a (4) Character Field

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

IR_TPLST - Table type of a Range for a (4) Character Field

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

IR_ERZET - Table type of a Range for a (10) Character Field

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

IT_DOCUMENT - Table type of a Range for a (10) Character Field

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

IR_ABFER - Table type of a Range for a (1) Character Field

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

IR_BFART - Table type of a Range for a (1) Character Field

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

IR_SIGNI - Table type of a Range for a (20) Character Field

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

IR_EXTI1 - Table type of a Range for a (20) Character Field

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

IR_EXTI2 - Table type of a Range for a (20) Character Field

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

IR_STDIS - Table type of a Range for a (1) Character Field

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

IR_STREG - Table type of a Range for a (1) Character Field

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

IR_STTRG - Table type of a Range for a (1) Character Field

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

IR_TNDR_CARR - Table type of a Range for a (10) Character Field

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

IR_TNDR_CRNM - Table type of a Range for a (35) Character Field

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

IT_SHP_FOR_DLVRY - Get data according to selection screen?

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

IR_TNDR_TRKID - Table type of a Range for a (35) Character Field

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

IR_VLSTK - Table type of a Range for a (1) Character Field

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

IR_TDLNR - Table type of a Range for a (10) Character Field

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

IR_DPREG - Table type of a Range for a (10) Character Field

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

IR_DPLEN - Table type of a Range for date Field

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

IR_IMWRK - Table type of a Range for a (1) Character Field

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

IT_DLVRY_FOR_SHP - Table type of a Range for a (10) Character Field

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

IR_VSTEL - Table type of a Range for a (4) Character Field

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

IR_ROUTE - Table type of a Range for a (6) Character Field

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

EXPORTING Parameters details for LXYRD_EXTERNAL_DOCUMENTS_GET

ET_LIKP - Logistic document view - table

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

ET_VTTK - Table type for shipment headers

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

ET_DLVRY_DOC - Delivery documents for yard monitor

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

ET_SHPMNT_DOC - Shipment documents for yard monitor

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

ET_DLVRY_DOC_NP - Not processed delivery documents for yard monitor

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

ET_SHPMNT_DOC_NP - Not processed shipment documents for yard monitor

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

EXCEPTIONS details

NO_WAREHOUSE_FOUND - No warehouse was found for yard

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

NO_DOCUMENTS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LXYRD_EXTERNAL_DOCUMENTS_GET 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_et_likp  TYPE LEINT_LIKP_T, "   
lv_iv_docty  TYPE LXYRD_RFDTY, "   
lv_no_warehouse_found  TYPE LXYRD_RFDTY, "   
lv_ir_aulwe  TYPE LXHME_RANGE_C10_T, "   
lv_ir_spdnr  TYPE LXHME_RANGE_C10_T, "   
lv_ir_kunag  TYPE LXHME_RANGE_C10_T, "   
lv_ir_kunwe  TYPE LXHME_RANGE_C10_T, "   
lv_ir_partn  TYPE LXHME_RANGE_C10_T, "   
lv_ir_vkorg  TYPE LXHME_RANGE_C4_T, "   
lv_ir_kdgrp  TYPE LXHME_RANGE_C2_T, "   
lv_ir_matnr  TYPE LXHME_RANGE_MAT_T, "   
lv_ir_wadat  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_lddat  TYPE LXHME_RANGE_DATE_T, "   
lv_et_vttk  TYPE LEINT_VTTK_T, "   
lv_iv_yard  TYPE LXYRD_YARD, "   
lv_no_documents_found  TYPE LXYRD_YARD, "   
lv_ir_lfdat  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_kodat  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_sammg  TYPE LXHME_RANGE_C10_T, "   
lv_ir_lfart  TYPE LXHME_RANGE_C4_T, "   
lv_ir_lstel  TYPE LXHME_RANGE_C2_T, "   
lv_ir_lgort  TYPE LXHME_RANGE_C4_T, "   
lv_ir_lgtor  TYPE LXHME_RANGE_C3_T, "   
lv_ir_ablad  TYPE LXHME_RANGE_C25_T, "   
lv_ir_vsbed  TYPE LXHME_RANGE_C2_T, "   
lv_ir_lprio  TYPE LXHME_RANGE_N2_T, "   
lv_iv_lgnum  TYPE LEINT_LGNUM, "   
lv_et_dlvry_doc  TYPE LXYRDM_DLVRY_DOC_T, "   
lv_ir_kostk  TYPE LXHME_RANGE_C1_T, "   
lv_ir_wbstk  TYPE LXHME_RANGE_C1_T, "   
lv_ir_ernam  TYPE LXHME_RANGE_C12_T, "   
lv_ir_erdat  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_tddat  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_vtweg  TYPE LXHME_RANGE_C2_T, "   
lv_ir_spart  TYPE LXHME_RANGE_C2_T, "   
lv_ir_ebeln  TYPE LXHME_RANGE_C10_T, "   
lv_ir_ebelp  TYPE LXHME_RANGE_C5_T, "   
lv_ir_traid  TYPE LXHME_RANGE_C20_T, "   
lv_et_shpmnt_doc  TYPE LXYRDM_SHPMNT_DOC_T, "   
lv_if_not_processed  TYPE FLAG, "   
lv_ir_exidv  TYPE LXHME_RANGE_C20_T, "   
lv_ir_lifex  TYPE LXHME_RANGE_C35_T, "   
lv_ir_lifnr  TYPE LXHME_RANGE_C10_T, "   
lv_ir_ean11  TYPE LXHME_RANGE_MAT_T, "   
lv_ir_prvbe  TYPE LXHME_RANGE_C10_T, "   
lv_ir_aufnr  TYPE LXHME_RANGE_C12_T, "   
lv_ir_vbtyp  TYPE LXHME_RANGE_C1_T, "   
lv_ir_shtyp  TYPE LXHME_RANGE_C4_T, "   
lv_ir_tplst  TYPE LXHME_RANGE_C4_T, "   
lv_ir_erzet  TYPE LXHME_RANGE_C10_T, "   
lv_it_document  TYPE LXHME_RANGE_C10_T, "   
lv_et_dlvry_doc_np  TYPE LXYRDM_DLVRY_DOC_NP_T, "   
lv_ir_abfer  TYPE LXHME_RANGE_C1_T, "   
lv_ir_bfart  TYPE LXHME_RANGE_C1_T, "   
lv_ir_signi  TYPE LXHME_RANGE_C20_T, "   
lv_ir_exti1  TYPE LXHME_RANGE_C20_T, "   
lv_ir_exti2  TYPE LXHME_RANGE_C20_T, "   
lv_ir_stdis  TYPE LXHME_RANGE_C1_T, "   
lv_ir_streg  TYPE LXHME_RANGE_C1_T, "   
lv_ir_sttrg  TYPE LXHME_RANGE_C1_T, "   
lv_ir_tndr_carr  TYPE LXHME_RANGE_C10_T, "   
lv_ir_tndr_crnm  TYPE LXHME_RANGE_C35_T, "   
lv_et_shpmnt_doc_np  TYPE LXYRDM_SHPMNT_DOC_NP_T, "   
lv_it_shp_for_dlvry  TYPE LXHME_RANGE_C10_T, "   
lv_ir_tndr_trkid  TYPE LXHME_RANGE_C35_T, "   
lv_ir_vlstk  TYPE LXHME_RANGE_C1_T, "   
lv_ir_tdlnr  TYPE LXHME_RANGE_C10_T, "   
lv_ir_dpreg  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_dplen  TYPE LXHME_RANGE_DATE_T, "   
lv_ir_imwrk  TYPE LXHME_RANGE_C1_T, "   
lv_it_dlvry_for_shp  TYPE LXHME_RANGE_C10_T, "   
lv_ir_vstel  TYPE LXHME_RANGE_C4_T, "   
lv_ir_route  TYPE LXHME_RANGE_C6_T. "   

  CALL FUNCTION 'LXYRD_EXTERNAL_DOCUMENTS_GET'  "Get external documents relevant to yard
    EXPORTING
         IV_DOCTY = lv_iv_docty
         IR_AULWE = lv_ir_aulwe
         IR_SPDNR = lv_ir_spdnr
         IR_KUNAG = lv_ir_kunag
         IR_KUNWE = lv_ir_kunwe
         IR_PARTN = lv_ir_partn
         IR_VKORG = lv_ir_vkorg
         IR_KDGRP = lv_ir_kdgrp
         IR_MATNR = lv_ir_matnr
         IR_WADAT = lv_ir_wadat
         IR_LDDAT = lv_ir_lddat
         IV_YARD = lv_iv_yard
         IR_LFDAT = lv_ir_lfdat
         IR_KODAT = lv_ir_kodat
         IR_SAMMG = lv_ir_sammg
         IR_LFART = lv_ir_lfart
         IR_LSTEL = lv_ir_lstel
         IR_LGORT = lv_ir_lgort
         IR_LGTOR = lv_ir_lgtor
         IR_ABLAD = lv_ir_ablad
         IR_VSBED = lv_ir_vsbed
         IR_LPRIO = lv_ir_lprio
         IV_LGNUM = lv_iv_lgnum
         IR_KOSTK = lv_ir_kostk
         IR_WBSTK = lv_ir_wbstk
         IR_ERNAM = lv_ir_ernam
         IR_ERDAT = lv_ir_erdat
         IR_TDDAT = lv_ir_tddat
         IR_VTWEG = lv_ir_vtweg
         IR_SPART = lv_ir_spart
         IR_EBELN = lv_ir_ebeln
         IR_EBELP = lv_ir_ebelp
         IR_TRAID = lv_ir_traid
         IF_NOT_PROCESSED = lv_if_not_processed
         IR_EXIDV = lv_ir_exidv
         IR_LIFEX = lv_ir_lifex
         IR_LIFNR = lv_ir_lifnr
         IR_EAN11 = lv_ir_ean11
         IR_PRVBE = lv_ir_prvbe
         IR_AUFNR = lv_ir_aufnr
         IR_VBTYP = lv_ir_vbtyp
         IR_SHTYP = lv_ir_shtyp
         IR_TPLST = lv_ir_tplst
         IR_ERZET = lv_ir_erzet
         IT_DOCUMENT = lv_it_document
         IR_ABFER = lv_ir_abfer
         IR_BFART = lv_ir_bfart
         IR_SIGNI = lv_ir_signi
         IR_EXTI1 = lv_ir_exti1
         IR_EXTI2 = lv_ir_exti2
         IR_STDIS = lv_ir_stdis
         IR_STREG = lv_ir_streg
         IR_STTRG = lv_ir_sttrg
         IR_TNDR_CARR = lv_ir_tndr_carr
         IR_TNDR_CRNM = lv_ir_tndr_crnm
         IT_SHP_FOR_DLVRY = lv_it_shp_for_dlvry
         IR_TNDR_TRKID = lv_ir_tndr_trkid
         IR_VLSTK = lv_ir_vlstk
         IR_TDLNR = lv_ir_tdlnr
         IR_DPREG = lv_ir_dpreg
         IR_DPLEN = lv_ir_dplen
         IR_IMWRK = lv_ir_imwrk
         IT_DLVRY_FOR_SHP = lv_it_dlvry_for_shp
         IR_VSTEL = lv_ir_vstel
         IR_ROUTE = lv_ir_route
    IMPORTING
         ET_LIKP = lv_et_likp
         ET_VTTK = lv_et_vttk
         ET_DLVRY_DOC = lv_et_dlvry_doc
         ET_SHPMNT_DOC = lv_et_shpmnt_doc
         ET_DLVRY_DOC_NP = lv_et_dlvry_doc_np
         ET_SHPMNT_DOC_NP = lv_et_shpmnt_doc_np
    EXCEPTIONS
        NO_WAREHOUSE_FOUND = 1
        NO_DOCUMENTS_FOUND = 2
. " LXYRD_EXTERNAL_DOCUMENTS_GET




ABAP code using 7.40 inline data declarations to call FM LXYRD_EXTERNAL_DOCUMENTS_GET

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!