SAP LXYRD_REF_DOC_PROCESS Function Module for Process yard reference document
LXYRD_REF_DOC_PROCESS is a standard lxyrd ref doc process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Process yard reference document 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 ref doc process FM, simply by entering the name LXYRD_REF_DOC_PROCESS 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_REF_DOC_PROCESS 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_REF_DOC_PROCESS'"Process yard reference document.
EXPORTING
IV_YARD = "Yard
* IS_HU_HEADER = "HU for Yard Monitor
* IT_SHP_FOR_DLVRY = "Table type of a Range for a (10) Character Field
* IT_DOCUMENT = "Table type of a Range for a (10) Character Field
* LF_NO_SHIPMENT = "Gets only deliveries without shipments
* IR_YLCCL = "Table type of a Range for a (2) Character Field
* IF_VEHICLE_CONSTRAINT = "General Flag
IV_DOCTY = "Document Type
* IF_SLCT_DOC_SCR = "General Flag
* IF_SLCT_HU_SCR = "General Flag
* IF_CREATE_HU_SCR = "General Flag
* IF_GROUP = "General Flag
* IV_CONT_PACK = "Packaging Materials
* IV_LOG_HU_PACK = "Packaging Materials
* IV_VELTP = "Packaging Material Category
IMPORTING
ET_HU_HEADERS = "Table Type for Handling Units
EXCEPTIONS
SERVICE_CANCEL = 1 SERVICE_FAILURE = 2
IMPORTING Parameters details for LXYRD_REF_DOC_PROCESS
IV_YARD - Yard
Data type: LXYRD_YARDOptional: No
Call by Reference: No ( called with pass by value option)
IS_HU_HEADER - HU for Yard Monitor
Data type: LEINT_YHU_HEADEROptional: Yes
Call by Reference: Yes
IT_SHP_FOR_DLVRY - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IT_DOCUMENT - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
LF_NO_SHIPMENT - Gets only deliveries without shipments
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IR_YLCCL - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_VEHICLE_CONSTRAINT - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DOCTY - Document Type
Data type: LXYRD_RFDTYOptional: No
Call by Reference: No ( called with pass by value option)
IF_SLCT_DOC_SCR - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_SLCT_HU_SCR - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_CREATE_HU_SCR - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_GROUP - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONT_PACK - Packaging Materials
Data type: LEINT_VHILMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOG_HU_PACK - Packaging Materials
Data type: LEINT_VHILMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VELTP - Packaging Material Category
Data type: LEINT_YHU_HEADER-VELTPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LXYRD_REF_DOC_PROCESS
ET_HU_HEADERS - Table Type for Handling Units
Data type: LEINT_YHU_HEADER_TOptional: No
Call by Reference: Yes
EXCEPTIONS details
SERVICE_CANCEL -
Data type:Optional: No
Call by Reference: Yes
SERVICE_FAILURE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LXYRD_REF_DOC_PROCESS 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_iv_yard | TYPE LXYRD_YARD, " | |||
| lv_et_hu_headers | TYPE LEINT_YHU_HEADER_T, " | |||
| lv_service_cancel | TYPE LEINT_YHU_HEADER_T, " | |||
| lv_is_hu_header | TYPE LEINT_YHU_HEADER, " | |||
| lv_it_shp_for_dlvry | TYPE LXHME_RANGE_C10_T, " | |||
| lv_it_document | TYPE LXHME_RANGE_C10_T, " | |||
| lv_lf_no_shipment | TYPE FLAG, " | |||
| lv_ir_ylccl | TYPE LXHME_RANGE_C2_T, " | |||
| lv_if_vehicle_constraint | TYPE FLAG, " | |||
| lv_iv_docty | TYPE LXYRD_RFDTY, " | |||
| lv_service_failure | TYPE LXYRD_RFDTY, " | |||
| lv_if_slct_doc_scr | TYPE FLAG, " | |||
| lv_if_slct_hu_scr | TYPE FLAG, " | |||
| lv_if_create_hu_scr | TYPE FLAG, " | |||
| lv_if_group | TYPE FLAG, " | |||
| lv_iv_cont_pack | TYPE LEINT_VHILM, " | |||
| lv_iv_log_hu_pack | TYPE LEINT_VHILM, " | |||
| lv_iv_veltp | TYPE LEINT_YHU_HEADER-VELTP. " |
|   CALL FUNCTION 'LXYRD_REF_DOC_PROCESS' "Process yard reference document |
| EXPORTING | ||
| IV_YARD | = lv_iv_yard | |
| IS_HU_HEADER | = lv_is_hu_header | |
| IT_SHP_FOR_DLVRY | = lv_it_shp_for_dlvry | |
| IT_DOCUMENT | = lv_it_document | |
| LF_NO_SHIPMENT | = lv_lf_no_shipment | |
| IR_YLCCL | = lv_ir_ylccl | |
| IF_VEHICLE_CONSTRAINT | = lv_if_vehicle_constraint | |
| IV_DOCTY | = lv_iv_docty | |
| IF_SLCT_DOC_SCR | = lv_if_slct_doc_scr | |
| IF_SLCT_HU_SCR | = lv_if_slct_hu_scr | |
| IF_CREATE_HU_SCR | = lv_if_create_hu_scr | |
| IF_GROUP | = lv_if_group | |
| IV_CONT_PACK | = lv_iv_cont_pack | |
| IV_LOG_HU_PACK | = lv_iv_log_hu_pack | |
| IV_VELTP | = lv_iv_veltp | |
| IMPORTING | ||
| ET_HU_HEADERS | = lv_et_hu_headers | |
| EXCEPTIONS | ||
| SERVICE_CANCEL = 1 | ||
| SERVICE_FAILURE = 2 | ||
| . " LXYRD_REF_DOC_PROCESS | ||
ABAP code using 7.40 inline data declarations to call FM LXYRD_REF_DOC_PROCESS
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 VELTP FROM LEINT_YHU_HEADER INTO @DATA(ld_iv_veltp). | ||||
Search for further information about these or an SAP related objects