API_DOC_DRAW2_PI SAP (DMS: PlugIn-API Document Data) Structure details
Description: DMS: PlugIn-API Document Data
Related tables to API_DOC_DRAW2_PI
Access table API_DOC_DRAW2_PI
Structure field list including key, data, relationships and ABAP select examples
API_DOC_DRAW2_PI 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: PlugIn-API Document Data" 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_API_DOC_DRAW2_PI TYPE API_DOC_DRAW2_PI.
The API_DOC_DRAW2_PI table consists of various fields, each holding specific information or linking keys about DMS: PlugIn-API Document Data data available in SAP. These include DOCUMENTTYPE (Document Type), DOCUMENTNUMBER (Document number), DOCUMENTVERSION (Document Version), 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: Not classified
SAP API_DOC_DRAW2_PI 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 |
DOCUMENTTYPE | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOCUMENTNUMBER | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOCUMENTVERSION | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOCUMENTPART | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DESCRIPTION | Document description | DKTXT | CHAR | 40 | TEXT40 | ||||
USERNAME | Name of person responsible | DWNAM | CHAR | 12 | DWNAM | ||||
STATUSEXTERN | Status of a document (language-dependent) | STABK | CHAR | 2 | CHAR2 | ||||
STATUSINTERN | Document Status | DOKST | CHAR | 2 | Assigned to domain | DOKST | |||
STATUSLOG | Document management log field | PROTF | CHAR | 20 | PROTF | ||||
LABORATORY | Laboratory/design office | LABOR | CHAR | 3 | T024L | LABOR | |||
ECNUMBER | Change Number | DAENR | CHAR | 12 | AENR | AENNR | AENNR | ||
VALIDFROMDATE | Valid-From Date | CCDAT | DATS | 8 | CC_DATUM | ||||
REVLEVEL | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
DELETEINDICATOR | Deletion indicator | LOEDK | CHAR | 1 | XFELD | ||||
CADINDICATOR | CAD Indicator | CADKZ | CHAR | 1 | XFELD | ||||
STRUCTUREINDICATOR | Document Management Flag | CVFLAG | CHAR | 1 | CHAR1 | ||||
PREDOCUMENTNUMBER | Document number of superior document | PRENR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
PREDOCUMENTVERSION | Document version of superior document | PREVR | CHAR | 2 | DOKVR | ||||
PREDOCUMENTPART | Document Part of Superior Document | PRETL | CHAR | 3 | DOKTL | ||||
PREDOCUMENTTYPE | Document type of the superior document | PREAR | CHAR | 3 | Assigned to domain | DOKAR | |||
AUTHORITYGROUP | Authorization Group | BEGRU | CHAR | 4 | BEGRU | ||||
DOCFILE1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DATACARRIER1 | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
WSAPPLICATION1 | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
DOCFILE2 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DATACARRIER2 | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
WSAPPLICATION2 | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
VRLDAT | Due Date | VRLDAT | DATS | 8 | DATUM | ||||
USERDEFINED1 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
USERDEFINED2 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
USERDEFINED3 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
USERDEFINED4 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
SAVEDOCFILE1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
SAVEDATACARRIER1 | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
SAVEDOCFILE2 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
SAVEDATACARRIER2 | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
CREATEDATE | Output date for document | ADATUM | DATS | 8 | DATUM | ||||
REFDOCUMENTNUMBER | Document Number of Source Document | DOKNR_VL | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
REFDOCUMENTPART | Document part of source document | DOKTL_VL | CHAR | 3 | DOKTL | ||||
REFDOCUMENTVERSION | Document version of source document | DOKVR_VL | CHAR | 2 | DOKVR | ||||
FILESIZE1 | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
FILESIZE2 | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
CMFIXED | Document fixed | DMS_CM_FIXED | CHAR | 1 | XFELD | ||||
CMRELEVANCE | Relevant for Configuration Management | DE_CM_RELEVANCE_FLAG | CHAR | 1 | DO_CM_RELEVANCE_FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure API_DOC_DRAW2_PI using ABAP code?
As API_DOC_DRAW2_PI 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 API_DOC_DRAW2_PI as there is no data to select.How to access SAP table API_DOC_DRAW2_PI
Within an ECC or HANA version of SAP you can also view further information about API_DOC_DRAW2_PI 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