SAP /SAPSRM/S_NOTES_DATA_REF Structure for notes Table data and field list

/SAPSRM/S_NOTES_DATA_REF 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 "Structure for notes" 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_/SAPSRM/S_NOTES_DATA_REF TYPE /SAPSRM/S_NOTES_DATA_REF.

The /SAPSRM/S_NOTES_DATA_REF table consists of various fields, each holding specific information or linking keys about Structure for notes data available in SAP. These include CLIENT (Client), GUID (Globally Unique identifier), TEXT_SCHEME_ID (Text Schema), TEXT_ID (Text ID)... 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. .

/SAPSRM/S_NOTES_DATA_REF structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP /SAPSRM/S_NOTES_DATA_REF structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the /SAPSRM/S_NOTES_DATA_REF table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
S_NOTES 0
CLIENTClient EC_CLIENTCLNT3MANDT
GUIDGlobally Unique identifier BBP_GUIDRAW16SYSUUID
TEXT_SCHEME_IDText Schema BBP_TEXT_SCHEMECHAR4CHAR4
TEXT_IDText ID TDIDCHAR4TDID
SPRASLanguage Key SPRASLANG1ISOLASPRASSPRH_T002
TEXT_ID_DESC_UIShort Text TDTEXTCHAR30TDTEXT
HEADER_ITEM_INDHeader/Item BBP_TEXT_HEADITEMCHAR1BBP_TEXT_HEADITEM
VISIBILITY_INDVisibility of a Text in Document BBP_TEXT_VISIBILITYCHAR1BBP_TEXT_VISIBILITY
CHANGEABLE_INDChangeability of a Text in Document BBP_TEXT_CHANGEABILITYCHAR1BBP_TEXT_CHANGEABILITY
COPY_INDSpecifies Whether Text ID Can Be Copied to Follow-On Doc. BBP_TEXT_COPY_INDICATORCHAR1BBP_TEXT_COPY_INDICATOR
LONGTEXTDocument Number BBP_DOCSTRINGSTRG0
ITM_NUMBER_INTItem Number in Document CRMT_ITEM_NONUMC10CRM_ITEM_NO
ITM_DESCRIPTIONProduct Short Text CRMT_PRSHTEXTX_DBCHAR40CRM_PRSHTEXT40_DB
O_REF 0

Key field Non-key field



How do I retrieve data from SAP structure /SAPSRM/S_NOTES_DATA_REF using ABAP code?

As /SAPSRM/S_NOTES_DATA_REF 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 /SAPSRM/S_NOTES_DATA_REF as there is no data to select.

How to access SAP table /SAPSRM/S_NOTES_DATA_REF

Within an ECC or HANA version of SAP you can also view further information about /SAPSRM/S_NOTES_DATA_REF and the data within it using relevant transactions such as

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