REF_ITEMS_S SAP () Structure details
Description:
Structure field list including key, data, relationships and ABAP select examples
REF_ITEMS_S 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 "" 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_REF_ITEMS_S TYPE REF_ITEMS_S.
The REF_ITEMS_S table consists of various fields, each holding specific information or linking keys about data available in SAP. These include BUKRS (Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year), AMOUNT (Amount in document currency).. 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 (Deep)
SAP REF_ITEMS_S 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 |
WA_REF_ITEMS | 0 | ||||||||
BUKRS | Company Code | BUKRS | CHAR | 4 | BUKRS | BUK | C_T001 | ||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
AMOUNT | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | WAERS | FWS | |||
DOC_TYPE | Document Type | BLART | CHAR | 2 | BLART | BAR | |||
DOC_TEXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
ITEM_TEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
REFERENCE | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
NET_DUE_DATE | Date | DATUM | DATS | 8 | DATUM | ||||
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
POSTING_DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
FEE_TYPE | Fee type | FM_FEE_TYPE | CHAR | 6 | FM_FEE_TYPE | ||||
INT_RATE | Interest Rate | INTRATE | DEC | 10(7) | INTRATE | ||||
NUM_OF_DAYS | Number of days for interest calculation | FM_NO_INT_DAYS | NUMC | 5 | FM_NO_DAYS | ||||
FEE_TEXT | Description for fee types | FM_TEXT_FEE | CHAR | 50 | FM_TEXT | ||||
LAST_CALC_DATE | Date | DATUM | DATS | 8 | DATUM | ||||
REBZG | Number of the Invoice the Transaction Belongs to | REBZG | CHAR | 10 | ALPHA | BELNR | |||
REBZJ | Fiscal Year of the Relevant Invoice (for Credit Memo) | REBZJ | NUMC | 4 | GJAHR | GJAHR |
Key field | Non-key field |
How do I retrieve data from SAP structure REF_ITEMS_S using ABAP code?
As REF_ITEMS_S 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 REF_ITEMS_S as there is no data to select.How to access SAP table REF_ITEMS_S
Within an ECC or HANA version of SAP you can also view further information about REF_ITEMS_S 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