CVAPI_DOC_FILE2 SAP (DMS: Originals of a Document) Structure details

Dictionary Type: Structure
Description: DMS: Originals of a Document




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




Structure field list including key, data, relationships and ABAP select examples

CVAPI_DOC_FILE2 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 "DMS: Originals of a Document" 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_CVAPI_DOC_FILE2 TYPE CVAPI_DOC_FILE2.

The CVAPI_DOC_FILE2 table consists of various fields, each holding specific information or linking keys about DMS: Originals of a Document data available in SAP. These include DOKAR (Document Type), DOKNR (Document number), DOKVR (Document Version), DOKTL (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: Not classified


SAP CVAPI_DOC_FILE2 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
DOKARDocument Type DOKARCHAR3Assigned to domainDOKARCV2
DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
UPDATEFLAGCheckbox XFELDCHAR1XFELD
APPNRApplication number DMS_APPNRCHAR5CHAR5
DAPPLApplication DAPPLCHAR3Assigned to domainDAPPL
LANGU2-Character SAP Language Code LAISOCHAR2LAISO
ACTIVE_VERSIONActive version of the original CV_FILE_ACT_VERSIONCHAR1XFELD
DTTRGName of Data Carrier DTTRGCHAR10Assigned to domainDTTRGCV5
STORAGE_CATStorage category for original files CV_STORAGE_CATCHAR10CHAR10
PATHNAMEOriginal of document FILEPCHAR255TEXT255
FILENAMEOriginal of document FILEPCHAR255TEXT255
DESCRIPTIONShort description of the original CV_FILE_DESCRIPTIONCHAR40TEXT40
LO_OBJIDLogical document SDOK_LOIDCHAR32SDOK_DOCID
PH_OBJIDPhysical document SDOK_PHIDCHAR32SDOK_DOCID
FILE_IDDVS: GUID for allocation PHIO - file name DMS_FILE_IDCHAR32CHAR32
URLURL DMS_URLCHAR4096CHAR4096
CHECKED_INCheckbox XFELDCHAR1XFELD
CREATED_ATTime of change (UTC) SDOK_CHTSTNUMC14TSTLCSDOK_TSTMP
CHANGED_ATTime of change (UTC) SDOK_CHTSTNUMC14TSTLCSDOK_TSTMP
CREATED_BYName of person responsible DWNAMCHAR12DWNAM
CHANGED_BYName of person responsible DWNAMCHAR12DWNAM
CONTENT_DESCRIPTIONDescription content version DMS_CONTENT_VERS_DESCCHAR50TEXT50

Key field Non-key field



How do I retrieve data from SAP structure CVAPI_DOC_FILE2 using ABAP code?

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

How to access SAP table CVAPI_DOC_FILE2

Within an ECC or HANA version of SAP you can also view further information about CVAPI_DOC_FILE2 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!