KOGA SAP (Fields allowed for warranty condition structures) Structure details

Dictionary Type: Structure
Description: Fields allowed for warranty condition structures




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




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

KOGA 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 "Fields allowed for warranty condition structures" 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_KOGA TYPE KOGA.

The KOGA table consists of various fields, each holding specific information or linking keys about Fields allowed for warranty condition structures data available in SAP. These include GATYP (Warranty category), VKORG (Sales Organization), VTWEG (Distribution Channel), SPART (Division).. 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)


SAP KOGA 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 MANDTCLNT3Assigned to domainMANDT
GATYPWarranty category GATYPCHAR1GATYP
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
KUNNRCustomer number KUNNR_VCHAR10Assigned to domainALPHAKUNNRKUN
KDGRPCustomer group KDGRPCHAR2Assigned to domainKDGRPVKD
KONDAPrice group (customer) KONDA_VCHAR2Assigned to domainKONDAVKA
KONDMMaterial pricing group KONDM_VCHAR2Assigned to domainKONDMVKM
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
PRODHProduct hierarchy PRODH_DCHAR18Assigned to domainPRODHVPR
ALANDDeparture country (country from which the goods are sent) ALANDCHAR3Assigned to domainLAND1VAL
LLANDCountry of Destination LLANDCHAR3Assigned to domainLAND1VLL
REGIOSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
WAGRPMaterial group WAGRPCHAR9CHAR9
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
AUTYPOrder category AUFTYPNUMC2AUFTYP
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
VARCONDVariant condition VARCONDCHAR26Assigned to domainVARCON
VGARTTransaction/Event Type VGARTCHAR2Assigned to domainVGART
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
BLAUMDocument type of revaluation document BLAUMCHAR2Assigned to domainBLART
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
INSMKStock Type MB_INSMKCHAR1MB_INSMK
VBTYPSD document category VBTYPCHAR1VBTYP
TRVOGTransaction group TRVOGCHAR1TRVOGVTV
VBKLAOriginal system with release and transaction control VBKLACHAR9CHAR9
VBKLTSD document indicator VBKLTCHAR1VBKLT
KVGR1Customer group 1 KVGR1CHAR3Assigned to domainKVGR1
KVGR2Customer group 2 KVGR2CHAR3Assigned to domainKVGR2
KVGR3Customer group 3 KVGR3CHAR3Assigned to domainKVGR3
KVGR4Customer group 4 KVGR4CHAR3Assigned to domainKVGR4
KVGR5Customer group 5 KVGR5CHAR3Assigned to domainKVGR5
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
POSARItem type POSARCHAR1POSAR
ATPKZReplacement part ATPKZCHAR1ATPKZ
KTGRMAccount assignment group for this material KTGRMCHAR2Assigned to domainKTGRM
NUMTPCategory of International Article Number (EAN) NUMTPCHAR2Assigned to domainNUMTP
EAN11International Article Number (EAN/UPC) EAN11CHAR18EAN11EAN11EAN
EXPKZExport indicator EXPKZCHAR1EXPKZ
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
MVGR1Material group 1 MVGR1CHAR3Assigned to domainMVGR1
MVGR2Material group 2 MVGR2CHAR3Assigned to domainMVGR2
MVGR3Material group 3 MVGR3CHAR3Assigned to domainMVGR3
MVGR4Material group 4 MVGR4CHAR3Assigned to domainMVGR4
MVGR5Material group 5 MVGR5CHAR3Assigned to domainMVGR5
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BSARTOrder Type (Purchasing) BSARTCHAR4Assigned to domainBSARTBSA
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
GWLDTWarranty Date GWLDTDATS8DATUM
GWLENDate on which the warranty ends GWLENDATS8DATUM
BRSCHIndustry key BRSCHCHAR4Assigned to domainBRSCH
KONZSGroup key KONZSCHAR10KONZS
KTOKDCustomer Account Group KTOKDCHAR4Assigned to domainKTOKDKGD
KUKLACustomer classification KUKLACHAR2Assigned to domainKUKLA
DEAR1Indicator: Competitor DEAR1CHAR1XFELD
DEAR2Indicator: Sales partner DEAR2CHAR1XFELD
DEAR3Indicator: Sales prospect DEAR3CHAR1DEAR3
DEAR4Indicator for customer type 4 DEAR4CHAR1XFELD
DEAR5ID for default sold-to party DEAR5CHAR1XFELD
BRAN1Industry Code 1 BRAN1_DCHAR10Assigned to domainBRACO
BRAN2Industry code 2 BRAN2CHAR10Assigned to domainBRACO
BRAN3Industry code 3 BRAN3CHAR10Assigned to domainBRACO
BRAN4Industry code 4 BRAN4CHAR10Assigned to domainBRACO
BRAN5Industry code 5 BRAN5CHAR10Assigned to domainBRACO
KATR1Attribute 1 KATR1CHAR2Assigned to domainATTR1
KATR2Attribute - 2 KATR2CHAR2Assigned to domainATTR2
KATR3Attribute 3 KATR3CHAR2Assigned to domainATTR3
KATR4Attribute 4 KATR4CHAR2Assigned to domainATTR4
KATR5Attribute 5 KATR5CHAR2Assigned to domainATTR5
KATR6Attribute 6 KATR6CHAR3Assigned to domainATTR6
KATR7Attribute 7 KATR7CHAR3Assigned to domainATTR7
KATR8Attribute 8 KATR8CHAR3Assigned to domainATTR8
KATR9Attribute 9 KATR9CHAR3Assigned to domainATTR9
KATR10Attribute 10 KATR10CHAR3Assigned to domainATTR10
STKZNNatural Person STKZNCHAR1STKZN
STOFFHazardous material number STOFFCHAR18Assigned to domainMATN1STOFFSTO
KTOKKVendor account group KTOKKCHAR4Assigned to domainKTOKKKGK
SERNRBOM explosion number SERNRCHAR8Assigned to domainSERNR
EQUNREquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
EQTYPEquipment category EQTYPCHAR1Assigned to domainEQTYPEQT
EQARTType of Technical Object EQARTCHAR10Assigned to domainEQART
SUBMTConstruction type material of the object SUBMTCHAR18Assigned to domainMATN1MATNRMAT
HEQUISuperordinate Equipment HEQUICHAR18Assigned to domainALPHAEQUNR
STLANBOM Usage STLANCHAR1Assigned to domainSTLANCSV
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
POSNRBOM Item Number SPOSNCHAR4NUMCVSPOSN
STLKNBOM item node number STLKNNUMC8KNTNR
IDNRKBOM component IDNRKCHAR18Assigned to domainMATN1MATNR
POSTPItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
SANFEIndicator: item relevant to production SANFECHAR1XFELD
SANINIndicator: item relevant to plant maintenance SANINCHAR1XFELD
SANKOIndicator: item relevant to engineering SANKOCHAR1XFELD
SANVSIndicator: high-level configuration SANVSCHAR1XFELD
STKKZPM assembly indicator STKKZCHAR1XFELD
OBJTYObject type (BOM item) OBJTYCHAR1Assigned to domainOBJTY

Key field Non-key field



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

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

How to access SAP table KOGA

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