/CPD/S_DOC_ORIGINALS SAP (Original Files) Structure details
Description: Original Files
Related tables to /CPD/S_DOC_ORIGINALS
Access table /CPD/S_DOC_ORIGINALS
Structure field list including key, data, relationships and ABAP select examples
/CPD/S_DOC_ORIGINALS 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 "Original Files" 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_/CPD/S_DOC_ORIGINALS TYPE /CPD/S_DOC_ORIGINALS.
The /CPD/S_DOC_ORIGINALS table consists of various fields, each holding specific information or linking keys about Original Files data available in SAP. These include OBJECT_ID (Object ID), DOCUMENTTYPE (Document Type), DOCUMENTNUMBER (Document number), DOCUMENTPART (Document Part).. 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 /CPD/S_DOC_ORIGINALS 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 |
OBJECT_LINK | Object Link Type | /CPD/OBJECTLINK_TYPE | CHAR | 5 | Assigned to domain | /CPD/PWS_WS_MP_REL_OBJ_LINK | |||
OBJECT_ID | Object ID | /CPD/OBJECT_ID | CHAR | 50 | /CPD/OBJECT_ID | ||||
DOCUMENTTYPE | Document Type | DOKAR | CHAR | 3 | Assigned to domain | DOKAR | CV2 | ||
DOCUMENTNUMBER | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOCUMENTPART | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DOCUMENTVERSION | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
STORAGECATEGORY | Storage category for original files | CV_STORAGE_CAT | CHAR | 10 | CHAR10 | ||||
WSAPPLICATION | Application | DAPPL | CHAR | 3 | Assigned to domain | DAPPL | |||
DOCFILE | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DESCRIPTION | Short description of the original | CV_FILE_DESCRIPTION | CHAR | 40 | TEXT40 | ||||
CHECKEDIN | Document is cheked In | DMS_BAPI_CHECKEDIN | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure /CPD/S_DOC_ORIGINALS using ABAP code?
As /CPD/S_DOC_ORIGINALS 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 /CPD/S_DOC_ORIGINALS as there is no data to select.How to access SAP table /CPD/S_DOC_ORIGINALS
Within an ECC or HANA version of SAP you can also view further information about /CPD/S_DOC_ORIGINALS 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