ALVHD SAP (ALV Header for Stock Overview of Handling Units) Structure details

Dictionary Type: Structure
Description: ALV Header for Stock Overview of Handling Units




ABAP Code to SELECT data from ALVHD
Related tables to ALVHD
Access table ALVHD




Structure field list including key, data, relationships and ABAP select examples

ALVHD is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "ALV Header for Stock Overview of Handling Units" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_ALVHD TYPE ALVHD.

The ALVHD table consists of various fields, each holding specific information or linking keys about ALV Header for Stock Overview of Handling Units data available in SAP. These include CML_PACKGOOD (Material number of material to be packed in the HU hierarchy), CML_CHARG (Batch Number), CMLQTY_A (Qty of mat. to be packed accumulated through pack.hierarchy), VEMEH (Unit of measure).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP ALVHD structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
HDIDHeader identification for ALV header PL_HDIDNUMC6NUMC6
CML_PACKGOODMaterial number of material to be packed in the HU hierarchy PL_CMLMATNRCHAR18Assigned to domainMATN1MATNR
CML_CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
CMLQTY_AQty of mat. to be packed accumulated through pack.hierarchy PL_CMLQTYQUAN15(3) MENG15
VEMEHUnit of measure PL_UNITQTYUNIT3Assigned to domainCUNITMEINS
IND_QUNIT_MIXDifferent units of measure during accumulation PL_IND_QUNIT_MIXCHAR1XFLAG
LOADCARRLoad carrier PL_LOADCARRCHAR18Assigned to domainMATN1MATNRMAT1
QTY_ONENumber (help field for creating totals; set to 1) PL_QTY_ONEINT410INT4
PACKSTAT_ICONRepresentation of packing status of HU with icon 'STOPLIGHT' PL_PACKSTAT_ICONCHAR10CHAR10
PACKSTAT_GLOBALPacking status PL_PACKSTATUCHAR1PL_PACKSTATU
PACKSTAT_GLO_TXTPacking status PL_PACKSTATU_TXTCHAR40CHAR40
PACKVOR_TEXTShort text of packing object PL_POTEXTCHAR40TEXT40
OBJECTTYPEPackaging object type PL_VPOBJCHAR40CHAR40
HUSTATUSHandling unit status PL_HU_STATUSCHAR40CHAR40
MANDTClient MANDTCLNT3T000MANDT
VENUMInternal Handling Unit Number VENUMCHAR10Assigned to domainALPHAVENUMVEL
EXIDVExternal Handling Unit Identification EXIDVCHAR20ALPHAEXIDVHU_IDENT_ALLG
EXIDAType of External Handling Unit Identifier EXIDACHAR1EXIDA
VSTELShipping Point/Receiving Point VSTELCHAR4TVSTVSTELVST
LSTELLoading Point LSTELCHAR2TVLALSTEL
BRGEWTotal Weight of Handling Unit BRGEW_VEKPQUAN15(3) MENG15
NTGEWLoading Weight of Handling Unit NTGEW_VEKPQUAN15(3) MENG15
MAGEWAllowed Loading Weight of a Handling Unit MAGEW_VEKPQUAN15(3) MENG15
TARAGTare weight of handling unit TARAG_VEKPQUAN15(3) MENG15
GEWEIWeight Unit GEWEIUNIT3T006CUNITMEINS
BTVOLTotal Volume of Handling Unit BTVOL_VEKPQUAN15(3) MENG15
NTVOLLoading Volume of Handling Unit NTVOL_VEKPQUAN15(3) MENG15
MAVOLAllowed Loading Volume for Handling Unit MAVOL_VEKPQUAN15(3) MENG15
TAVOLTare volume of handling unit TAVOL_VEKPQUAN15(3) MENG15
VOLEHVolume unit VOLEHUNIT3T006CUNITMEINS
ANZGLNumber of Similar Packaging Materials ANZGLINT410ANZGL
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERUHREntry time ERZETTIMS6UZEIT
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AEZETTime last change was made AEZETTIMS6UZEIT
SORTLSort field SORTLCHAR10CHAR10
VEGR1Handling Unit Group 1 (Freely Definable) VEGR1CHAR5TVE1VEGR1
VEGR2Handling Unit Group 2 (Freely Definable) VEGR2CHAR5TVE2VEGR2
VEGR3Handling Unit Group 3 (Freely Definable) VEGR3CHAR5TVE3VEGR3
VEGR4Handling Unit Group 4 (Freely Definable) VEGR4CHAR5TVE4VEGR4
VEGR5Handling Unit Group 5 (Freely Definable) VEGR5CHAR5TVE5VEGR5
VHILMPackaging Materials VHILMCHAR18MARAMATN1MATNR
LAENGLength LAENGQUAN13(3) MENG13
BREITWidth BREITQUAN13(3) MENG13
HOEHEHeight HOEHEQUAN13(3) MENG13
MEABMUnit of Dimension for Length/Width/Height MEABMUNIT3T006CUNITMEINS
ERLKZStatus (at this time without functionality) VOLLSCHAR1XFELD
GEWTOExcess Weight Tolerance for Handling unit GEWTODEC3(1) PRZ21
VOLTOExcess Volume Tolerance of the Handling Unit VOLTODEC3(1) PRZ21
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
VOLEH_MAXVolume unit VOLEHUNIT3T006CUNITMEINS
GEWEI_MAXWeight Unit GEWEIUNIT3T006CUNITMEINS
VBELN_GENDelivery in Which Packaging Material Is Generated as an Item VBELN_GENCHAR10Assigned to domainALPHAVBELN
POSNR_GENGenerated delivery item POSNR_GENNUMC6Assigned to domainPOSNR
INHALTDescription of Handling Unit Content INHALTCHAR40TEXT40
VHARTPackaging Material Type VHIARTCHAR4TVTYTRATY
KAPPLApplication for output conditions NA_KAPPLCHAR2Assigned to domainKAPPLNA_KAPPL
KALSMOutput determination procedure KALSMBCHAR6Assigned to domainKALSM
KSCHLOutput Type NA_KSCHLCHAR4Assigned to domainKSCHLNACCSH_NA_KSCHL
MAGRVMaterial Group: Packaging Materials MAGRVCHAR4TVEGRMAGRV
WERKSPlant HUM_WERKSCHAR4MARCWERKSWRKH_T001W
PSTYVSales document item category PSTYVCHAR4TVPTPSTYV
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGReference distrib.channel for cust.and material masters VTWKUCHAR2Assigned to domainVTWEGVTW
LADLGLgth of loading platform in lgth of LdPlat measurement units LADLGQUAN6LADLG
LADEHUnit of measure to measure the length of loading platform LADEHUNIT3T006CUNITMEINS
FARZTTravel Time FARZTQUAN3FARZT
FAREHUnit of travel time FAREHUNIT3T006CUNITMEINS
ENTFEDistance Travelled ENTFEQUAN6ENTFE
EHENTUnit of distance EHENTUNIT3T006CUNITMEINS
LGORTStorage Location HUM_LGORTCHAR4MARDLGORTLAG
GEWFXWeight and Volume Fixed GEWFXCHAR1XFELD
VELTPPackaging Material Category VELTPCHAR1VELTP
EXIDV2Handling Unit's 2nd External Identification EXIDV2CHAR20ALPHAEXIDV
LANDTCountry providing means of transport LANDTCHAR3T005LAND1
LANDFDriver's Nationality LANDFCHAR3T005LAND1
NAMEFDriver name NAMEFCHAR35NAME
NAMBEAlternate Driver's Name NAMBECHAR35NAME
VHILM_KUPartner's (Customer's or Vendor's) Packaging Material VHILM_KUCHAR35IDNEX
VPOBJPacking Object VPOBJCHAR2VPOBJ
VPOBJKEYKey for Object to Which the Handling Unit is Assigned VPOBJKEYCHAR20CHAR20
HANDLEWorldwide unique key for VEKP-VENUM GUID_VEKPCHAR22SYSUUID_22
WMSTAWM status for container material LVS_WMSTACHAR1LVS_WMSTA
LGNUMWarehouse Number / Warehouse Complex HUM_LGNUMCHAR3T300LGNUMLGN
SAPRLSAP Release SAPRLCHAR4SAPRL
KZGVHPackaging Material is Closed Packaging KZGVHCHAR1XFELD
ADGE_DGPacking Level is Relevant for Dangerous Goods ADGE_DGCHAR1X
ADGE_DGPRIndicator: Packing level is relevant for printing ADGE_DGPRCHAR1X
UEVELHigher-Level Handling Unit UEVELCHAR10Assigned to domainALPHAVENUM
PACKVORSCHRPacking instruction PL_PACKNR_CONVCHAR22VHUPIPL_PACKNR_CONVPL_PI1
PACKVORSCHR_STLocal packing status for a single HU (without sub HUs) PL_PACKSTATUS_LOCALCHAR1PL_PACKSTATU
LABELTYPIndicator: do not print external shipping label PL_SHIPLABELCHAR1XFELD
ZUL_AUFLAllowed load PL_MAXSTWEQUAN15(3) MENG15
STATUSHandling unit status HU_STATUSCHAR4HU_STATUS
HU_LGORTContent is Located at an HU-managed Storage Location HU_LGORTCHAR1HU_LGORT
HU_SYSTEMHU and IM Stock in Separate Systems HUMSYSCHAR1HUMSYS
SPE_HDALLInbound delivery header not yet complete (on Hold) /SPE/INB_HDALLCHAR1XFELD
SPE_VLSTKDistribution Status (Decentralized Warehouse Processing) VLSTKCHAR1VLSTK
SPE_DELDECDelete indicator for the confirmation of deleted HUs /SPE/INB_DELDECCHAR1XFELD
SPE_IDART_01Handling Unit Identification Type /SPE/DE_HUIDARTCHAR1/SPE/DO_HUIDART
SPE_IDENT_01Alternative HU Identification /SPE/DE_IDENTCHAR40
SPE_IDART_02Handling Unit Identification Type /SPE/DE_HUIDARTCHAR1/SPE/DO_HUIDART
SPE_IDENT_02Alternative HU Identification /SPE/DE_IDENTCHAR40
SPE_IDART_03Handling Unit Identification Type /SPE/DE_HUIDARTCHAR1/SPE/DO_HUIDART
SPE_IDENT_03Alternative HU Identification /SPE/DE_IDENTCHAR40
SPE_IDART_04Handling Unit Identification Type /SPE/DE_HUIDARTCHAR1/SPE/DO_HUIDART
SPE_IDENT_04Alternative HU Identification /SPE/DE_IDENTCHAR40
SPE_LOGPOSLogical Position of Handling Unit /SPE/DE_LOGPOSCHAR2
SPE_CHK_COUNTERCheck number for cross-delivery handling units /SPE/DE_CHK_CTRNUMC5NUMC5
.INCLU--AP 0
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
.INCLU--AP 0
EPC1Electronic Product Code 1 ABI_EPC1CHAR96ABI_HEX64
EPC2Electronic Product Code 2 ABI_EPC2CHAR96ABI_HEX64
.INCLU--AP 0
PACKAGE_CATCategory of Package EHS_ADGE_PACKAGE_CATCHAR15EHS_ADGD_PACKAGE_CAT
TRANSP_INDEXTransport Index EHS_ADGE_TRANSP_INDEXDEC7(2) DEC5_2
CRIT_SAF_INDEXCriticality Safety Index EHS_ADGE_CRIT_SAF_INDEXDEC7(2) DEC5_2
FLG_DG_PACKAGEDangerous Goods Package ADGE_FLG_DG_PACKAGECHAR1ESDFLAG
DG_PACKAGE_LEVELLevel of Dangerous Goods Packaging ADGE_DG_PACKAGE_LEVELCHAR3TDG95ADGD_DG_PACKAGE_LEVEL
PACKCODEActual Packaging Code CBDUE_PACODCHAR10CCUNC121CBUND_PACOD
INSTR_ENCL_CATCategory of Instruction for Enclosure CBUNE_INSTR_ENCL_CATCHAR15CCUNC113CBUND_INSTR_ENCL_CAT
MAT_DAMAGED_CL7Damaged Material (Class 7) ADGE_MAT_DAMAGED_CL7CHAR1ADGD_YES_NO_NOT_DEFINED
DOSE_RATE_BULKRadiation Level (Unpacked) ADGE_DOSE_RATEQUAN9(5) ADGD_QUAN_9_5
DOSE_RATE_BULK_UUnit of Radiation Level (Unpacked) ADGE_DOSE_RATE_UUNIT3T006CUNITMEINS
DOSE_RATE_PACKRadation Level Packed ADGE_DOSE_RATE_PACKAGEDQUAN9(5) ADGD_QUAN_9_5
U_DOSE_RATE_PACKUnit of Radiation Level Packed ADGE_DOSE_RATE_PACKAGED_UUNIT3T006CUNITMEINS
LEADING_LWDGLeading Dangerous Goods Regulation ADGE_LEADING_LWDGCHAR12THM063HMD_LWDG
MAX_GROSS_WEIGHTMaximum Gross Mass ADGE_MAX_GROSS_WEIGHTQUAN8(2) HMD_QUAN
U_MAX_GROSS_WGHTUnit for Maximum Gross Mass ADGE_U_MAX_GROSS_WGHTUNIT3T006CUNITMEINS
.INCLU--AP 0
LYARDYard LXYRD_YARDCHAR3Assigned to domainLXYRD_YARDLXYRD_LYARDH_LXYRD_LYARD
YLCCLLocation Class LXYRDM_YLCCLCHAR2LXYRDM_YLCCL
YLOCTLocation LXYRD_YLOCTCHAR10CHAR10
STATSVehicle Stock Status LXYRD_OBSTSCHAR2LXYRD_HUSTS
PRRTYVehicle Priority LXYRD_PRRTYCHAR2CHAR2
FWAGNForwarding Agent LXYRD_FWAGNCHAR10Assigned to domainALPHALIFNR
SCACDStandard carrier access code LEINT_SCACDCHAR4SCACD
OWNERVehicle Owner LXYRD_OWNERCHAR10CHAR10
TRNPDTransponder LXYRD_TRNPDCHAR20CHAR20
SEALN1Sealing Number LXYRD_SEALNCHAR10CHAR10
SEALN2Sealing Number LXYRD_SEALNCHAR10CHAR10
SEALN3Sealing Number LXYRD_SEALNCHAR10CHAR10
SEALN4Sealing Number LXYRD_SEALNCHAR10CHAR10
SEALN5Sealing Number LXYRD_SEALNCHAR10CHAR10
BLINDBlock LXYRD_BLOCKCHAR1XFELD
RSNCDReason Code LXYRD_RSNCDCHAR2LYRSNCHAR2
RFTYPReference Document Type LXYRD_RFDTYCHAR2LXYRD_RFDTY
REFERReference Document LXYRD_DOCRFCHAR10ALPHALXYRD_DOCRF
PTMSTPlanned End Time LXYRD_PTMSTDEC15TSHMELXHME_TSTMP
ATMSTActual Start Time LXYRD_ATMSFDEC15TSHMELXHME_TSTMP
YDOORDoor LEINT_LGTORCHAR3Assigned to domainLGTOR
YSTGAStaging Area LEINT_LGBZOCHAR10Assigned to domainLGBZO
URGFLUrgent (Relevant for Cross-Docking) LXYRD_URGFLCHAR1FLAG
PRFLGPermanence of Vehicle in Yard LXYRD_PRFLGCHAR1FLAG
SLFLGSealing Required LXYRD_SLFLGCHAR1FLAG
SIGNIContainer ID LEINT_SIGNICHAR20TEXT20
LTEXTText LXYRD_TEXT_DECHAR40TEXT40
EXP_ITEMSBreakdown status of resp.header entry (internal for ALV) PL_EXP_ITEMSCHAR1CHAR1
CHKBOXSelection column PL_CHKBOXCHAR1XFLAG
.INCLU--AP 0
CUSTORDSales order, for which goods are being packed PL_CUSTORDCHAR10Assigned to domainALPHAVBELNAUNVMVA
CUSTORDITItem number of sales order item being packed PL_CUSTORDITNUMC6Assigned to domainPOSNRKPO
PURORDDoc. number of purchasing doc., for which goods are packed PL_PURORDCHAR10Assigned to domainALPHAEBELNBESMEKK
PURORDITItem number from purchasing document, for which packing PL_PURORDITNUMC5Assigned to domainEBELPBSP
DLVRYDelivery for which packing is to be done PL_DLVRYCHAR10Assigned to domainALPHAVBELNVLVMVL
DLVRYITItem Number of Delivery for Which Packing Is Carried out PL_DLVRYITNUMC6Assigned to domainPOSNR
TKNUMShipment Number PL_TKNUMCHAR10Assigned to domainALPHATKNUMTNRSD_F4_SHP_ID

Key field Non-key field



How do I retrieve data from SAP structure ALVHD using ABAP code?

As ALVHD is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ALVHD as there is no data to select.

How to access SAP table ALVHD

Within an ECC or HANA version of SAP you can also view further information about ALVHD and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


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!