DSETATTR SAP (Attributes of Datasets) Structure details
Description: Attributes of Datasets
Structure field list including key, data, relationships and ABAP select examples
DSETATTR 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 "Attributes of Datasets" 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_DSETATTR TYPE DSETATTR.
The DSETATTR table consists of various fields, each holding specific information or linking keys about Attributes of Datasets data available in SAP. These include INDICATOR (), OPENMODE (Indicator Type for Setting and Reading Dataset Attributes), ACCESSTYPE (Indicator Type for Setting and Reading Dataset Attributes), ENCODING (Indicator Type for Setting and Reading Dataset Attributes).. 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 DSETATTR 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 |
FIXED | 0 | ||||||||
INDICATOR | 0 | ||||||||
OPENMODE | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
ACCESSTYPE | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
ENCODING | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
FILTER | Indicator Type for Setting and Reading Dataset Attributes Filter Command | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
LINEFEED | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
OPENMODE | Opening Mode for a Dataset | DSETMODE | CHAR | 2 | DSETMODE | ||||
ACCESSTYPE | Type of Dataset Access | DSETACTYPE | CHAR | 1 | DSETACTYPE | ||||
ENCODING | Identifier for Character Format (UTF-8, UCS-2, ...) | ABAP_ENCOD | CHAR | 20 | |||||
FILTER | Filter Command | 0 | |||||||
LINEFEED | 0 | ||||||||
CHANGEABLE | 0 | ||||||||
INDICATOR | 0 | ||||||||
REPLCHAR | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
CONVERRORS | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
CODEPAGE | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
ENDIAN | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
LINEFEEDMODE | Indicator Type for Setting and Reading Dataset Attributes | DSETINDICA | CHAR | 1 | DSETINDICA | ||||
REPLCHAR | Replacement Character/String for Character Set Conversion | ABAP_REPL | CHAR | 1 | |||||
CONVERRORS | Flag: Do conversion errors lead to exceptions? | ABAPCONVER | CHAR | 1 | ABAPCONVER | ||||
CODEPAGE | SAP Character Set ID | CPCODEPAGE | NUMC | 4 | CPCODEPAGE | ||||
ENDIAN | Flag for Byte Sequence (Big-Endian, Little-Endian) | ABAP_ENDIA | CHAR | 1 | ABAP_ENDIA | ||||
LINEFEEDMODE | Linefeed Mode for a Dataset | DSETLFMODE | CHAR | 1 | DSETLFMODE |
Key field | Non-key field |
How do I retrieve data from SAP structure DSETATTR using ABAP code?
As DSETATTR 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 DSETATTR as there is no data to select.How to access SAP table DSETATTR
Within an ECC or HANA version of SAP you can also view further information about DSETATTR 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