SAP ABAP Class CL_BGRFC_CONVERTER (Convert bgRFC Units from basXML to Classic Format)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-RFC-BG (Application Component) Background RFC (bgRFC)
     SBGRFCCONV (Package) Package for bgRFC Conversion
Properties
Class CL_BGRFC_CONVERTER  
Short Description Convert bgRFC Units from basXML to Classic Format    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SBGRFCCONV   Package for bgRFC Conversion 
Created 20080120   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_BGRFC_CONVERTER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_BGRFC_CONVERTER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_BGRFC_DB_HELPER 20080213 Background RFC Database Accesses
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CONV_ERRO_MESSAGE_TYPE Constant Private Type reference (TYPE) SYMSGTY 'I' Message Type 20081124
2 CO_CONV_ERR_MESSAGE_ID Constant Private Type reference (TYPE) SYMSGID 'BGRFC' Message Class 20081124
3 CO_CONV_ERR_MESSAGE_NO Constant Private Type reference (TYPE) SYMSGNO 081 Message Number 20081124
4 CO_CONV_STATE_DEST_ERRORS Constant Public Type reference (TYPE) UNIT_STATE 'COMM_FAIL' Conversion Canceled Due to Communication Error 20080708
5 CO_CONV_STATE_RUNNING Constant Public Type reference (TYPE) UNIT_STATE 'RUNNING' Conversion Being Executed 20080708
6 CO_CONV_STATE_UNIT_ERRORS Constant Public Type reference (TYPE) UNIT_STATE 'FINISHED' Conversion Ended with Conversion Errors 20080708
7 DELETE_ERROR_UNITS Instance attribute Private Type reference (TYPE) SAP_BOOL Boolean Variable: Delete error units 20080717
8 DEST_METADATA Instance attribute Private Type reference (TYPE) RFCDEST Destination for Getting Metadata 20080708
9 DEST_OBJ Instance attribute Public Object reference (TYPE REF TO) IF_DEST_ROOT Root Interface for Destinations 20080717
10 DEST_UNITS Instance attribute Private Type reference (TYPE) RFCDEST Destination for Unit Execution 20080708
11 IS_COMPRESSION_ON Instance attribute Private Type reference (TYPE) SAP_BOOL Boolean Variable: With compression? 20080709
12 LOGGER Instance attribute Private Object reference (TYPE REF TO) CL_BGRFC_LOGGER tRFC/qRFC Logging 20080709
13 NUMBER_CONVERTED_UNITS Instance attribute Public Type reference (TYPE) I Number of Converted Units 20080707
14 NUMBER_DELETED_UNITS Instance attribute Public Type reference (TYPE) I Number of Deleted Units 20080707
15 NUMBER_ERROR_UNITS Instance attribute Public Type reference (TYPE) I Number of Units with Errors 20080707
16 UNIT_KIND_TABLE Instance attribute Private Type reference (TYPE) BGRFC_UNIT_KIND_TABLE Table of bgRFC Unit Child 20080709
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20080707
2 CONVERT Instance method Public Method Convert 20080717
3 CONVERT_DESTINATION Instance method Private Method Convert All bgRFC Units of a Destination 20080120
4 CONVERT_UNIT Instance method Private Method Convert a bgRCC Unit 20080610
5 CONVERT_UNIT_TABLE Instance method Private Method Convert a Table of bgRFC Units 20080702
6 CONVERT_XSTRING Static method Public Method Convert basXML Data Strings of a bgRFC Unit 20080120
7 CONVERT_XSTRING_INT Instance method Private Method Convert basXML Data Strings of a bgRFC Unit 20080730
8 COUNT_UNITS Static method Public Method Convert All bgRFC Units of a Destination 20080702
9 DELETE_UNIT Instance method Private Method Select Unit for Deletion and Delete from Error List 20080617
10 FINISH Instance method Private Method Clean up after Successful Conversion 20080717
11 GET_CONVERSION_STATE Static method Public Method Determine Status of Conversion 20080701
12 GET_UNIT_TABLE Instance method Private Method Get Table of bgRFC Units 20080709
Events
Class CL_BGRFC_CONVERTER has no event.
Types
Class CL_BGRFC_CONVERTER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DELETE_ERROR_UNITS Call by reference Type reference (TYPE) SAP_BOOL boolsche Variable (X=true, space=false) 20080707
2 Importing DEST_METADATA Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name der Destination im Outbound Fall 20080707
3 Importing DEST_UNITS Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name der Destination im Outbound Fall 20080707
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080708

