MCCASH SAP (Cash external: Header data, receipts (only LIS)) Structure details
Description: Cash external: Header data, receipts (only LIS)
Structure field list including key, data, relationships and ABAP select examples
MCCASH 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 "Cash external: Header data, receipts (only LIS)" 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_MCCASH TYPE MCCASH.
The MCCASH table consists of various fields, each holding specific information or linking keys about Cash external: Header data, receipts (only LIS) data available in SAP. These include WERKS (Plant), KSKRS (POS controller), KASNR (POS number), BUDAT (Posting Date in the 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 MCCASH 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 | T000 | MANDT | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
KSKRS | POS controller | W_KSKRS | NUMC | 5 | W_KSKRS | ||||
KASNR | POS number | W_KASNR | NUMC | 10 | KASNR | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BONNR | Transaction number (till receipt) | W_BONNR | NUMC | 15 | W_BONNR | ||||
KUNNR | Customer number | KUND1 | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
EZEIT | Entry time | ERZET | TIMS | 6 | UZEIT | ||||
KBDNR | Cashier number | W_KBDNR | NUMC | 8 | PERNR | ||||
ZMTTL | Payment method as condition | W_ZAHLART | CHAR | 4 | T685 | KSCHL | |||
WAERK | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
SUPKZ | Statistics update indicator (post in/post out) | SUPKZ | CHAR | 1 | SUPKZ | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | TCURC | WAERS | |||
KURSK | Exchange Rate for Price Determination | KURSK | DEC | 9(5) | EXCRT | KURRF | |||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
BZIRK | Sales district | W_BEZIRK | CHAR | 6 | T171 | BZIRK | |||
AZPOS | Number of items from sales as per receipts/aggregated sales | W_ANZPOS | DEC | 11 | BCSP6 | ||||
FILNR | Assortment owner | FILIALE | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
KASNAM | Cashier name | W_KASNAM | CHAR | 35 | CHAR35 | ||||
KUNDK | Customer ID | W_KUNDK | CHAR | 1 | W_KUNDK | ||||
DUMMY1 | Dummy element 1 POS (10 characters) | W_DUMMY1 | CHAR | 6 | CHAR6 | ||||
DUMMY2 | Dummy element 2 POS (10 characters) | W_DUMMY2 | CHAR | 4 | CHAR4 | ||||
DUMMY3 | Dummy element 3 POS (10 characters) | W_DUMMY3 | CHAR | 4 | CHAR4 | ||||
DUMMY4 | Dummy element 4 POS (10 characters) | W_DUMMY4 | CHAR | 10 | CHAR10 | ||||
DUMMY5 | Dummy element 5 POS (10 characters) | W_DUMMY5 | CHAR | 10 | CHAR10 | ||||
TABIX | Index in an internal table | POS_TABIX | INT4 | 10 | POS_TABIX | ||||
DUMMY | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY |
Key field | Non-key field |
How do I retrieve data from SAP structure MCCASH using ABAP code?
As MCCASH 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 MCCASH as there is no data to select.How to access SAP table MCCASH
Within an ECC or HANA version of SAP you can also view further information about MCCASH 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