SAP ABAP Class CL_BCOM_MIME_SINGLEPART (Class for an Individual Body Part)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-COM (Application Component) Communication Services: Mail, Fax, SMS, Telephony
     SBCOM_MIME (Package) Business Communication: MIME Conversion Tool
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 SO 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 BODY_ENCODING Instance attribute Protected Type reference (TYPE) MIME_ENCOD BCOM: Encoding Procedure for MIME Text 20001117
2 CONTENT_ID Instance attribute Protected Type reference (TYPE) MIME_CNTID BCOM: Bodypart Content ID 20040629
3 CONTENT_TYPE Instance attribute Protected Type reference (TYPE) W3CONTTYPE HTML Content Type 20001123
4 C_7BIT_TEXT Constant Protected Type reference (TYPE) MIME_HDFN '7bit' BCOM: Header Field Name 20000815
5 C_B64_TEXT Constant Protected Type reference (TYPE) MIME_HDFN 'base64' BCOM: Header Field Name 20000815
6 C_CHARSET_TEXT Constant Protected Type reference (TYPE) MIME_HDFN 'charset' BCOM: Header Field Name 20000829
7 C_CONTDESC Constant Protected Type reference (TYPE) MIME_HDFN 'Content-Description' BCOM: Header Field Name 20000815
8 C_CONTENC Constant Protected Type reference (TYPE) MIME_HDFN 'Content-Transfer-Encoding' BCOM: Header Field Name 20000815
9 C_FILENAME Constant Protected Type reference (TYPE) MIME_HDFN 'filename' BCOM: Header Field Name 20001031
10 C_NAME_TEXT Constant Protected Type reference (TYPE) MIME_HDFN 'name' BCOM: Header Field Name 20000829
11 C_QP_TEXT Constant Protected Type reference (TYPE) MIME_HDFN 'quoted-printable' BCOM: Header Field Name 20000815
12 DESCRIPTION Instance attribute Protected Type reference (TYPE) SO_OBJ_DES Short Description of Contents 20000815
13 DESCR_LONG Instance attribute Protected Type reference (TYPE) MIME_TEXT Description as String 20110804
14 EXTENSION Instance attribute Protected Type reference (TYPE) SO_FILEEXT File Extension for PC Application 20000815
15 FILENAME Instance attribute Protected Type reference (TYPE) MIME_TEXT File Name for MIME Header 20000815
16 FLAG_CONTENT_SET Instance attribute Protected Type reference (TYPE) SX_BOOLEAN Content Was Parsed Already and Is Available 20001116
17 FLAG_FIRST_BODYPART Instance attribute Protected Type reference (TYPE) SX_BOOLEAN First Body Part 20021120
18 LENGTH Instance attribute Protected Type reference (TYPE) SO_OBJ_LEN Size of Document Content 20001116
19 MV_BODY Instance attribute Protected Type reference (TYPE) XSTRING Body, decoded 20121018
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BODY Instance method Protected Method Creation of Entire Body 20000815
2 ADD_HEADER Instance method Protected Method Creation of Entire Header 20000815
3 ANALYZE_HEADER_CONTENT_TYPE Instance method Protected Method Analyzes Header Line 'Content Type...' 20001116
4 DECODE_BODY_B64 Static method Protected Method Decodes the Body of B64 20001123
5 DECODE_BODY_QP Static method Protected Method Decodes the Body of QP 20001123
6 ENCODE_BODY_B64 Instance method Protected Method Encodes the Body in B64 20000815
7 ENCODE_BODY_QP Static method Protected Method Encodes the Body in QP 20000815
8 GET_CONTENT_ENCODING Instance method Protected Method Determine the Value of 'Content Transfer Encoding' 20000815
9 GET_CONTENT_ID Instance method Public Method Get Content ID 20040629
10 GET_CONTENT_NAME Instance method Protected Method Determines the File Name for the Header 20001123
11 GET_DESCRIPTION Instance method Public Method Read the Description/Title of the Document 20001117
12 GET_DESCR_LONG Instance method Public Method Read the Description/Title of the Document 20110804
13 GET_EXTENSION Instance method Public Method Read File Extension/Text Type 20001117
14 GET_EXT_FROM_CONTENT_TYPE Instance method Private Method Determines Extension Using Content Types 20001128
15 GET_FILENAME Instance method Public Method Read File Name 20001117
16 GET_HEADER_CONTENT_TYPE Instance method Protected Method Creation of Header Line 'Content Type...' 20000815
17 GET_LENGTH Instance method Public Method Read Length of Document 20001117
18 REMOVE_QUOTING Static method Protected Method Remove Comment Character " at Start and End 20010123
19 SET_BODY_ENCODING Instance method Public Method Set the Encoding Procedure for MIME Text 20090112
20 SET_CONTENT_ID Instance method Public Method Set Content ID when Parsing Multiparts 20040629
21 SET_CONTENT_TYPE Instance method Public Method Set MIME Type (Optional) 20001123
22 SET_DESCRIPTION Instance method Public Method Set Description/Title of Document 20000815
23 SET_EXTENSION Instance method Public Method Set File Extension/Text Type 20000815
24 SET_FILENAME Instance method Public Method Set File Name 20000815
25 SET_FLAG_FIRST_BODYPART Instance method Public Method Set 'First Body Part' Indicator 20021120
26 SET_LENGTH 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 Changing DATA Call by reference Type reference (TYPE) MIME_DATA BCOM: MIME-Datenstrom 20000815
# Exception Resumable Description Created on
1 CX_BCOM_MIME Ausnahmen im MIME-Konvertierungstool 20001205

Method ADD_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DATA Call by reference Type reference (TYPE) MIME_DATA BCOM: MIME-Datenstrom 20000815
# Exception Resumable Description Created on
1 CX_BCOM_MIME 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 Importing PARAMETER_TAB Call by reference Type reference (TYPE) MIME_HEADT BCOM: Tabelle mit Header-Zeilen 20001117
2 Importing 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 Changing DATA Call by reference Type reference (TYPE) MIME_DATA 20001123
# Exception Resumable Description Created on
1 CX_BCOM_MIME 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 Changing 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 Changing DATA Call by reference Type reference (TYPE) MIME_DATA BCOM: MIME-Datenstrom 20000815
# Exception Resumable Description Created on
1 CX_BCOM_MIME 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 Changing 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 Exporting 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 Exporting 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 Returning 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 Exporting 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 Returning 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 Exporting 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 Importing CONTENT_TYPE Call by reference Type reference (TYPE) W3CONTTYPE HTML-Content-Type 20001128
2 Returning 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 Exporting 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 Exporting HEADER_BODY Call by reference Type reference (TYPE) MIME_TEXT BCOM: Text, der in MIME umgewandelt werden soll 20000815
2 Exporting HEADER_NAME Call by reference Type reference (TYPE) MIME_TEXT BCOM: Text, der in MIME umgewandelt werden soll 20000815
3 Exporting PARAMETER_TAB Call by reference Type reference (TYPE) MIME_HEADT BCOM: Tabelle mit Header-Zeilen 20000815
# Exception Resumable Description Created on
1 CX_BCOM_MIME Ausnahmen im MIME-Konvertierungstool 20001205

Method GET_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting 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 Importing IN Call by reference Type reference (TYPE) STRING 20010123
2 Returning 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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