Method CONVERT Signature

Method CONVERT on class CL_BGRFC_CONVERTER has no parameter.
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080717

Method CONVERT_DESTINATION Signature

Method CONVERT_DESTINATION on class CL_BGRFC_CONVERTER has no parameter.
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_CONVERT_DESTINATION 20080703

Method CONVERT_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASXML_ENABLED Call by reference Type reference (TYPE) C boolsche Variable (X=true, space=false) 20080709
2 Importing UNIT_ID Call by reference Type reference (TYPE) BGRFC_UNIT_ID Unit-ID des bgRFC 20080610
3 Importing UNIT_KIND Call by reference Type reference (TYPE) BGRFC_UNIT_KIND Type of Background RFC Unit 20080626
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_CONVERT_DESTINATION 20080703

Method CONVERT_UNIT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASXML_ENABLED Call by reference Type reference (TYPE) C 20080709
2 Importing UNIT_KIND Call by reference Type reference (TYPE) BGRFC_UNIT_KIND Type of Background RFC Unit 20080702
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080703

Method CONVERT_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMPRESSION_ON Call by reference Type reference (TYPE) SAP_BOOL Boolean Variable (X=True, Space=False) 20080516
2 Importing DEST_METADATA Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name of Destination in Outbound Case 20080129
3 Importing LS_DATA Call by reference Type reference (TYPE) XSTRING 20080120
4 Exporting LS_DATA_CONVERTED Call by reference Type reference (TYPE) XSTRING 20080120
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080703
2 CX_BGRFC_CONVERT_UNIT Exception class for CL_BGRFC_METADATA 20080703

Method CONVERT_XSTRING_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LS_DATA Call by reference Type reference (TYPE) XSTRING 20080730
2 Exporting LS_DATA_CONVERTED Call by reference Type reference (TYPE) XSTRING 20080730
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080730
2 CX_BGRFC_CONVERT_UNIT Exception class for CL_BGRFC_METADATA 20080730

Method COUNT_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEST_UNITS Call by reference Type reference (TYPE) BGRFC_DEST_NAME_OUTBOUND Name der Destination im Outbound Fall 20080702
2 Exporting NUMBER_UNITS_BASXML_QRFC Value transfer Type reference (TYPE) BGRFC_UNIT_CNT Anzahl zu konvertierender qRFC-Units 20080708
3 Exporting NUMBER_UNITS_BASXML_TRFC Value transfer Type reference (TYPE) BGRFC_UNIT_CNT Anzahl zu konvertierender tRFC-Units 20080708
4 Exporting NUMBER_UNITS_ERROR Value transfer Type reference (TYPE) BGRFC_UNIT_CNT Anzahl der Units mit Konvertierungsfehlern 20080708

Method COUNT_UNITS on class CL_BGRFC_CONVERTER has no exception.

Method DELETE_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing UNIT_ID Call by reference Type reference (TYPE) BGRFC_UNIT_ID Unit-ID des bgRFC 20080617
2 Importing UNIT_KIND Call by reference Type reference (TYPE) BGRFC_UNIT_KIND Type of Background RFC Unit 20080617

Method DELETE_UNIT on class CL_BGRFC_CONVERTER has no exception.

Method FINISH Signature

Method FINISH on class CL_BGRFC_CONVERTER has no parameter.
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080717

Method GET_CONVERSION_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONVERSION_STATE Value transfer Type reference (TYPE) UNIT_STATE 20080701
2 Importing DEST_UNITS Call by reference Type reference (TYPE) RFCDEST 20080701

Method GET_CONVERSION_STATE on class CL_BGRFC_CONVERTER has no exception.

Method GET_UNIT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASXML_ENABLED Call by reference Type reference (TYPE) C 20080709
2 Importing UNIT_KIND Call by reference Type reference (TYPE) BGRFC_UNIT_KIND Type of Background RFC Unit 20080709
3 Exporting UNIT_TABLE Call by reference Type reference (TYPE) BGRFC_UNIT_TABLE Unit-ID des bgRFC 20080709
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Exception class for CL_BGRFC_METADATA 20080709
History
Last changed by/on SAP  20130531 
SAP Release Created in 711