BAPI_MVKE SAP (Sales Data) Structure details
Description: Sales Data
Structure field list including key, data, relationships and ABAP select examples
BAPI_MVKE 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 "Sales Data" 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_BAPI_MVKE TYPE BAPI_MVKE.
The BAPI_MVKE table consists of various fields, each holding specific information or linking keys about Sales Data data available in SAP. These include DISTR_CHAN (Distribution Channel), DEL_FLAG (Ind.: Flag material for deletion at distribution chain level), MATL_STATS (Material statistics group), REBATE_GRP (Volume rebate 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: Can be enhanced (character-type or numeric)
SAP BAPI_MVKE 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 |
SALES_ORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
DEL_FLAG | Ind.: Flag material for deletion at distribution chain level | LVOVK | CHAR | 1 | XFELD | ||||
MATL_STATS | Material statistics group | STGMA | CHAR | 1 | Assigned to domain | STGMA | |||
REBATE_GRP | Volume rebate group | BONUS | CHAR | 2 | Assigned to domain | BONUS | |||
COMM_GROUP | Commission group | PROVG | CHAR | 2 | Assigned to domain | PROVG | |||
CASH_DISC | Cash discount indicator | SKTOF | CHAR | 1 | XFELD | ||||
SAL_STATUS | Distribution-chain-specific material status | VMSTA | CHAR | 2 | Assigned to domain | VMSTA | |||
VALID_FROM | Date from which distr.-chain-spec. material status is valid | VMSTD | DATS | 8 | DATUM | ||||
MIN_ORDER | Minimum order quantity in base unit of measure | MINAU | QUAN | 13(3) | MENG13 | ||||
MIN_DELY | Minimum delivery quantity in delivery note processing | MINLF | QUAN | 13(3) | MENG13 | ||||
MIN_MTO | Minimum make-to-order quantity | MINEF | QUAN | 13(3) | MENG13 | ||||
DELY_UNIT | Delivery unit | SCHRT | QUAN | 13(3) | MENG13 | ||||
DELY_UOM | Unit of measure of delivery unit | SCHME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DELY_UOM_ISO | Unit of measure for delivery unit in ISO code | SCHME_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
SALES_UNIT | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SALES_UNIT_ISO | Sales unit in ISO code | VRKME_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
ITEM_CAT | Item category group from material master | MTPOS | CHAR | 4 | Assigned to domain | MTPOS | |||
DELYG_PLNT | Delivering Plant | DWERK | CHAR | 4 | Assigned to domain | WERKS | |||
PROD_HIER | Product hierarchy | PRODH_D | CHAR | 18 | Assigned to domain | PRODH | VPR | ||
PR_REF_MAT | Pricing Reference Material | PMATN | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
MAT_PR_GRP | Material Pricing Group | KONDM | CHAR | 2 | Assigned to domain | KONDM | VKM | ||
ACCT_ASSGT | Account assignment group for this material | KTGRM | CHAR | 2 | Assigned to domain | KTGRM | |||
MATL_GRP_1 | Material group 1 | MVGR1 | CHAR | 3 | Assigned to domain | MVGR1 | |||
MATL_GRP_2 | Material group 2 | MVGR2 | CHAR | 3 | Assigned to domain | MVGR2 | |||
MATL_GRP_3 | Material group 3 | MVGR3 | CHAR | 3 | Assigned to domain | MVGR3 | |||
MATL_GRP_4 | Material group 4 | MVGR4 | CHAR | 3 | Assigned to domain | MVGR4 | |||
MATL_GRP_5 | Material group 5 | MVGR5 | CHAR | 3 | Assigned to domain | MVGR5 | |||
PROD_ATT_1 | ID for product attribute 1 | PRAT1 | CHAR | 1 | PRATA | ||||
PROD_ATT_2 | ID for product attribute 2 | PRAT2 | CHAR | 1 | PRATA | ||||
PROD_ATT_3 | ID for product attribute 3 | PRAT3 | CHAR | 1 | PRATA | ||||
PROD_ATT_4 | ID for product attribute 4 | PRAT4 | CHAR | 1 | PRATA | ||||
PROD_ATT_5 | ID for product attribute 5 | PRAT5 | CHAR | 1 | PRATA | ||||
PROD_ATT_6 | ID for product attribute 6 | PRAT6 | CHAR | 1 | PRATA | ||||
PROD_ATT_7 | ID for product attribute 7 | PRAT7 | CHAR | 1 | PRATA | ||||
PROD_ATT_8 | ID for product attribute 8 | PRAT8 | CHAR | 1 | PRATA | ||||
PROD_ATT_9 | ID for product attribute 9 | PRAT9 | CHAR | 1 | PRATA | ||||
PROD_ATT10 | ID for product attribute 10 | PRATA | CHAR | 1 | PRATA | ||||
ROUND_PROF | Rounding Profile | RDPRF | CHAR | 4 | Assigned to domain | RDPRF | |||
VAR_SALES_UN | Variable Sales Unit Not Allowed | VAVME | CHAR | 1 | XFELD | ||||
UNIT_GROUP | Unit of Measure Group | MEGRU | CHAR | 4 | Assigned to domain | MEGRU | |||
PR_REF_MAT_EXTERNAL | Long Material Number for PR_REF_MAT Field | MGV_PR_REF_MAT_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
PR_REF_MAT_GUID | External GUID for PR_REF_MAT Field | MGV_PR_REF_MAT_GUID | CHAR | 32 | MATNR_EGUID | ||||
PR_REF_MAT_VERSION | Version Number for PR_REF_MAT Field | MGV_PR_REF_MAT_VERSION | CHAR | 10 | MATNW | MATNR_VERS |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_MVKE using ABAP code?
As BAPI_MVKE 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 BAPI_MVKE as there is no data to select.How to access SAP table BAPI_MVKE
Within an ECC or HANA version of SAP you can also view further information about BAPI_MVKE 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