RMPREF02_K SAP (Foreign Trade: Preference: RMPREF02 (header)) Structure details
Description: Foreign Trade: Preference: RMPREF02 (header)
Structure field list including key, data, relationships and ABAP select examples
RMPREF02_K 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 "Foreign Trade: Preference: RMPREF02 (header)" 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_RMPREF02_K TYPE RMPREF02_K.
The RMPREF02_K table consists of various fields, each holding specific information or linking keys about Foreign Trade: Preference: RMPREF02 (header) data available in SAP. These include IDNRK (BOM component), OJTXP (Object description (item)), XTLTY (BOM category), XTLNR (Bill of material).. 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 RMPREF02_K 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 |
GZOLX | Preference zone | GZOLX | CHAR | 4 | Assigned to domain | GZOLX | |||
IDNRK | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
OJTXP | Object description (item) | OJTXP | CHAR | 40 | TEXT40 | ||||
XTLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
XTLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
XTLAN | BOM Usage | STLAN | CHAR | 1 | Assigned to domain | STLAN | CSV | ||
XTLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
FBSKZ | Indicator: procured externally | FBSKZ | CHAR | 1 | XFELD | ||||
STAWN | Commodity Code/Import Code Number for Foreign Trade | STAWN | CHAR | 17 | Assigned to domain | STAWN | |||
PREFE | Preference indicator in export/import | PREFE | CHAR | 1 | PREFE | ||||
PRENE | Indicator: Vendor declaration exists | PRENE | CHAR | 1 | PRENE | PNE | |||
PRENG | Validity date of vendor declaration | PRENG | DATS | 8 | PRENG | PNG | |||
MATWERT | Price | CPREI | CURR | 11(2) | WERT11 | ||||
MNGLG | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
MEINS | Component unit of measure | KMPME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PREFKP | Price | CPREI | CURR | 11(2) | WERT11 | ||||
NUEKZ | Character field, length 2 | CHAR_LG_02 | CHAR | 2 | CHAR_LG_02 | ||||
VS_PROZEN | Security percent | P_PROZEN | DEC | 5(2) | PRZ32 | ||||
VS_MATWERT | Price | CPREI | CURR | 11(2) | WERT11 | ||||
STATUS | Foreign Trade: SLS - Field determining line color | SL_COLOR | CHAR | 3 | SL_COLOR | ||||
COLOR | Foreign Trade: SLS - Field determining line color | SL_COLOR | CHAR | 3 | SL_COLOR | ||||
BOX | Checkbox | XFELD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure RMPREF02_K using ABAP code?
As RMPREF02_K 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 RMPREF02_K as there is no data to select.How to access SAP table RMPREF02_K
Within an ECC or HANA version of SAP you can also view further information about RMPREF02_K 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