KMAS_D SAP (Screen Fields for Master Data Selection (FUGR KMS0 - KMS7)) Structure details
Description: Screen Fields for Master Data Selection (FUGR KMS0 - KMS7)
Structure field list including key, data, relationships and ABAP select examples
KMAS_D 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 "Screen Fields for Master Data Selection (FUGR KMS0 - KMS7)" 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_KMAS_D TYPE KMAS_D.
The KMAS_D table consists of various fields, each holding specific information or linking keys about Screen Fields for Master Data Selection (FUGR KMS0 - KMS7) data available in SAP. These include KOSTL (Cost Center), KOSTL_TO (To Cost Center), KZKOSTLSET (Cost center group), KOSTL_SET (Cost Center Group).. 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: Not classified
SAP KMAS_D 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 |
KZKOSTL | Cost center | CO_KZKOSTL | CHAR | 1 | XFELD | ||||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
KOSTL_TO | To Cost Center | KOSTL_TO | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | K81 | |
KZKOSTLSET | Cost center group | CO_KZKSGRU | CHAR | 1 | XFELD | ||||
KOSTL_SET | Cost Center Group | KSGRU | CHAR | 15 | GRPNAME | KSG | |||
SETTXT_KST | Short description of a set | SETTEXT | CHAR | 40 | TEXT40 | ||||
KZKOSTLALL | All Cost Centers | CO_ALLEKST | CHAR | 1 | XFELD | ||||
KZKOSTLNO | Exclude Cost Centers? | CO_KZNOKST | CHAR | 1 | XFLAG | ||||
KZKSTAR | Specified Cost Element | CO_KZKSTAR | CHAR | 1 | XFELD | ||||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
KSTAR_TO | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
KZKSTARSET | Cost Element Group | CO_KZKAGRU | CHAR | 1 | XFLAG | ||||
KSTAR_SET | Cost Element Group | KAGRU | CHAR | 15 | GRPNAME | KAG | |||
SETTXT_KOA | Short description of a set | SETTEXT | CHAR | 40 | TEXT40 | ||||
KZKSTARALL | Include All Cost Elements | CO_ALLEKOA | CHAR | 1 | XFELD | ||||
KZKSTARNO | Exclude Cost Elements? | CO_KZNOKOA | CHAR | 1 | XFLAG | ||||
KZLSTAR | Specific Activity Type | CO_KZLSTAR | CHAR | 1 | XFELD | ||||
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
LSTAR_TO | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
KZLSTARSET | Activity Type Group | CO_KZHLSTA | CHAR | 1 | XFLAG | ||||
LSTAR_SET | Activity Type Group | LAGRU | CHAR | 15 | GRPNAME | LSG | |||
SETTXT_LST | Short description of a set | SETTEXT | CHAR | 40 | TEXT40 | ||||
KZLSTARALL | Include All Activity Types? | CO_ALLELST | CHAR | 1 | XFELD | ||||
KZLSTARNO | Exclude Activity Types? | CO_KZNOLST | CHAR | 1 | XFLAG | ||||
KZPRZNR | Specific Business Process | CO_KZPRZNR | CHAR | 1 | XFELD | ||||
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
PRZNR_TO | To Business Process Number | CO_PRZNR_TO | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | K86 | |
KZPRZNRSET | Indicator: Business Process Group | CO_KZPHINR | CHAR | 1 | XFLAG | ||||
PRZNR_SET | Business process group | BPGRP | CHAR | 15 | GRPNAME | KWH | |||
SETTXT_PRZ | Short description of a set | SETTEXT | CHAR | 40 | TEXT40 | ||||
KZPRZNRALL | Include All Business Processes? | CO_ALLEPRZ | CHAR | 1 | XFELD | ||||
KZPRZNRNO | Exclude Business Processes? | CO_KZNOPRZ | CHAR | 1 | XFLAG | ||||
BIS | To-input (selection field) | BISSL20 | CHAR | 20 | CHAR20 | ||||
KZVARIANT | Selection Variant | CO_KZVARIA | CHAR | 1 | XFELD | ||||
VARIANT_KS | Selection Variant: Cost Centers Master Data | CO_VARIANT_KS | CHAR | 14 | RALDB_VARI | KA1 | |||
VARIANT_KA | Select Variant: Cost Element Master Data | CO_VARIANT_KA | CHAR | 14 | RALDB_VARI | KA2 | |||
VARIANT_KL | Selection Variant: Activity Type Master Data | CO_VARIANT_KL | CHAR | 14 | RALDB_VARI | KA3 | |||
VARIANT_BP | Selection Variant, Business Process Master Data | CO_VARIANT_BP | CHAR | 14 | RALDB_VARI | KWM | |||
VARIANTTXT | Program variant short text | RVART_VTXT | CHAR | 30 | TEXT30 |
Key field | Non-key field |
How do I retrieve data from SAP structure KMAS_D using ABAP code?
As KMAS_D 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 KMAS_D as there is no data to select.How to access SAP table KMAS_D
Within an ECC or HANA version of SAP you can also view further information about KMAS_D 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