KOMSHDE SAP (external shadow item structure) Structure details

Dictionary Type: Structure
Description: external shadow item structure




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




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

KOMSHDE 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 "external shadow item structure" 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_KOMSHDE TYPE KOMSHDE.

The KOMSHDE table consists of various fields, each holding specific information or linking keys about external shadow item structure data available in SAP. These include TYPE (Document Category), DOCUMENT (Document Number), ITEM (item number), SIDE (Side).. 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 KOMSHDE 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
TYPEDocument Category WLF_SHADOW_DOC_TYPECHAR2WLF_SHADOW_DOC_TYPE
DOCUMENTDocument Number WLF_GENERIC_DOC_NUMCHAR32WLF_GENERIC_DOC_NUM
ITEMitem number WLF_GENERIC_ITEM_NUMNUMC10WLF_GENERIC_ITEM_NUM
SIDESide WLF_PR_SIDECHAR2WLF_PR_SIDE
SUB_ITEMSubitem Number WLF_GENERIC_SUB_ITEM_NUMNUMC6WLF_GENERIC_ITEM_NUM_SUB
ITEM_QUANItem Quantity WLF_GENERIC_ITEM_QUANTITYD34R34WLF_QUANTITY
ITEM_UOMUoM of Item Quantity WLF_GENERIC_ITEM_UOMUNIT3Assigned to domainCUNITMEINS
ASSGD_UOMUoM of the Assigned Quantity WLF_ASSGD_UOMUNIT3Assigned to domainCUNITMEINS
NUMERATORNumerator: Item UoM into Assignment UoM (= Base UoM) WLF_UMVKZDEC5UMBSZ
DENOMINATORDenominator (Divisor): Item UoM into Assgmt.UoM (= Base UoM) WLF_UMVKNDEC5UMBSN
VENDORVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
CUSTOMERSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
FUTUREFuture WLF_FUTURECHAR20WLF_FUTURE
CLOSEDItem Closed WLF_ITEM_CLOSEDCHAR1WLF_ITEM_CLOSED
DATE_FROMDate From WLF_DATE_FROMDATS8DATUM
DATE_TODate To WLF_DATE_TODATS8DATUM
CANCEL_FLAGCancel WLF_CANCELCHAR1WLF_CANCEL
COM_CATCommodity Item Category WLF_COM_ITEM_CATCHAR4WLF_COM_ITEM_CAT
PRE_TYPEReference Document Category WLF_PRE_SHADOW_DOC_TYPECHAR2WLF_SHADOW_DOC_TYPE
PRE_DOCUMENTReference Document Number WLF_PRE_GENERIC_DOC_NUMCHAR32WLF_GENERIC_DOC_NUM
PRE_ITEMReference Item Number WLF_PRE_GENERIC_ITEM_NUMNUMC10WLF_GENERIC_ITEM_NUM
PRE_SIDELogistical Side of Referenced Object WLF_PRE_SIDECHAR2WLF_PR_SIDE
PRE_SUB_ITEMReferenced Subitem Number WLF_PRE_GENERIC_SUB_ITEM_NUMNUMC6WLF_GENERIC_ITEM_NUM_SUB
ROOT_TYPEDocument Category of Root Document WLF_ROOT_SHADOW_DOC_TYPECHAR2WLF_SHADOW_DOC_TYPE
ROOT_DOCUMENTRoot Document Number WLF_ROOT_GENERIC_DOC_NUMCHAR32WLF_GENERIC_DOC_NUM
ROOT_ITEMRoot Item Number WLF_ROOT_GENERIC_ITEM_NUMNUMC10WLF_GENERIC_ITEM_NUM
ROOT_SIDELogistical Side of Root Object WLF_ROOT_SIDECHAR2WLF_PR_SIDE
ROOT_SUB_ITEMRoot Subitem Number WLF_ROOT_GENERIC_SUB_ITEM_NUMNUMC6WLF_GENERIC_ITEM_NUM_SUB
PLACE_HOLDER not used0

Key field Non-key field



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

As KOMSHDE 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 KOMSHDE as there is no data to select.

How to access SAP table KOMSHDE

Within an ECC or HANA version of SAP you can also view further information about KOMSHDE 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!