BAPI_ATT_D SAP (Attachments (Create)) Structure details

Dictionary Type: Structure
Description: Attachments (Create)




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




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

BAPI_ATT_D 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 "Attachments (Create)" 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_ATT_D TYPE BAPI_ATT_D.

The BAPI_ATT_D table consists of various fields, each holding specific information or linking keys about Attachments (Create) data available in SAP. These include PARENT_GUID (GUID of Higher-Level Record (Header or Item)), LOGICAL_SYSTEM (Business Document Service: ID of logical systemID of logical), CLASSNAME (Business Document Service: Class name), CLASSTYPE (Business Document Service: Class type).. 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 (character-type)


SAP BAPI_ATT_D 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
GUIDInternal Key of Data Record (Global Unique Identifier) BBP_BAPI_GUIDCHAR32SYSUUID_C
PARENT_GUIDGUID of Higher-Level Record (Header or Item) BAPI_PARENT_GUIDCHAR32SYSUUID_C
LOGICAL_SYSTEMBusiness Document Service: ID of logical systemID of logical BDS_LOGSYSCHAR10Assigned to domainALPHALOGSYS
CLASSNAMEBusiness Document Service: Class name BDS_CLSNAMCHAR30CHAR30
CLASSTYPEBusiness Document Service: Class type BDS_CLSTYPCHAR2BDS_CLSTYP
OBJKEYBusiness Document Service: Object key BDS_TYPEIDCHAR70SWO_TYPEID
DOC_IDBusiness Document Service: Document ID BDS_DOCIDCHAR42CHAR42
DOC_VER_NOBusiness Document Service: Document version number BDS_DVERNONUMC8NUM08
DOC_VAR_IDBusiness Document Service: Document variant ID BDS_DVARIDNUMC8NUM08
DESCRIPTIONBusiness Document Service: Attribute value BDS_PROPVACHAR64CHAR64
URLUniform resource locator for Attachments to Procurement Doc. BBP_ATT_URLCHAR255CHAR255
TYPEProcurement Document Attachment Type BBP_ATT_TYPECHAR1BBP_ATT_TYPE
INTERNAL_INDIndicator Showing if Attachment is only for Internal Use BBP_ATT_INTERNALCHAR1XFELD
DEL_INDDeletion Indicator SRM Purchasing Document BBP_DEL_INDCHAR1XFELD
CATEGCategory Attachment BBP_ATT_CATEGCHAR1BBP_ATT_CATEG

Key field Non-key field



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

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

How to access SAP table BAPI_ATT_D

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