Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_BCOM_MIME | Superordinate Class for all MIME Objects | 20000814 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_BCOM_MIME_SINGLE_BINARY | Class for Binary Body Part | 20000815 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_BCOM_MIME_SINGLE_MESSAGE | Class for Complete Message | 20000816 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_BCOM_MIME_SINGLE_TEXT | Class for Textual Body Part | 20000815 |
Properties
| Class | CL_BCOM_MIME_SINGLEPART | |
| Short Description | Class for an Individual Body Part | |
| Super Class | CL_BCOM_MIME | Superordinate Class for all MIME Objects |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SBCOM_MIME | Business Communication: MIME Conversion Tool |
| Created | 20000814 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_BCOM_MIME_SINGLEPART has no interface implemented.
Friends
Class CL_BCOM_MIME_SINGLEPART has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | MIME_ENCOD | BCOM: Encoding Procedure for MIME Text | 20001117 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | MIME_CNTID | BCOM: Bodypart Content ID | 20040629 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | W3CONTTYPE | HTML Content Type | 20001123 | |||
| 4 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | '7bit' | BCOM: Header Field Name | 20000815 | ||
| 5 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'base64' | BCOM: Header Field Name | 20000815 | ||
| 6 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'charset' | BCOM: Header Field Name | 20000829 | ||
| 7 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'Content-Description' | BCOM: Header Field Name | 20000815 | ||
| 8 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'Content-Transfer-Encoding' | BCOM: Header Field Name | 20000815 | ||
| 9 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'filename' | BCOM: Header Field Name | 20001031 | ||
| 10 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'name' | BCOM: Header Field Name | 20000829 | ||
| 11 | Constant | Protected | Type reference (TYPE) | MIME_HDFN | 'quoted-printable' | BCOM: Header Field Name | 20000815 | ||
| 12 | Instance attribute | Protected | Type reference (TYPE) | SO_OBJ_DES | Short Description of Contents | 20000815 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | MIME_TEXT | Description as String | 20110804 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | SO_FILEEXT | File Extension for PC Application | 20000815 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | MIME_TEXT | File Name for MIME Header | 20000815 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | SX_BOOLEAN | Content Was Parsed Already and Is Available | 20001116 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | SX_BOOLEAN | First Body Part | 20021120 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | SO_OBJ_LEN | Size of Document Content | 20001116 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | Body, decoded | 20121018 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Creation of Entire Body | 20000815 | |
| 2 | Instance method | Protected | Method | Creation of Entire Header | 20000815 | |
| 3 | Instance method | Protected | Method | Analyzes Header Line 'Content Type...' | 20001116 | |
| 4 | Static method | Protected | Method | Decodes the Body of B64 | 20001123 | |
| 5 | Static method | Protected | Method | Decodes the Body of QP | 20001123 | |
| 6 | Instance method | Protected | Method | Encodes the Body in B64 | 20000815 | |
| 7 | Static method | Protected | Method | Encodes the Body in QP | 20000815 | |
| 8 | Instance method | Protected | Method | Determine the Value of 'Content Transfer Encoding' | 20000815 | |
| 9 | Instance method | Public | Method | Get Content ID | 20040629 | |
| 10 | Instance method | Protected | Method | Determines the File Name for the Header | 20001123 | |
| 11 | Instance method | Public | Method | Read the Description/Title of the Document | 20001117 | |
| 12 | Instance method | Public | Method | Read the Description/Title of the Document | 20110804 | |
| 13 | Instance method | Public | Method | Read File Extension/Text Type | 20001117 | |
| 14 | Instance method | Private | Method | Determines Extension Using Content Types | 20001128 | |
| 15 | Instance method | Public | Method | Read File Name | 20001117 | |
| 16 | Instance method | Protected | Method | Creation of Header Line 'Content Type...' | 20000815 | |
| 17 | Instance method | Public | Method | Read Length of Document | 20001117 | |
| 18 | Static method | Protected | Method | Remove Comment Character " at Start and End | 20010123 | |
| 19 | Instance method | Public | Method | Set the Encoding Procedure for MIME Text | 20090112 | |
| 20 | Instance method | Public | Method | Set Content ID when Parsing Multiparts | 20040629 | |
| 21 | Instance method | Public | Method | Set MIME Type (Optional) | 20001123 | |
| 22 | Instance method | Public | Method | Set Description/Title of Document | 20000815 | |
| 23 | Instance method | Public | Method | Set File Extension/Text Type | 20000815 | |
| 24 | Instance method | Public | Method | Set File Name | 20000815 | |
| 25 | Instance method | Public | Method | Set 'First Body Part' Indicator | 20021120 | |
| 26 | Instance method | Public | Method | Set Length of Document | 20001116 |
Events
Class CL_BCOM_MIME_SINGLEPART has no event.
Types
Class CL_BCOM_MIME_SINGLEPART has no local type.
Method Signatures
Method ADD_BODY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | BCOM: MIME-Datenstrom | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im MIME-Konvertierungstool | 20001205 |
Method ADD_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | BCOM: MIME-Datenstrom | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im MIME-Konvertierungstool | 20001204 |
Method ANALYZE_HEADER_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAMETER_TAB | Call by reference | Type reference (TYPE) | MIME_HEADT | BCOM: Tabelle mit Header-Zeilen | 20001117 | |||
| 2 | TYPE | Call by reference | Type reference (TYPE) | MIME_TEXT | BCOM: Text, der in MIME umgewandelt werden soll | 20001117 |
Method ANALYZE_HEADER_CONTENT_TYPE on class CL_BCOM_MIME_SINGLEPART has no exception.
Method DECODE_BODY_B64 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | 20001123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im MIME-Konvertierungstool | 20001205 |
Method DECODE_BODY_QP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | 20001123 |
Method DECODE_BODY_QP on class CL_BCOM_MIME_SINGLEPART has no exception.
Method ENCODE_BODY_B64 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | BCOM: MIME-Datenstrom | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im MIME-Konvertierungstool | 20001204 |
Method ENCODE_BODY_QP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | MIME_DATA | BCOM: MIME-Datenstrom | 20000815 |
Method ENCODE_BODY_QP on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_CONTENT_ENCODING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENCODING | Call by reference | Type reference (TYPE) | MIME_ENCOD | BCOM: Encodierverfahren für MIME-Text | 20000815 |
Method GET_CONTENT_ENCODING on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_CONTENT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT_ID | Value transfer | Type reference (TYPE) | MIME_CNTID | BCOM: Bodypart Content ID | 20040629 |
Method GET_CONTENT_ID on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_CONTENT_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILENAME | Value transfer | Type reference (TYPE) | MIME_TEXT | BCOM: Text, der in MIME umgewandelt werden soll | 20001123 |
Method GET_CONTENT_NAME on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCRIPTION | Call by reference | Type reference (TYPE) | SO_OBJ_DES | BCOM: Text, der in MIME umgewandelt werden soll | 20001117 |
Method GET_DESCRIPTION on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_DESCR_LONG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCRIPTION | Value transfer | Type reference (TYPE) | MIME_TEXT | 20110804 |
Method GET_DESCR_LONG on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_EXTENSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXTENSION | Call by reference | Type reference (TYPE) | SO_FILEEXT | Dateierweiterung einer PC-Anwendung | 20001117 |
Method GET_EXTENSION on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_EXT_FROM_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT_TYPE | Call by reference | Type reference (TYPE) | W3CONTTYPE | HTML-Content-Type | 20001128 | |||
| 2 | EXTENSION | Value transfer | Type reference (TYPE) | SO_FILEEXT | Dateierweiterung einer PC-Anwendung | 20001128 |
Method GET_EXT_FROM_CONTENT_TYPE on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_FILENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILENAME | Call by reference | Type reference (TYPE) | MIME_TEXT | BCOM: Text, der in MIME umgewandelt werden soll | 20001117 |
Method GET_FILENAME on class CL_BCOM_MIME_SINGLEPART has no exception.
Method GET_HEADER_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HEADER_BODY | Call by reference | Type reference (TYPE) | MIME_TEXT | BCOM: Text, der in MIME umgewandelt werden soll | 20000815 | |||
| 2 | HEADER_NAME | Call by reference | Type reference (TYPE) | MIME_TEXT | BCOM: Text, der in MIME umgewandelt werden soll | 20000815 | |||
| 3 | PARAMETER_TAB | Call by reference | Type reference (TYPE) | MIME_HEADT | BCOM: Tabelle mit Header-Zeilen | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im MIME-Konvertierungstool | 20001205 |
Method GET_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LENGTH | Call by reference | Type reference (TYPE) | SO_OBJ_LEN | Größe des Dokumentinhalts | 20001117 |
Method GET_LENGTH on class CL_BCOM_MIME_SINGLEPART has no exception.
Method REMOVE_QUOTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IN | Call by reference | Type reference (TYPE) | STRING | 20010123 | ||||
| 2 | OUT | Value transfer | Type reference (TYPE) | STRING | 20010123 |
Method REMOVE_QUOTING on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_BODY_ENCODING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BODY_ENCODING | Call by reference | Type reference (TYPE) | MIME_ENCOD | BCOM: Encodierverfahren für MIME-Text | 20090112 |
Method SET_BODY_ENCODING on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_CONTENT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT_ID | Call by reference | Type reference (TYPE) | MIME_CNTID | BCOM: Bodypart Content ID | 20040629 |
Method SET_CONTENT_ID on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT_TYPE | Call by reference | Type reference (TYPE) | W3CONTTYPE | HTML-Content-Type | 20001123 |
Method SET_CONTENT_TYPE on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCRIPTION | Call by reference | Type reference (TYPE) | SO_OBJ_DES | Kurze Beschreibung des Inhaltes | 20000815 |
Method SET_DESCRIPTION on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_EXTENSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXTENSION | Call by reference | Type reference (TYPE) | SO_FILEEXT | Dateierweiterung einer PC-Anwendung | 20000815 |
Method SET_EXTENSION on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_FILENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILENAME | Call by reference | Type reference (TYPE) | MIME_TEXT | BCOM: Dateiname für MIME-Header | 20000815 |
Method SET_FILENAME on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_FLAG_FIRST_BODYPART Signature
Method SET_FLAG_FIRST_BODYPART on class CL_BCOM_MIME_SINGLEPART has no parameter.
Method SET_FLAG_FIRST_BODYPART on class CL_BCOM_MIME_SINGLEPART has no exception.
Method SET_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LENGTH | Call by reference | Type reference (TYPE) | SO_OBJ_LEN | Größe des Dokumentinhalts | 20001116 |
Method SET_LENGTH on class CL_BCOM_MIME_SINGLEPART has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 50A |