CDSHW SAP (Change documents, formatting table) Structure details

Dictionary Type: Structure
Description: Change documents, formatting table




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




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
TABNAMEChange document creation: Table name CDTABNAMECHAR30Assigned to domainAS4TAB
TABKEYChanged table record key CDTABKEYCHAR70CHAR70
KEYLENTable key length CDINTLENNUMC4DDLEN
CHNGINDChange Type (U, I, S, D) CDCHNGINDCHAR1CDCHNGIND
FNAMEField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
FTEXTExplanatory short text DDTEXTCHAR60DDTEXT
TEXTARTCreate change document: Text type CDTEXTARTCHAR4CDTEXTART
SPRACHELanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
TEXT_CASEText change flag ('X') CDTEXTINDCHAR1XFELD
OUTLENOutput length of the old and new value CDOUTLENNUMC4DDLEN
F_OLDOld contents of changed field CDFLDVALOCHAR254FIELDVAL
F_NEWNew contents of changed field CDFLDVALNCHAR254FIELDVAL
KEYGUIDKEYGUID for Link to CDPOS_UID CDKEYGUIDCHAR32SYSUUID_C
TABKEY254Table Key for CDPOS in Character 254 CDTABKEYLOCHAR254TABKEYLONG
EXT_KEYLENTable key length CDINTLENNUMC4DDLEN
KEYGUID_STRKEYGUID for Link to CDPOS_STR CDKEYGUID_STRCHAR32SYSUUID_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 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!