CDSHW SAP (Change documents, formatting table) Structure details
Description: Change documents, formatting table
Structure field list including key, data, relationships and ABAP select examples
CDSHW 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 "Change documents, formatting table" 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_CDSHW TYPE CDSHW.
The CDSHW table consists of various fields, each holding specific information or linking keys about Change documents, formatting table data available in SAP. These include TABKEY (Changed table record key), KEYLEN (Table key length), CHNGIND (Change Type (U, I, S, D)), FNAME (Field Name).. 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: Cannot Be Enhanced
SAP CDSHW 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 |
TABNAME | Change document creation: Table name | CDTABNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
TABKEY | Changed table record key | CDTABKEY | CHAR | 70 | CHAR70 | ||||
KEYLEN | Table key length | CDINTLEN | NUMC | 4 | DDLEN | ||||
CHNGIND | Change Type (U, I, S, D) | CDCHNGIND | CHAR | 1 | CDCHNGIND | ||||
FNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
FTEXT | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
TEXTART | Create change document: Text type | CDTEXTART | CHAR | 4 | CDTEXTART | ||||
SPRACHE | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
TEXT_CASE | Text change flag ('X') | CDTEXTIND | CHAR | 1 | XFELD | ||||
OUTLEN | Output length of the old and new value | CDOUTLEN | NUMC | 4 | DDLEN | ||||
F_OLD | Old contents of changed field | CDFLDVALO | CHAR | 254 | FIELDVAL | ||||
F_NEW | New contents of changed field | CDFLDVALN | CHAR | 254 | FIELDVAL | ||||
KEYGUID | KEYGUID for Link to CDPOS_UID | CDKEYGUID | CHAR | 32 | SYSUUID_C | ||||
TABKEY254 | Table Key for CDPOS in Character 254 | CDTABKEYLO | CHAR | 254 | TABKEYLONG | ||||
EXT_KEYLEN | Table key length | CDINTLEN | NUMC | 4 | DDLEN | ||||
KEYGUID_STR | KEYGUID for Link to CDPOS_STR | CDKEYGUID_STR | CHAR | 32 | SYSUUID_C |
Key field | Non-key field |
How do I retrieve data from SAP structure CDSHW using ABAP code?
As CDSHW 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 CDSHW as there is no data to select.How to access SAP table CDSHW
Within an ECC or HANA version of SAP you can also view further information about CDSHW 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