KOMWBGT SAP (Communication structure) Structure details

Dictionary Type: Structure
Description: Communication structure




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




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

KOMWBGT 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 "Communication 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_KOMWBGT TYPE KOMWBGT.

The KOMWBGT table consists of various fields, each holding specific information or linking keys about Communication structure data available in SAP. These include MANDT (Client), DOC_TYPE (Document Type), VBELN (General Document Number), POSNR (Item Number of a Document).. 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 KOMWBGT 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
MANDTClient MANDTCLNT3T000MANDT
DOC_TYPEDocument Type WB2_DOC_TYPECHAR2WB2_DOC_TYPE
VBELNGeneral Document Number WB2_DOCUMENT_NUMBERCHAR10Assigned to domainALPHAVBELNAUN
POSNRItem Number of a Document WB2_DOCUMENT_ITEMNUMC6Assigned to domainPOSNR
POSNR_SUBSub-Item Number of a Document WB2_SUB_ITEMNUMC6TPOSN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
TKONNTrading Contract: Trading Contract Number TKONNCHAR10WBHKALPHATKONNWKNWBHK
TPOSNTrading Contract: Item Number TPOSNNUMC6WBHITPOSNWKP
TPOSN_SUBTrading Contract: Sub-Item Number TPOSN_SUBNUMC6WBHITPOSN
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
TEW_TYPETrading Execution Workbench Type WB2_TEW_TYPECHAR4TEWTYPEWB2_TEW_TYPETEW_TYPE2S_TEWTYPE
MASTER_STEPMain Step WB2_MASTER_STEPCHAR4WB2_STEP
SCENARIOBusiness Scenario WB2_BUSINESS_SCENARIOCHAR2TEWSCENARIOWB2_BUSINESS_SCENARIO
BUSINESS_STEPBusiness Process Step WB2_STEPCHAR4Assigned to domainWB2_STEP
TKONN_EXTrading Contract: External Document Number TKONN_EXCHAR30TKONN_EXWKN_EX
COMPLETEGlobal Trade: Item Closed WB2_DOCUMENT_COMPLETE_2CHAR1WB2_DOCUMENT_COMPLETE_2
ERROR_TEWGlobal Trade: Error in Follow-On Document Creation WB2B_ERROR_TEWCHAR1WB2B_ERROR_TEW
PRE_STEPPrevious Step of Business Process WB2_PRE_STEPCHAR4WB2_STEP
ORIGINAL_STEPPrevious Step of Business Process WB2_PRE_STEPCHAR4WB2_STEP
POD_QUANActual Invoiced Quantity FKIMGQUAN13(3) MENG13
POD_UOMSales unit VRKMEUNIT3T006CUNITMEINS
PUR_QUANPurchase Order Quantity BSTMGQUAN13(3) MENG13
PUR_UOMPurchase Order Unit of Measure BSTMEUNIT3T006CUNITMEINS
GUIDGUID in 'CHAR' format with upper-/lowercase (!) GUID_22CHAR22SYSUUID_22
TEW_MODEMode of the Step of a Business Process WB2_MODECHAR4WB2_MODE
DEL_FLAGGlobal Trade Deletion Indicator WB2_DELETION_FLAGCHAR1WB2_DELETION_FLAG
REL_FLAGIndicator for Deletion Process WB2_RELEASE_FLAGCHAR1WB2_RELEASE_FLAG
SEND_COMPLSend Completion Indicator WB2_SEND_COMPLETIONCHAR1WB2_SEND_COMPLETION
PRED_DOC_TYPEDocument Type WB2_DOC_TYPECHAR2WB2_DOC_TYPE
PRED_DOCUMENTAssoc. Mngt: General Document WB2_DOCUMENTCHAR18WB2_LINKED_NUMBER
PRED_ITEMAssoc. Mngt: Item Number in a General Document WB2_N2M_ITEMCHAR10WB2_LINKED_POSNR
PRED_SUB_ITEMAssoc. Mngt: Sub-Item Number in a General Document WB2_N2M_SUB_ITEMNUMC6TPOSN
SIDESide WB2_SIDECHAR1WB2_SIDE
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCH1CHARGCHA
OWN_QUANAssoc. Mngt: Quantity in Current Document WB2_QUANTITY_DOCQUAN15(3) MENGV15
UNIT_DOCAssoc. Mngt: Unit of Measure in Current Document WB2_UNIT_DOCUNIT3T006CUNITMEINS
UMZNumerator: Conversion Factor WB2_UMZDEC5WB2_UMZ
UMNDenominator: Conversion Factor WB2_UMNDEC5WB2_UMN
VALUEItem Value WB2_VALUECURR15(2) WERTV8
VAL_TYPEValuation Category in BW WB2_VAL_TYPECHAR2WB2_VAL_TYPE
TAX_VALTax Amount for an Item WB2_TAX_VALCURR15(2) WERTV8
RATE_VALExchange Rate for Item Value in Local Currency WB2_RATE_VALDEC9(5) EXCRTKURRF
CURR_VALCurrency WB2_WAERLCUKY5TCURCWAERSFWS
VALUE_COSTStock Value WB2_VALUE_COSTCURR15(2) WERTV8
AV_DATEDate WB2_DATUMDATS8WB2_DATUM
RET_ITEMReturns Item RETPOCHAR1XFELD
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MOVE_TYPE_CODEGlobal Trade Management: +/- Sign for Values and Quantities WB2_MOVE_TYPE_CODECHAR1WB2_MOVE_TYPE_CODE
CWM_MENGEQuantity in Parallel Unit of Measure WLF_CWM_MENGEQUAN13(3) MENG13
CWM_MEINSAB: Parallel Unit of Measure WLF_CWM_MEINSUNIT3Assigned to domainCUNITMEINS
GROUP_CODEGroup PPE_GROUPCHAR4PPE_GROUP
EXP_SUMGTM Expenses Total WB2_EXP_SUMCURR15(2) WERTV8
TAX_EXP_SUMTax Amount on Expenses WB2_TAX_EXPCURR15(2) WERTV8
EXP_RPRecoverable Purchasing Expenses WB2_EXP_RPCURR15(2) WERTV8
EXP_NRPGTM - Non-Recoverable Purchasing Expenses WB2_EXP_NRPCURR15(2) WERTV8
EXP_RSGTM Recoverable Sales Expenses WB2_EXP_RSCURR15(2) WERTV8
EXP_NRSGTM - Non-Recoverable Sales Expenses WB2_EXP_NRSCURR15(2) WERTV8
RATE_EXPExchange Rate for Expenses in Local Currency WB2_RATE_EXPDEC9(5) EXCRTKURRF
CURR_EXPCurrency WB2_WAERLCUKY5TCURCWAERSFWS
HAS_SHADOW_TCHas a shadow TC WB2_HAS_SHADOW_TCCHAR1BVALD
.INCLU--AP 0
DI_STATUSDifferential Invoice Status WB2_DI_STATUSCHAR1WB2_DI_STATUS
UPDKZUpdate indicator UPDKZ_DCHAR1UPDKZ
QUAN_OLDAssoc. Mngt: Complete Quantity of an Item WB2_COMPLETE_QUANQUAN15(3) MENGV15
UNIT_OF_QUANSales unit VRKMEUNIT3Assigned to domainCUNITMEINS
WERK_OLDPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORT_OLDStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARG_OLDBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SEND_COMPL_POMark Purchasing Process as Complete WB2_SEND_COMPLETION_POCHAR1WB2_COMPLETION_SENT_PO
SEND_COMPL_SOFlag Sales Process as Complete WB2_SEND_COMPLETION_SOCHAR1WB2_COMPLETION_SENT_SO
LAST_PROCESSED_QUANAssoc. Mngt: Complete Quantity of an Item WB2_COMPLETE_QUANQUAN15(3) MENGV15
STATUSName of an Icon ICONNAMECHAR30ICONNAME
GR_QTYAssoc. Mngt: Complete Quantity of an Item WB2_COMPLETE_QUANQUAN15(3) MENGV15
GR_QTY_CALCULATEDBoolean BVALCHAR1BVALD
.INCLU--AP 0
NOM_KEYNomination Technical Key WB2_NOM_KEYCHAR20
NOM_ITEMNomination Key Item WB2_NOM_ITEMCHAR10
DOC_NUMBERDocument Number WB2_DOC_NUMBERCHAR20
DOC_ITEMDocument Line Item Number WB2_DOC_ITMCHAR10
DOC_REF_TYPEReference Document Type in Nomination WB2_REF_DOC_TYPECHAR2
DOC_REF_NUMBERNomination Reference Document Number WB2_REF_DOC_NOCHAR10
DOC_REF_ITEMNomination Reference Document Item WB2_REF_DOC_ITEMNUMC6
NOM_HEADER_ITEMNomination indicator ('H' = Header and 'I' = Item) WB2_NOM_STATUSCHAR1
NOM_KEY_OLDNomination Technical Key WB2_NOM_KEYCHAR20
.INCLU--AP 0
AB_DOC_TYPEAgency Business: Document Category of Preceding Document WFTYPVCHAR2WFTYPV
EXP_HEADER_ITEMExpense Level WB2_EXP_LEVELCHAR2WB2_EXP_LEVEL
DOC_NUM 0

Key field Non-key field



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

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

How to access SAP table KOMWBGT

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