V51KO SAP (Shipping Unit Processing: Header Data) Structure details
Description: Shipping Unit Processing: Header Data
Structure field list including key, data, relationships and ABAP select examples
V51KO 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 "Shipping Unit Processing: Header Data" 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_V51KO TYPE V51KO.
The V51KO table consists of various fields, each holding specific information or linking keys about Shipping Unit Processing: Header Data data available in SAP. These include LGNUM (Warehouse Number / Warehouse Complex), ROUTE (Route), ROUTE_BEZ (Route description), TPLST (Transportation planning point).. 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 V51KO 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 |
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
ROUTE | Route | ROUTE | CHAR | 6 | Assigned to domain | ROUTE | |||
ROUTE_BEZ | Route description | ROUTE_BEZ | CHAR | 40 | TEXT40 | ||||
TPLST | Transportation planning point | TPLST | CHAR | 4 | Assigned to domain | TPLST | TDP | ||
TPLST_BEZ | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
SPDNR | Forwarding agent | SPDNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
NAME1_SP | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
LFDAT | Delivery date | LFDAT | DATS | 8 | DATUM | ||||
LFUHR | Time of delivery | LFUHR | TIMS | 6 | LFUHR | ||||
LDDAT | Loading Date | LDDAT | DATS | 8 | DATUM | ||||
LDUHR | Loading Time (Local Time Relating to a Shipping Point) | LDUHR | TIMS | 6 | TIME_SHIPP | ||||
TDDAT | Transportation Planning Date | TDDAT_D | DATS | 8 | DATUM | ||||
TDUHR | Transp. Planning Time (Local, Relating to a Shipping Point) | TDUHR | TIMS | 6 | TIME_SHIPP | ||||
WADAT | Goods Issue Date | WADAT | DATS | 8 | DATUM | ||||
WAUHR | Time of Goods Issue (Local, Relating to a Plant) | WAUHR | TIMS | 6 | TIME_PLANT | ||||
KUNWE | Ship-to party | KUNWE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
SPRAS | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
NAME1_WE | Name of the ship-to party | NAME1_WE | CHAR | 35 | NAME | ||||
ORT01_WE | Location of the ship-to party | ORT01_WE | CHAR | 35 | ORT01 | ||||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
NAME1_LF | Name of vendor | NAME1_LF | CHAR | 35 | NAME | ||||
ORT01_LF | Vendor location | ORT01_LF | CHAR | 35 | ORT01 | ||||
TXT_VBELN | Document number | TXT_VBELN | CHAR | 20 | TEXT20 | ||||
KUNAG | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
NAME1_AG | Name of the sold-to party | NAME_AG | CHAR | 35 | NAME | ||||
ORT01_AG | Location of the sold-to party | ORT01_AG | CHAR | 35 | ORT01 | ||||
OBJECT | Packing Object | VPOBJ | CHAR | 2 | VPOBJ | ||||
OBJKEY | Key for Object to Which the Handling Unit is Assigned | VPOBJKEY | CHAR | 20 | CHAR20 | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
VTWKU | Reference distrib.channel for cust.and material masters | VTWKU | CHAR | 2 | Assigned to domain | VTWEG | VTW | ||
SPAKU | Reference division for customers | SPAKU | CHAR | 2 | Assigned to domain | SPART | SPA | ||
ANZPK | Total number of packages in delivery | ANZPK | NUMC | 5 | ANZPK | ||||
VSBED | Shipping Conditions | VSBED | CHAR | 2 | Assigned to domain | VSBED | |||
VSBED_BEZ | Description of the shipping conditions | VSBED_BEZ | CHAR | 20 | TEXT20 | ||||
VSART | Shipping type | VERSART | CHAR | 2 | Assigned to domain | VERSART | |||
VSART_BEZ | Description of the Shipping Type | VERSARTBEZ | CHAR | 20 | TEXT20 | ||||
VSTEL | Shipping Point/Receiving Point | VSTEL | CHAR | 4 | Assigned to domain | VSTEL | VST | ||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
LFDAT_LA | Delivery date | LFDAT_LA | DATS | 8 | DATUM | ||||
LFUHR_LA | Time of delivery | LFUHR_LA | TIMS | 6 | LFUHR | ||||
BTGEW | Total Weight | GSGEW | QUAN | 15(3) | MENG15 | ||||
NTGEW | Net weight | NTGEW_15 | QUAN | 15(3) | MENG15 | ||||
GEWEI | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VOLUM | Volume | VOLUM_15 | QUAN | 15(3) | MENG15 | ||||
VOLEH | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DPLBG | Planned date for start of loading | DPLBG | DATS | 8 | DATUM | ||||
DPLEN | Planned date for end of loading | DPLEND | DATS | 8 | DATUM | ||||
DPTBG | Planned date for start of shipment | DPTBG | DATS | 8 | DATUM | ||||
LFART | Delivery Type | LFART | CHAR | 4 | Assigned to domain | LFART | ALT | ||
AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
TEXT001 | Description of Handling Unit Content | INHALT | CHAR | 40 | TEXT40 | ||||
TEXT002 | Description of Handling Unit Content | INHALT | CHAR | 40 | TEXT40 | ||||
TEXT003 | Description of Handling Unit Content | INHALT | CHAR | 40 | TEXT40 | ||||
PLANHU | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
VBELN_VL | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL | |
VBELN_VA | Sales Document | VBELN_VA | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
TKNUM | Shipment Number | TKNUM | CHAR | 10 | Assigned to domain | ALPHA | TKNUM | TNR | SD_F4_SHP_ID |
TANUM | Transfer Order Number | TANUM | NUMC | 10 | TANUM | TAN | |||
TEXT1_2000 | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
TEXT2_2000 | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
TEXT3_2000 | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
TEXT4_2000 | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
TEXT5_2000 | Description of rule | BEZEI60 | CHAR | 60 | TEXT60 | ||||
TEXT6_2000 | Description of rule | BEZEI60 | CHAR | 60 | TEXT60 | ||||
VPOBJ | Packing Object | VPOBJ | CHAR | 2 | VPOBJ | ||||
VPOBJKEY | Key for Object to Which the Handling Unit is Assigned | VPOBJKEY | CHAR | 20 | CHAR20 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
LGPLA | Storage Bin | LGPLA | CHAR | 10 | Assigned to domain | LGPLA | LGP | LAG1 | |
LGTYP | Storage Type | LGTYP | CHAR | 3 | Assigned to domain | LGTYP | LGT | H_T301 | |
PROFILE | Packing transaction profile | PL_PROFILE | CHAR | 4 | PL_PROFILE | ||||
LSTEL | Loading Point | LSTEL | CHAR | 2 | Assigned to domain | LSTEL | |||
INTCOM | Indicator for call context | INTCOM | CHAR | 1 | INTCOM | ||||
POSTING_CHANGE | Checkbox | XFELD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure V51KO using ABAP code?
As V51KO 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 V51KO as there is no data to select.How to access SAP table V51KO
Within an ECC or HANA version of SAP you can also view further information about V51KO and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects