SAP ABAP Class CL_BCS_CONVERT (BCS: Utilities for Document Content)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-COM (Application Component) Communication Services: Mail, Fax, SMS, Telephony
     SBCOMS (Package) Business Communication Service
Properties
Class CL_BCS_CONVERT  
Short Description BCS: Utilities for Document Content    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SBCOMS   Business Communication Service 
Created 20080313   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_CHAR_UTILITIES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_BCS_CONVERT has no interface implemented.
Friends
Class CL_BCS_CONVERT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CRLF Constant Public Type reference (TYPE) CHAR2 CL_ABAP_CHAR_UTILITIES=>CR_LF Single-Character Indicator 20080325
2 GC_TAB Constant Public Type reference (TYPE) CHAR1 CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB Single-Character Indicator 20080325
Methods
# Method Level Visibility Method type Description Created on
1 BIN_TO_SOLIX Static method Public Method Binary Format (SOLI) > Binary Format (SOLIX) (incl. Length) 20100208
2 HTMLBIN_TO_HTMLTXT Static method Public Method HTML (Binary, SOLIX) > HTML (continuous text, SOLI) 20121017
3 OTF_TO_SOLIX Static method Public Method OTF > Binary Format (SOLIX) 20100208
4 RAW_TO_SOLIX Static method Public Method Line-Oriented Text (SOLI) > Binary Format (SOLIX) 20080325
5 RAW_TO_STRING Static method Public Method Line-Oriented Text (SOLI) > Running Text (STRING) 20080325
6 RAW_TO_XSTRING Static method Public Method Line-Oriented Text (SOLI) > Binary Format (XSTRING) 20080325
7 SOLIX_TO_XSTRING Static method Public Method Binary Format (SOLIX) > Binary Format (XSTRING) 20080325
8 SOLIX_TO_XTAB Static method Public Method Binary Format (SOLIX) > Binary Format (Table) 20100208
9 SOLI_TO_SOLIX Static method Public Method Binary Format (SOLI) > Binary Format (SOLIX) 20080325
10 STRING_TO_SOLI Static method Public Method Running Text (STRING) > Running Text (SOLI) 20080325
11 STRING_TO_SOLIX Static method Public Method Running Text (STRING) > Binary Format (SOLIX) 20080325
12 STRING_TO_TAB Static method Public Method Binary Format (XSTRING) > Binary Format (Table) 20100208
13 STRING_TO_XSTRING Static method Public Method Running Text (STRING) > Binary Format (XSTRING) 20080325
14 TXT_TO_SOLIX Static method Public Method Running Text (SOLI) > Binary Format (SOLIX) 20080325
15 TXT_TO_STRING Static method Public Method Running Text (SOLI) > Running Text (STRING) 20080325
16 TXT_TO_XSTRING Static method Public Method Running Text (SOLI) > Binary Format (XSTRING) 20080325
17 XSTRING_TO_SOLIX Static method Public Method Binary Format (XSTRING) > Binary Format (SOLIX) 20080325
18 XSTRING_TO_STRING Static method Public Method Binary format (XSTRING)-> Text in system code page (STRING) 20121012
19 XSTRING_TO_XTAB Static method Public Method Binary Format (XSTRING) > Binary Format (Table) 20100208
20 XTAB_TO_XSTRING Static method Public Method Binary Format (Table) > Binary Format (XSTRING) 20100208
Events
Class CL_BCS_CONVERT has no event.
Types
Class CL_BCS_CONVERT has no local type.
Method Signatures

Method BIN_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LEN Call by reference Type reference (TYPE) I 20100208
2 Exporting ET_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Ausgabedaten 20100208
3 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20100208

Method BIN_TO_SOLIX on class CL_BCS_CONVERT has no exception.

Method HTMLBIN_TO_HTMLTXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HTML Call by reference Type reference (TYPE) SOLI_TAB objcont und objhead als Tabellentyp 20121017
2 Exporting EV_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE SAP-Zeichensatzidentifikation 20121017
3 Exporting EV_HTML Call by reference Type reference (TYPE) STRING 20121017
4 Exporting EV_SIZE Call by reference Type reference (TYPE) I 20121017
5 Importing IT_HTML Call by reference Type reference (TYPE) SOLIX_TAB GBT: SOLIX als Tabellentyp 20121017
6 Importing IV_CODEPAGE Value transfer Type reference (TYPE) CPCODEPAGE SAP-Zeichensatzidentifikation 20121017
7 Importing IV_HTML Call by reference Type reference (TYPE) XSTRING 20121017
8 Importing IV_SIZE Call by reference Type reference (TYPE) I 20121017

Method HTMLBIN_TO_HTMLTXT on class CL_BCS_CONVERT has no exception.

Method OTF_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SOLIX Value transfer Type reference (TYPE) SOLIX_TAB Ausgabedaten 20100208
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20100208

Method OTF_TO_SOLIX on class CL_BCS_CONVERT has no exception.

Method RAW_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Ausgabedaten 20080325
2 Exporting EV_SIZE Call by reference Type reference (TYPE) SO_OBJ_LEN Größe des Dokumentinhalts 20080325
3 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
4 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
5 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20080325

