SWRSATTACH SAP (Work Item: Attachment Details) Structure details
Description: Work Item: Attachment Details
Structure field list including key, data, relationships and ABAP select examples
SWRSATTACH 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 "Work Item: Attachment Details" 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_SWRSATTACH TYPE SWRSATTACH.
The SWRSATTACH table consists of various fields, each holding specific information or linking keys about Work Item: Attachment Details data available in SAP. These include INSTID (Instance Ident. in BOR Compat. Persistent Object References), TYPEID (Type of Objects in Persistent Object References), CATID (Category of Objects in Persistent Object References), FILE_NAME (File Name).. 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 SWRSATTACH 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 |
INSTID | Instance Ident. in BOR Compat. Persistent Object References | SIBFBORIID | CHAR | 70 | SIBFBORIID | ||||
TYPEID | Type of Objects in Persistent Object References | SIBFTYPEID | CHAR | 32 | SIBFTYPEID | ||||
CATID | Category of Objects in Persistent Object References | SIBFCATID | CHAR | 2 | SIBFCATID | ||||
FILE_NAME | File Name | SWR_FILENAME | CHAR | 255 | SWR_FILENAME | ||||
FILE_EXTENSION | File Extension | SWR_FILEEXT | CHAR | 64 | SWR_FILEEXT | ||||
LANGUAGE | Language Key | SYLANGU | LANG | 1 | ISOLA | SYLANGU | |||
DOC_OWNER | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
CREA_DATE | SAPoffice: Date when object/user was created | SO_CRE_DAT | DATS | 8 | DATUM | ||||
CREAT_TIME | SAPoffice: Time when object/user was created | SO_CRE_TIM | TIMS | 6 | UZEIT | ||||
DOC_TYPE | Code for document class | SO_OBJ_TP | CHAR | 3 | Assigned to domain | SO_OBJ_TP | |||
DOC_NAME | Name of document, folder or distribution list | SO_OBJ_NAM | CHAR | 12 | SO_OBJ_NAM | ||||
DOC_SIZE | Size of SAPoffice Document (for API1) | SO_DOC_SIZ | CHAR | 12 | SO_DOC_SIZ |
Key field | Non-key field |
How do I retrieve data from SAP structure SWRSATTACH using ABAP code?
As SWRSATTACH 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 SWRSATTACH as there is no data to select.How to access SAP table SWRSATTACH
Within an ECC or HANA version of SAP you can also view further information about SWRSATTACH 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