KOGA SAP (Fields allowed for warranty condition structures) Structure details
Description: Fields allowed for warranty condition structures
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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
GATYP | Warranty category | GATYP | CHAR | 1 | GATYP | ||||
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 | |
KUNNR | Customer number | KUNNR_V | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
KDGRP | Customer group | KDGRP | CHAR | 2 | Assigned to domain | KDGRP | VKD | ||
KONDA | Price group (customer) | KONDA_V | CHAR | 2 | Assigned to domain | KONDA | VKA | ||
KONDM | Material pricing group | KONDM_V | CHAR | 2 | Assigned to domain | KONDM | VKM | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
PRODH | Product hierarchy | PRODH_D | CHAR | 18 | Assigned to domain | PRODH | VPR | ||
ALAND | Departure country (country from which the goods are sent) | ALAND | CHAR | 3 | Assigned to domain | LAND1 | VAL | ||
LLAND | Country of Destination | LLAND | CHAR | 3 | Assigned to domain | LAND1 | VLL | ||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
WAGRP | Material group | WAGRP | CHAR | 9 | CHAR9 | ||||
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
VARCOND | Variant condition | VARCOND | CHAR | 26 | Assigned to domain | VARCON | |||
VGART | Transaction/Event Type | VGART | CHAR | 2 | Assigned to domain | VGART | |||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
BLAUM | Document type of revaluation document | BLAUM | CHAR | 2 | Assigned to domain | BLART | |||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
INSMK | Stock Type | MB_INSMK | CHAR | 1 | MB_INSMK | ||||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
TRVOG | Transaction group | TRVOG | CHAR | 1 | TRVOG | VTV | |||
VBKLA | Original system with release and transaction control | VBKLA | CHAR | 9 | CHAR9 | ||||
VBKLT | SD document indicator | VBKLT | CHAR | 1 | VBKLT | ||||
KVGR1 | Customer group 1 | KVGR1 | CHAR | 3 | Assigned to domain | KVGR1 | |||
KVGR2 | Customer group 2 | KVGR2 | CHAR | 3 | Assigned to domain | KVGR2 | |||
KVGR3 | Customer group 3 | KVGR3 | CHAR | 3 | Assigned to domain | KVGR3 | |||
KVGR4 | Customer group 4 | KVGR4 | CHAR | 3 | Assigned to domain | KVGR4 | |||
KVGR5 | Customer group 5 | KVGR5 | CHAR | 3 | Assigned to domain | KVGR5 | |||
PSTYV | Sales document item category | PSTYV | CHAR | 4 | Assigned to domain | PSTYV | |||
POSAR | Item type | POSAR | CHAR | 1 | POSAR | ||||
ATPKZ | Replacement part | ATPKZ | CHAR | 1 | ATPKZ | ||||
KTGRM | Account assignment group for this material | KTGRM | CHAR | 2 | Assigned to domain | KTGRM | |||
NUMTP | Category of International Article Number (EAN) | NUMTP | CHAR | 2 | Assigned to domain | NUMTP | |||
EAN11 | International Article Number (EAN/UPC) | EAN11 | CHAR | 18 | EAN11 | EAN11 | EAN | ||
EXPKZ | Export indicator | EXPKZ | CHAR | 1 | EXPKZ | ||||
VKBUR | Sales Office | VKBUR | CHAR | 4 | Assigned to domain | VKBUR | VKB | ||
MVGR1 | Material group 1 | MVGR1 | CHAR | 3 | Assigned to domain | MVGR1 | |||
MVGR2 | Material group 2 | MVGR2 | CHAR | 3 | Assigned to domain | MVGR2 | |||
MVGR3 | Material group 3 | MVGR3 | CHAR | 3 | Assigned to domain | MVGR3 | |||
MVGR4 | Material group 4 | MVGR4 | CHAR | 3 | Assigned to domain | MVGR4 | |||
MVGR5 | Material group 5 | MVGR5 | CHAR | 3 | Assigned to domain | MVGR5 | |||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
BSART | Order Type (Purchasing) | BSART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
GWLDT | Warranty Date | GWLDT | DATS | 8 | DATUM | ||||
GWLEN | Date on which the warranty ends | GWLEN | DATS | 8 | DATUM | ||||
BRSCH | Industry key | BRSCH | CHAR | 4 | Assigned to domain | BRSCH | |||
KONZS | Group key | KONZS | CHAR | 10 | KONZS | ||||
KTOKD | Customer Account Group | KTOKD | CHAR | 4 | Assigned to domain | KTOKD | KGD | ||
KUKLA | Customer classification | KUKLA | CHAR | 2 | Assigned to domain | KUKLA | |||
DEAR1 | Indicator: Competitor | DEAR1 | CHAR | 1 | XFELD | ||||
DEAR2 | Indicator: Sales partner | DEAR2 | CHAR | 1 | XFELD | ||||
DEAR3 | Indicator: Sales prospect | DEAR3 | CHAR | 1 | DEAR3 | ||||
DEAR4 | Indicator for customer type 4 | DEAR4 | CHAR | 1 | XFELD | ||||
DEAR5 | ID for default sold-to party | DEAR5 | CHAR | 1 | XFELD | ||||
BRAN1 | Industry Code 1 | BRAN1_D | CHAR | 10 | Assigned to domain | BRACO | |||
BRAN2 | Industry code 2 | BRAN2 | CHAR | 10 | Assigned to domain | BRACO | |||
BRAN3 | Industry code 3 | BRAN3 | CHAR | 10 | Assigned to domain | BRACO | |||
BRAN4 | Industry code 4 | BRAN4 | CHAR | 10 | Assigned to domain | BRACO | |||
BRAN5 | Industry code 5 | BRAN5 | CHAR | 10 | Assigned to domain | BRACO | |||
KATR1 | Attribute 1 | KATR1 | CHAR | 2 | Assigned to domain | ATTR1 | |||
KATR2 | Attribute - 2 | KATR2 | CHAR | 2 | Assigned to domain | ATTR2 | |||
KATR3 | Attribute 3 | KATR3 | CHAR | 2 | Assigned to domain | ATTR3 | |||
KATR4 | Attribute 4 | KATR4 | CHAR | 2 | Assigned to domain | ATTR4 | |||
KATR5 | Attribute 5 | KATR5 | CHAR | 2 | Assigned to domain | ATTR5 | |||
KATR6 | Attribute 6 | KATR6 | CHAR | 3 | Assigned to domain | ATTR6 | |||
KATR7 | Attribute 7 | KATR7 | CHAR | 3 | Assigned to domain | ATTR7 | |||
KATR8 | Attribute 8 | KATR8 | CHAR | 3 | Assigned to domain | ATTR8 | |||
KATR9 | Attribute 9 | KATR9 | CHAR | 3 | Assigned to domain | ATTR9 | |||
KATR10 | Attribute 10 | KATR10 | CHAR | 3 | Assigned to domain | ATTR10 | |||
STKZN | Natural Person | STKZN | CHAR | 1 | STKZN | ||||
STOFF | Hazardous material number | STOFF | CHAR | 18 | Assigned to domain | MATN1 | STOFF | STO | |
KTOKK | Vendor account group | KTOKK | CHAR | 4 | Assigned to domain | KTOKK | KGK | ||
SERNR | BOM explosion number | SERNR | CHAR | 8 | Assigned to domain | SERNR | |||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | EQN | EQUI |
EQTYP | Equipment category | EQTYP | CHAR | 1 | Assigned to domain | EQTYP | EQT | ||
EQART | Type of Technical Object | EQART | CHAR | 10 | Assigned to domain | EQART | |||
SUBMT | Construction type material of the object | SUBMT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
HEQUI | Superordinate Equipment | HEQUI | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | ||
STLAN | BOM Usage | STLAN | CHAR | 1 | Assigned to domain | STLAN | CSV | ||
STLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
POSNR | BOM Item Number | SPOSN | CHAR | 4 | NUMCV | SPOSN | |||
STLKN | BOM item node number | STLKN | NUMC | 8 | KNTNR | ||||
IDNRK | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
POSTP | Item Category (Bill of Material) | POSTP | CHAR | 1 | Assigned to domain | POSTP | |||
SANFE | Indicator: item relevant to production | SANFE | CHAR | 1 | XFELD | ||||
SANIN | Indicator: item relevant to plant maintenance | SANIN | CHAR | 1 | XFELD | ||||
SANKO | Indicator: item relevant to engineering | SANKO | CHAR | 1 | XFELD | ||||
SANVS | Indicator: high-level configuration | SANVS | CHAR | 1 | XFELD | ||||
STKKZ | PM assembly indicator | STKKZ | CHAR | 1 | XFELD | ||||
OBJTY | Object type (BOM item) | OBJTY | CHAR | 1 | Assigned to domain | OBJTY |
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 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