Method RAW_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_STRING Value transfer Type reference (TYPE) STRING Ausgabedaten 20080325
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20080325

Method RAW_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_XSTRING Value transfer Type reference (TYPE) XSTRING Ausgabedaten 20080325
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
3 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
4 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20080325

Method SOLIX_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_XSTRING Value transfer Type reference (TYPE) XSTRING Ausgabedaten 20080325
2 Importing IT_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Eingabedaten 20080325
3 Importing IV_SIZE Call by reference Type reference (TYPE) I Dokumentgröße 20080325

Method SOLIX_TO_XSTRING on class CL_BCS_CONVERT has no exception.

Method SOLIX_TO_XTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XTAB Call by reference Type reference (TYPE) STANDARD TABLE Ausgabedaten 20100208
2 Importing IT_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Eingabedaten 20100208
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20100208

Method SOLI_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SOLIX Value transfer Type reference (TYPE) SOLIX_TAB Ausgabedaten 20080325
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
# Exception Resumable Description Created on
1 CX_BCS 20080325

Method STRING_TO_SOLI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SOLI Value transfer Type reference (TYPE) SOLI_TAB Ausgabedaten 20080325
2 Importing IV_STRING Call by reference Type reference (TYPE) STRING Eingabedaten 20080325

Method STRING_TO_SOLI on class CL_BCS_CONVERT has no exception.

Method STRING_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Ausgabedaten 20080325
2 Exporting EV_SIZE Call by reference Type reference (TYPE) SO_OBJ_LEN Größe des Dokumentinhalts 20080325
3 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
4 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
5 Importing IV_STRING Call by reference Type reference (TYPE) STRING Eingabedaten 20080325
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20080325

Method STRING_TO_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CTAB Call by reference Type reference (TYPE) STANDARD TABLE Ausgabedaten 20100208
2 Importing IV_STRING Call by reference Type reference (TYPE) STRING Eingabedaten 20100208
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20100208

Method STRING_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_XSTRING Value transfer Type reference (TYPE) XSTRING Ausgabedaten 20080325
2 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
3 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
4 Importing IV_CONVERT_CP Call by reference Type reference (TYPE) OS_BOOLEAN 'X' Codepageconvertierung durchführen 20080325
5 Importing IV_STRING Call by reference Type reference (TYPE) STRING Eingabedaten 20080325
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20080325

Method TXT_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOLIX Call by reference Type reference (TYPE) SOLIX_TAB Ausgabedaten 20080325
2 Exporting EV_SIZE Call by reference Type reference (TYPE) SO_OBJ_LEN Größe des Dokumentinhalts 20080325
3 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
4 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
5 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
6 Importing IV_SIZE Call by reference Type reference (TYPE) I Dokumentgröße 20080325
# Exception Resumable Description Created on
1 CX_BCS 20080325

Method TXT_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_STRING Value transfer Type reference (TYPE) STRING Ausgabedaten 20080325
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
3 Importing IV_SIZE Call by reference Type reference (TYPE) I Dokumentgröße 20080325

Method TXT_TO_STRING on class CL_BCS_CONVERT has no exception.

Method TXT_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_XSTRING Value transfer Type reference (TYPE) XSTRING Ausgabedaten 20080325
2 Importing IT_SOLI Call by reference Type reference (TYPE) SOLI_TAB Eingabedaten 20080325
3 Importing IV_ADD_BOM Call by reference Type reference (TYPE) OS_BOOLEAN Byte-Order-Mark hinzufügen 20080325
4 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCOD Zielcodepage in SAP Form (Default = SAPconnect Einstellung) 20080325
5 Importing IV_SIZE Call by reference Type reference (TYPE) I Dokumentgröße 20080325
# Exception Resumable Description Created on
1 CX_BCS 20080325

Method XSTRING_TO_SOLIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SOLIX Value transfer Type reference (TYPE) SOLIX_TAB Ausgabedaten 20080325
2 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING Eingabedaten 20080325

Method XSTRING_TO_SOLIX on class CL_BCS_CONVERT has no exception.

Method XSTRING_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CP Call by reference Type reference (TYPE) CPCODEPAGE SAP-Zeichensatzidentifikation 20121012
2 Importing IV_XSTR Call by reference Type reference (TYPE) XSTRING 20121012
3 Returning RV_STRING Value transfer Type reference (TYPE) STRING 20121012

Method XSTRING_TO_STRING on class CL_BCS_CONVERT has no exception.

Method XSTRING_TO_XTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XTAB Call by reference Type reference (TYPE) STANDARD TABLE Ausgabedaten 20100208
2 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING Eingabedaten 20100208
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20100208

Method XTAB_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_XTAB Call by reference Type reference (TYPE) STANDARD TABLE Ausgabedaten 20100208
2 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING Eingabedaten 20100208
# Exception Resumable Description Created on
1 CX_BCS BCS: Allgemeine Ausnahmen 20100208
History
Last changed by/on SAP  20130531 
SAP Release Created in 740