MCWB2HED SAP (GTM: Hedging Items) Structure details
Description: GTM: Hedging Items
Structure field list including key, data, relationships and ABAP select examples
MCWB2HED 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 "GTM: Hedging Items" 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_MCWB2HED TYPE MCWB2HED.
The MCWB2HED table consists of various fields, each holding specific information or linking keys about GTM: Hedging Items data available in SAP. These include MANDT (Client), DOC_TYPE (Document Type), DOCUMENT (Assoc. Mngt: General Document), ITEM (Assoc. Mngt: Item Number in a General 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 MCWB2HED 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 |
SUPKZ | Statistics update indicator (post in/post out) | SUPKZ | CHAR | 1 | SUPKZ | ||||
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
DOC_TYPE | Document Type | WB2_DOC_TYPE | CHAR | 2 | WB2_DOC_TYPE | ||||
DOCUMENT | Assoc. Mngt: General Document | WB2_DOCUMENT | CHAR | 18 | WB2_LINKED_NUMBER | ||||
ITEM | Assoc. Mngt: Item Number in a General Document | WB2_N2M_ITEM | CHAR | 10 | WB2_LINKED_POSNR | ||||
SUB_ITEM | Assoc. Mngt: Sub-Item Number in a General Document | WB2_N2M_SUB_ITEM | NUMC | 6 | TPOSN | ||||
TKONN | Trading Contract: Trading Contract Number | TKONN | CHAR | 10 | Assigned to domain | ALPHA | TKONN | WKN | WBHK |
TPOSN | Trading Contract: Item Number | TPOSN | NUMC | 6 | TPOSN | WKP | |||
TPOSN_SUB | Trading Contract: Sub-Item Number | TPOSN_SUB | NUMC | 6 | TPOSN | ||||
SIDE | Side | WB2_SIDE | CHAR | 1 | WB2_SIDE | ||||
PRED_DOC_TYPE | Document Type | WB2_DOC_TYPE | CHAR | 2 | WB2_DOC_TYPE | ||||
PRED_DOCUMENT | Assoc. Mngt: General Document | WB2_DOCUMENT | CHAR | 18 | WB2_LINKED_NUMBER | ||||
PRED_ITEM | Assoc. Mngt: Item Number in a General Document | WB2_N2M_ITEM | CHAR | 10 | WB2_LINKED_POSNR | ||||
PRED_SUB_ITEM | Assoc. Mngt: Sub-Item Number in a General Document | WB2_N2M_SUB_ITEM | NUMC | 6 | TPOSN | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
UNIT_DOC | Assoc. Mngt: Unit of Measure in Current Document | WB2_UNIT_DOC | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ITEM_QUAN | Assoc. Mngt: Quantity in Current Document | WB2_QUANTITY_DOC | QUAN | 15(3) | MENGV15 | ||||
ITEM_BUOM | Assoc. Mngt: Quantity in Current Document | WB2_QUANTITY_DOC | QUAN | 15(3) | MENGV15 | ||||
UNIT_BUOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UMZ | Numerator: Conversion Factor | WB2_UMZ | DEC | 5 | WB2_UMZ | ||||
UMN | Denominator: Conversion Factor | WB2_UMN | DEC | 5 | WB2_UMN | ||||
NETPR_MM | Trading Contract: Purchase Price | MMBTR | CURR | 11(2) | WERTV6 | ||||
WAERS_MM | Trading Contract: Purchasing Currency | MMWRS | CUKY | 5 | Assigned to domain | WAERS | |||
NETPR_SD | Trading Contract: Sales Price | SDBTR | CURR | 11(2) | WERTV6 | ||||
SDWRS | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
NETWRT_IN_SDWRS | Net value of the order item in document currency | NETWR_AP | CURR | 15(2) | WERTV8 | ||||
NETWRT_IN_WAERS | Global Trade: Value in PO Currency | NETWRT_MM | CURR | 15(2) | WERTV8 | ||||
WAERS_PURCH | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KZWI1 | Subtotal 1 from pricing procedure for condition | KZWI1 | CURR | 13(2) | WERTV7 | ||||
KZWI2 | Subtotal 2 from pricing procedure for condition | KZWI2 | CURR | 13(2) | WERTV7 | ||||
KZWI3 | Subtotal 3 from pricing procedure for condition | KZWI3 | CURR | 13(2) | WERTV7 | ||||
KZWI4 | Subtotal 4 from pricing procedure for condition | KZWI4 | CURR | 13(2) | WERTV7 | ||||
KZWI5 | Subtotal 5 from pricing procedure for condition | KZWI5 | CURR | 13(2) | WERTV7 | ||||
KZWI6 | Subtotal 6 from pricing procedure for condition | KZWI6 | CURR | 13(2) | WERTV7 | ||||
RISK_UNIT | Unit of Measure (Commodity Future Base Unit of Measure) | WB2_RISK_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
RISK_QUANTITY | GTM Risk Quantity | WB2_RISK_QUAN | QUAN | 15(3) | MENGV15 | ||||
RISK_MATERIAL | GTM Risk Material | WB2_RISK_MAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
RISK_DATE | GTM Risk Date | WB2_RISK_DATE | DATS | 8 | DATUM | ||||
RISK_DATE_LOG | GTM Risk Date | WB2_RISK_DATE | DATS | 8 | DATUM | ||||
RISK_DATE_FROM | GTM Risk Date | WB2_RISK_DATE | DATS | 8 | DATUM | ||||
RISK_DATE_TO | GTM Risk Date | WB2_RISK_DATE | DATS | 8 | DATUM | ||||
RISK_RANL | Text (20 Characters) | TEXT20 | CHAR | 20 | TEXT20 | ||||
RISK_TYPE | GTM Risk Category | WB2_RISK_TYPE | CHAR | 2 | WB2_RISK_TYPE | ||||
TC_STATUS | Trading Contract: Application Status | BTBSTA | CHAR | 1 | Assigned to domain | BTBSTA | |||
UPDKZ | Update indicator | UPDKZ_D | CHAR | 1 | UPDKZ |
Key field | Non-key field |
How do I retrieve data from SAP structure MCWB2HED using ABAP code?
As MCWB2HED 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 MCWB2HED as there is no data to select.How to access SAP table MCWB2HED
Within an ECC or HANA version of SAP you can also view further information about MCWB2HED 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