SAP ABAP Interface IF_AI_ATTACHMENT (Proxy Runtime: Attachments)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-XI-IBC (Application Component) Integration Builder - Configuration
⤷
SAI_GLOBAL (Package) Application Integration
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_AI_ATTACHMENT | Proxy Runtime: Attachments | 20020114 |
Properties
| Interface | IF_AI_ATTACHMENT | |
| Short Description | Proxy Runtime: Attachments |
General Data
| Package | SAI_GLOBAL | Application Integration |
| Created | 20020114 | SAP |
| Last changed | 20110908 | SAP |
| Unicode checks active |
Forward declarations
Interface IF_AI_ATTACHMENT has no forward declaration.
Interfaces
Interface IF_AI_ATTACHMENT has no interface.
Friends
Interface IF_AI_ATTACHMENT has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_ATTACH_TYPE_BINARY | Constant | Public | Type reference (TYPE) | SYCHAR01 | 'B' | Attachment Cannot Be Converted to Text | 20020115 | |
| 2 | C_ATTACH_TYPE_TEXT | Constant | Public | Type reference (TYPE) | SYCHAR01 | 'T' | Attachment Can Be Converted to Text | 20020115 | |
| 3 | C_MIMETYPE_EXCEL | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.ms-excel' | Attachment Excel | 20020115 | |
| 4 | C_MIMETYPE_GIF | Constant | Public | Type reference (TYPE) | STRING | 'image/gif' | Attachment GIF | 20020115 | |
| 5 | C_MIMETYPE_JPEG | Constant | Public | Type reference (TYPE) | STRING | 'image/jpeg' | Attachment JPEG | 20020115 | |
| 6 | C_MIMETYPE_MP3 | Constant | Public | Type reference (TYPE) | STRING | 'audio/mpeg' | Attachment MP3 | 20020115 | |
| 7 | C_MIMETYPE_MPEG | Constant | Public | Type reference (TYPE) | STRING | 'video/mpeg' | Attachment MPEG | 20020115 | |
| 8 | C_MIMETYPE_MSWORD | Constant | Public | Type reference (TYPE) | STRING | 'application/msword' | Attachment MSWord | 20020115 | |
| 9 | C_MIMETYPE_PDF | Constant | Public | Type reference (TYPE) | STRING | 'application/pdf' | Attachment PDF | 20020115 | |
| 10 | C_MIMETYPE_POSTSCRIPT | Constant | Public | Type reference (TYPE) | STRING | 'application/ps' | Attachment Postscript | 20020115 | |
| 11 | C_MIMETYPE_POWERPOINT | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.ms-powerpoint' | Attachment PowerPoint | 20020115 | |
| 12 | C_MIMETYPE_TEXT_HTML | Constant | Public | Type reference (TYPE) | STRING | 'text/html' | Text Attachment in HTML | 20020115 | |
| 13 | C_MIMETYPE_TEXT_PLAIN | Constant | Public | Type reference (TYPE) | STRING | 'text/plain' | Text Attachment | 20020115 | |
| 14 | C_MIMETYPE_TEXT_XML | Constant | Public | Type reference (TYPE) | STRING | 'text/xml' | Text Attachment in XML | 20020115 | |
| 15 | C_MIMETYPE_TIFF | Constant | Public | Type reference (TYPE) | STRING | 'image/tiff' | Attachment TIFF | 20020115 | |
| 16 | C_MIMETYPE_ZIP | Constant | Public | Type reference (TYPE) | STRING | 'application/zip' | Attachment ZIP | 20020115 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Gets Attachment as xstring (always possible) | 20020114 | |
| 2 | Instance method | Public | Method | Attachment Type (image/jpeg, text/html,...) | 20020114 | |
| 3 | Instance method | Public | Method | 20020114 | ||
| 4 | Instance method | Public | Method | Attachment Type: String Conversion Possible/Not Possible | 20020114 | |
| 5 | Instance method | Public | Method | Gets Attachment as String - Only Possible for Kind = Text | 20020114 |
Events
Interface IF_AI_ATTACHMENT has no event.
Types
Interface IF_AI_ATTACHMENT has no local type.
Method Signatures
Method GET_BINARY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATA | Value transfer | Type reference (TYPE) | XSTRING | 20020114 |
Method GET_BINARY_DATA on Interface IF_AI_ATTACHMENT has no exception.
Method GET_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TYPE | Value transfer | Type reference (TYPE) | STRING | 20020114 |
Method GET_CONTENT_TYPE on Interface IF_AI_ATTACHMENT has no exception.
Method GET_DOCUMENT_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_NAME | Value transfer | Type reference (TYPE) | STRING | 20020114 |
Method GET_DOCUMENT_NAME on Interface IF_AI_ATTACHMENT has no exception.
Method GET_KIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KIND | Value transfer | Type reference (TYPE) | SYCHAR01 | CHAR01-Datenelement fuer SYST | 20020114 |
Method GET_KIND on Interface IF_AI_ATTACHMENT has no exception.
Method GET_TEXT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATA | Value transfer | Type reference (TYPE) | STRING | 20020114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Integration: Technischer Fehler | 20020114 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 620 |