SAP LEINT_YARD_HU_FOR_DISPLAY_GET Function Module for Gets yard HUs (vehicles) for display by different criteria
LEINT_YARD_HU_FOR_DISPLAY_GET is a standard leint yard hu for display 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 Gets yard HUs (vehicles) for display by different criteria 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 leint yard hu for display get FM, simply by entering the name LEINT_YARD_HU_FOR_DISPLAY_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: LEINT_LYSRV
Program Name: SAPLLEINT_LYSRV
Main Program: SAPLLEINT_LYSRV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LEINT_YARD_HU_FOR_DISPLAY_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 'LEINT_YARD_HU_FOR_DISPLAY_GET'"Gets yard HUs (vehicles) for display by different criteria.
EXPORTING
* IV_LYARD = "Yard
* IR_VPOBJKEY = "Table type of a Range for a (20) Character Field
* IR_UEVEL = "Table type of a Range for a (10) Character Field
* IR_YLCCL = "Table type of a Range for a (2) Character Field
* IR_YLOCT = "Table type of a Range for a (10) Character Field
* IR_STATS = "Table type of a Range for a (2) Character Field
* IR_FWAGN = "Table type of a Range for a (10) Character Field
* IR_SCACD = "Structure of a Range Table for a (3) Character Field
* IR_VHILM = "Table type of a Range for a (18) Character Field
* IR_OWNER = "Table type of a Range for a (10) Character Field
* IR_TRNPD = "Table type of a Range for a (20) Character Field
* IR_VENUM = "Table type of a Range for a (10) Character Field
* IR_BLIND = "Table type of a Range for a (1) Character Field
* IR_RSNCD = "Table type of a Range for a (2) Character Field
* IR_RFTYP = "Table type of a Range for a (2) Character Field
* IR_REFER = "Table type of a Range for a (10) Character Field
* IR_PTMST = "Table type of a Range for a (16) Character Field
* IR_YDOOR = "Table type of a Range for a (3) Character Field
* IR_YSTGA = "Table type of a Range for a (10) Character Field
* IR_SIGNI = "Table type of a Range for a (20) Character Field
* IT_WHERE = "Structure for dynamic SQL queries
* IR_SEAL1 = "Table type of a Range for a (10) Character Field
* IR_EXIDV = "Table type of a Range for a (20) Character Field
* IR_SEAL2 = "Table type of a Range for a (10) Character Field
* IR_SEAL3 = "Table type of a Range for a (10) Character Field
* IR_SEAL4 = "Table type of a Range for a (10) Character Field
* IR_SEAL5 = "Table type of a Range for a (10) Character Field
* IV_DELETED = "General Flag
* IV_CACHEGUID = "GUID in 'RAW' format
* IR_VELTP = "Table type of a Range for a (1) Character Field
* IR_VHART = "Table type of a Range for a (4) Character Field
* IR_EXIDV2 = "Table type of a Range for a (20) Character Field
* IR_NAMEF = "Table type of a Range for a (35) Character Field
* IR_NAMBE = "Table type of a Range for a (35) Character Field
* IR_VPOBJ = "Table type of a Range for a (2) Character Field
IMPORTING
ET_HU_HEADER = "Table Type for Handling Units
ET_MHU_HEADER = "Hu data table for monitoring
EXCEPTIONS
NO_HU_FOUND = 1
IMPORTING Parameters details for LEINT_YARD_HU_FOR_DISPLAY_GET
IV_LYARD - Yard
Data type: LXYRD_YARDOptional: Yes
Call by Reference: Yes
IR_VPOBJKEY - Table type of a Range for a (20) Character Field
Data type: LXHME_RANGE_C20_TOptional: Yes
Call by Reference: Yes
IR_UEVEL - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_YLCCL - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: Yes
IR_YLOCT - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_STATS - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: Yes
IR_FWAGN - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_SCACD - Structure of a Range Table for a (3) Character Field
Data type: LXHME_RANGE_C4_TOptional: Yes
Call by Reference: Yes
IR_VHILM - Table type of a Range for a (18) Character Field
Data type: LXHME_RANGE_C18_TOptional: Yes
Call by Reference: Yes
IR_OWNER - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_TRNPD - Table type of a Range for a (20) Character Field
Data type: LXHME_RANGE_C20_TOptional: Yes
Call by Reference: Yes
IR_VENUM - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_BLIND - Table type of a Range for a (1) Character Field
Data type: LXHME_RANGE_C1_TOptional: Yes
Call by Reference: Yes
IR_RSNCD - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: Yes
IR_RFTYP - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: Yes
IR_REFER - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_PTMST - Table type of a Range for a (16) Character Field
Data type: LXHME_RANGE_C16_TOptional: Yes
Call by Reference: Yes
IR_YDOOR - Table type of a Range for a (3) Character Field
Data type: LXHME_RANGE_C3_TOptional: Yes
Call by Reference: Yes
IR_YSTGA - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_SIGNI - Table type of a Range for a (20) Character Field
Data type: LXHME_RANGE_C20_TOptional: Yes
Call by Reference: Yes
IT_WHERE - Structure for dynamic SQL queries
Data type: LMON_DYNAMICSQL_TOptional: Yes
Call by Reference: Yes
IR_SEAL1 - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_EXIDV - Table type of a Range for a (20) Character Field
Data type: LXHME_RANGE_C20_TOptional: Yes
Call by Reference: Yes
IR_SEAL2 - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_SEAL3 - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_SEAL4 - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IR_SEAL5 - Table type of a Range for a (10) Character Field
Data type: LXHME_RANGE_C10_TOptional: Yes
Call by Reference: Yes
IV_DELETED - General Flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
IV_CACHEGUID - GUID in 'RAW' format
Data type: GUID_16Optional: Yes
Call by Reference: Yes
IR_VELTP - Table type of a Range for a (1) Character Field
Data type: LXHME_RANGE_C1_TOptional: Yes
Call by Reference: Yes
IR_VHART - Table type of a Range for a (4) Character Field
Data type: LXHME_RANGE_C4_TOptional: Yes
Call by Reference: Yes
IR_EXIDV2 - Table type of a Range for a (20) Character Field
Data type: LXHME_RANGE_C20_TOptional: Yes
Call by Reference: Yes
IR_NAMEF - Table type of a Range for a (35) Character Field
Data type: LXHME_RANGE_C35_TOptional: Yes
Call by Reference: Yes
IR_NAMBE - Table type of a Range for a (35) Character Field
Data type: LXHME_RANGE_C35_TOptional: Yes
Call by Reference: Yes
IR_VPOBJ - Table type of a Range for a (2) Character Field
Data type: LXHME_RANGE_C2_TOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for LEINT_YARD_HU_FOR_DISPLAY_GET
ET_HU_HEADER - Table Type for Handling Units
Data type: LEINT_YHU_HEADER_TOptional: No
Call by Reference: Yes
ET_MHU_HEADER - Hu data table for monitoring
Data type: LEINTM_HU_DATA_TOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_HU_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LEINT_YARD_HU_FOR_DISPLAY_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_iv_lyard | TYPE LXYRD_YARD, " | |||
| lv_no_hu_found | TYPE LXYRD_YARD, " | |||
| lv_et_hu_header | TYPE LEINT_YHU_HEADER_T, " | |||
| lv_ir_vpobjkey | TYPE LXHME_RANGE_C20_T, " | |||
| lv_ir_uevel | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_ylccl | TYPE LXHME_RANGE_C2_T, " | |||
| lv_ir_yloct | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_stats | TYPE LXHME_RANGE_C2_T, " | |||
| lv_ir_fwagn | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_scacd | TYPE LXHME_RANGE_C4_T, " | |||
| lv_ir_vhilm | TYPE LXHME_RANGE_C18_T, " | |||
| lv_ir_owner | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_trnpd | TYPE LXHME_RANGE_C20_T, " | |||
| lv_ir_venum | TYPE LXHME_RANGE_C10_T, " | |||
| lv_et_mhu_header | TYPE LEINTM_HU_DATA_T, " | |||
| lv_ir_blind | TYPE LXHME_RANGE_C1_T, " | |||
| lv_ir_rsncd | TYPE LXHME_RANGE_C2_T, " | |||
| lv_ir_rftyp | TYPE LXHME_RANGE_C2_T, " | |||
| lv_ir_refer | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_ptmst | TYPE LXHME_RANGE_C16_T, " | |||
| lv_ir_ydoor | TYPE LXHME_RANGE_C3_T, " | |||
| lv_ir_ystga | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_signi | TYPE LXHME_RANGE_C20_T, " | |||
| lv_it_where | TYPE LMON_DYNAMICSQL_T, " | |||
| lv_ir_seal1 | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_exidv | TYPE LXHME_RANGE_C20_T, " | |||
| lv_ir_seal2 | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_seal3 | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_seal4 | TYPE LXHME_RANGE_C10_T, " | |||
| lv_ir_seal5 | TYPE LXHME_RANGE_C10_T, " | |||
| lv_iv_deleted | TYPE FLAG, " | |||
| lv_iv_cacheguid | TYPE GUID_16, " | |||
| lv_ir_veltp | TYPE LXHME_RANGE_C1_T, " | |||
| lv_ir_vhart | TYPE LXHME_RANGE_C4_T, " | |||
| lv_ir_exidv2 | TYPE LXHME_RANGE_C20_T, " | |||
| lv_ir_namef | TYPE LXHME_RANGE_C35_T, " | |||
| lv_ir_nambe | TYPE LXHME_RANGE_C35_T, " | |||
| lv_ir_vpobj | TYPE LXHME_RANGE_C2_T. " |
|   CALL FUNCTION 'LEINT_YARD_HU_FOR_DISPLAY_GET' "Gets yard HUs (vehicles) for display by different criteria |
| EXPORTING | ||
| IV_LYARD | = lv_iv_lyard | |
| IR_VPOBJKEY | = lv_ir_vpobjkey | |
| IR_UEVEL | = lv_ir_uevel | |
| IR_YLCCL | = lv_ir_ylccl | |
| IR_YLOCT | = lv_ir_yloct | |
| IR_STATS | = lv_ir_stats | |
| IR_FWAGN | = lv_ir_fwagn | |
| IR_SCACD | = lv_ir_scacd | |
| IR_VHILM | = lv_ir_vhilm | |
| IR_OWNER | = lv_ir_owner | |
| IR_TRNPD | = lv_ir_trnpd | |
| IR_VENUM | = lv_ir_venum | |
| IR_BLIND | = lv_ir_blind | |
| IR_RSNCD | = lv_ir_rsncd | |
| IR_RFTYP | = lv_ir_rftyp | |
| IR_REFER | = lv_ir_refer | |
| IR_PTMST | = lv_ir_ptmst | |
| IR_YDOOR | = lv_ir_ydoor | |
| IR_YSTGA | = lv_ir_ystga | |
| IR_SIGNI | = lv_ir_signi | |
| IT_WHERE | = lv_it_where | |
| IR_SEAL1 | = lv_ir_seal1 | |
| IR_EXIDV | = lv_ir_exidv | |
| IR_SEAL2 | = lv_ir_seal2 | |
| IR_SEAL3 | = lv_ir_seal3 | |
| IR_SEAL4 | = lv_ir_seal4 | |
| IR_SEAL5 | = lv_ir_seal5 | |
| IV_DELETED | = lv_iv_deleted | |
| IV_CACHEGUID | = lv_iv_cacheguid | |
| IR_VELTP | = lv_ir_veltp | |
| IR_VHART | = lv_ir_vhart | |
| IR_EXIDV2 | = lv_ir_exidv2 | |
| IR_NAMEF | = lv_ir_namef | |
| IR_NAMBE | = lv_ir_nambe | |
| IR_VPOBJ | = lv_ir_vpobj | |
| IMPORTING | ||
| ET_HU_HEADER | = lv_et_hu_header | |
| ET_MHU_HEADER | = lv_et_mhu_header | |
| EXCEPTIONS | ||
| NO_HU_FOUND = 1 | ||
| . " LEINT_YARD_HU_FOR_DISPLAY_GET | ||
ABAP code using 7.40 inline data declarations to call FM LEINT_YARD_HU_FOR_DISPLAY_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