BAPI_DRAW SAP (BAPI structure for DRAW data of document to be created) Structure details

Dictionary Type: Structure
Description: BAPI structure for DRAW data of document to be created




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




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

BAPI_DRAW 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 "BAPI structure for DRAW data of document to be created" 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_BAPI_DRAW TYPE BAPI_DRAW.

The BAPI_DRAW table consists of various fields, each holding specific information or linking keys about BAPI structure for DRAW data of document to be created data available in SAP. These include DOCNUMBER (Document number), DOCVERSION (Document Version), DOCPART (Document Part), REFDOCNUMBER (Document number).. 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 BAPI_DRAW 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
DOCTYPEDocument Type DOKARCHAR3Assigned to domainDOKARCV2
DOCNUMBERDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOCVERSIONDocument Version DOKVRCHAR2DOKVRCV3
DOCPARTDocument Part DOKTL_DCHAR3DOKTLCV4
REFDOCNUMBERDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
REFDOCVERSIONDocument Version DOKVRCHAR2DOKVRCV3
REFDOCPARTDocument Part DOKTL_DCHAR3DOKTLCV4
DOCUSERName of person responsible DWNAMCHAR12DWNAM
DOCSTATUS_EXTERNStatus of a document (language-dependent) STABKCHAR2CHAR2
DOCSTATUS_INTERNDocument Status DOKSTCHAR2Assigned to domainDOKST
STATUSLOGDocument management log field PROTFCHAR20PROTF
LABORATORYLaboratory/design office LABORCHAR3Assigned to domainLABOR
ECNUMBERChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
CADINDICATORCAD Indicator CADKZCHAR1XFELD
PREDOCTYPEDocument Type DOKARCHAR3Assigned to domainDOKARCV2
PREDOCNUMBERDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
PREDOCVERSIONDocument Version DOKVRCHAR2DOKVRCV3
PREDOCPARTDocument Part DOKTL_DCHAR3DOKTLCV4
AUTHORITYGROUPAuthorization Group BEGRUCHAR4BEGRU
ORIGINAL1Original of document FILEPCHAR255TEXT255
DATACARRIER1Name of Data Carrier DTTRGCHAR10Assigned to domainDTTRGCV5
APPLICATION1Application DAPPLCHAR3Assigned to domainDAPPL
ORIGINAL2Original of document FILEPCHAR255TEXT255
DATACARRIER2Name of Data Carrier DTTRGCHAR10Assigned to domainDTTRGCV5
APPLICATION2Application DAPPLCHAR3Assigned to domainDAPPL
USERDEFINED1Reserve field DRAW RESDRAWCHAR14CHAR14
USERDEFINED2Reserve field DRAW RESDRAWCHAR14CHAR14
USERDEFINED3Reserve field DRAW RESDRAWCHAR14CHAR14
USERDEFINED4Reserve field DRAW RESDRAWCHAR14CHAR14

Key field Non-key field



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

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

How to access SAP table BAPI_DRAW

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