BAPI_ATT_D SAP (Attachments (Create)) Structure details
Description: Attachments (Create)
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 |
GUID | Internal Key of Data Record (Global Unique Identifier) | BBP_BAPI_GUID | CHAR | 32 | SYSUUID_C | ||||
PARENT_GUID | GUID of Higher-Level Record (Header or Item) | BAPI_PARENT_GUID | CHAR | 32 | SYSUUID_C | ||||
LOGICAL_SYSTEM | Business Document Service: ID of logical systemID of logical | BDS_LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
CLASSNAME | Business Document Service: Class name | BDS_CLSNAM | CHAR | 30 | CHAR30 | ||||
CLASSTYPE | Business Document Service: Class type | BDS_CLSTYP | CHAR | 2 | BDS_CLSTYP | ||||
OBJKEY | Business Document Service: Object key | BDS_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
DOC_ID | Business Document Service: Document ID | BDS_DOCID | CHAR | 42 | CHAR42 | ||||
DOC_VER_NO | Business Document Service: Document version number | BDS_DVERNO | NUMC | 8 | NUM08 | ||||
DOC_VAR_ID | Business Document Service: Document variant ID | BDS_DVARID | NUMC | 8 | NUM08 | ||||
DESCRIPTION | Business Document Service: Attribute value | BDS_PROPVA | CHAR | 64 | CHAR64 | ||||
URL | Uniform resource locator for Attachments to Procurement Doc. | BBP_ATT_URL | CHAR | 255 | CHAR255 | ||||
TYPE | Procurement Document Attachment Type | BBP_ATT_TYPE | CHAR | 1 | BBP_ATT_TYPE | ||||
INTERNAL_IND | Indicator Showing if Attachment is only for Internal Use | BBP_ATT_INTERNAL | CHAR | 1 | XFELD | ||||
DEL_IND | Deletion Indicator SRM Purchasing Document | BBP_DEL_IND | CHAR | 1 | XFELD | ||||
CATEG | Category Attachment | BBP_ATT_CATEG | CHAR | 1 | BBP_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 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