REF_ITEMS_S SAP () Structure details

Dictionary Type: Structure
Description:




ABAP Code to SELECT data from REF_ITEMS_S
Related tables to REF_ITEMS_S
Access table REF_ITEMS_S




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
BUKRSCompany Code BUKRSCHAR4BUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
AMOUNTAmount in document currency WRBTRCURR13(2) WERT7
CURRENCYCurrency Key WAERSCUKY5WAERSFWS
DOC_TYPEDocument Type BLARTCHAR2BLARTBAR
DOC_TEXTDocument Header Text BKTXTCHAR25TEXT25
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
REFERENCEReference Document Number XBLNR1CHAR16XBLNR1
NET_DUE_DATEDate DATUMDATS8DATUM
DOC_DATEDocument Date in Document BLDATDATS8DATUM
POSTING_DATEPosting Date in the Document BUDATDATS8DATUM
FEE_TYPEFee type FM_FEE_TYPECHAR6FM_FEE_TYPE
INT_RATEInterest Rate INTRATEDEC10(7) INTRATE
NUM_OF_DAYSNumber of days for interest calculation FM_NO_INT_DAYSNUMC5FM_NO_DAYS
FEE_TEXTDescription for fee types FM_TEXT_FEECHAR50FM_TEXT
LAST_CALC_DATEDate DATUMDATS8DATUM
REBZGNumber of the Invoice the Transaction Belongs to REBZGCHAR10ALPHABELNR
REBZJFiscal Year of the Relevant Invoice (for Credit Memo) REBZJNUMC4GJAHRGJAHR

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!