SAP ABAP Class CL_BGRFC_METADATA (Converts 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_METADATA  
Short Description Converts 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 20071123   SAP 
Last change 20110908   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)
Interfaces
Class CL_BGRFC_METADATA has no interface implemented.
Friends
Class CL_BGRFC_METADATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_DATATYPE_BYTE Constant Private Type reference (TYPE) INTTYPE 'X' Data Type: Byte String, Fixed Length 20081030
2 CO_DATATYPE_CHAR Constant Private Type reference (TYPE) INTTYPE 'C' Data Type: Character String, Fixed Length 20081030
3 CO_DATATYPE_DATE Constant Private Type reference (TYPE) INTTYPE 'D' Data Type: Date in Format YYYYMMDD 20081030
4 CO_DATATYPE_DECFLOAT16 Constant Private Type reference (TYPE) INTTYPE 'a' Data Type: Decimal Floating Point Number, 16 Bytes 20081030
5 CO_DATATYPE_DECFLOAT34 Constant Private Type reference (TYPE) INTTYPE 'e' Data Type: Decimal Floating Point Number, 34 Bytes 20081030
6 CO_DATATYPE_DEEP_STRUCTURE Constant Private Type reference (TYPE) INTTYPE 'v' Data Type: Deep Structure 20081030
7 CO_DATATYPE_FLAT_STRUCTURE Constant Private Type reference (TYPE) INTTYPE 'u' Data Type: Flat Structure 20081030
8 CO_DATATYPE_FLOAT Constant Private Type reference (TYPE) INTTYPE 'F' Data Type: Floating Point Number 20081030
9 CO_DATATYPE_INT1 Constant Private Type reference (TYPE) INTTYPE 'b' Data Type: Integer, 1 Byte, No Sign 20081030
10 CO_DATATYPE_INT2 Constant Private Type reference (TYPE) INTTYPE 's' Data Type: Integer, 2 Bytes, No Sign 20081030
11 CO_DATATYPE_INTEGER Constant Private Type reference (TYPE) INTTYPE 'I' Data Type: Integer, 4 Bytes, No Sign 20081030
12 CO_DATATYPE_NUM Constant Private Type reference (TYPE) INTTYPE 'N' Data Type: Number String, Fixed Length 20081030
13 CO_DATATYPE_PACKED Constant Private Type reference (TYPE) INTTYPE 'P' Data Type: Packed Number 20081030
14 CO_DATATYPE_STRING Constant Private Type reference (TYPE) INTTYPE 'g' Data Type: Character String, Variable Length 20081030
15 CO_DATATYPE_TABLE Constant Private Type reference (TYPE) INTTYPE 'h' Data Type: Table 20081030
16 CO_DATATYPE_TIME Constant Private Type reference (TYPE) INTTYPE 'T' Data Type: Time in Format HHMMSS 20081030
17 CO_DATATYPE_XSTRING Constant Private Type reference (TYPE) INTTYPE 'y' Data Type: Byte String, Variable Length 20081030
18 CO_PARAMCLASS_CHANGING Constant Private Type reference (TYPE) C 'C' Parameter Class: CHANGING 20081110
19 CO_PARAMCLASS_IMPORTING Constant Private Type reference (TYPE) C 'I' Parameter Class: IMPORTING 20081110
20 CO_PARAMCLASS_TABLES Constant Private Type reference (TYPE) C 'T' Parameter Class: TABLES 20081110
Methods
# Method Level Visibility Method type Description Created on
1 BGRFC_FILL_PTAB Static method Private Method Kernel function for filling PTAB with recorded data 20071229
2 COMPARE_COMPONENTDESCR Static method Private Method Compare two component data descriptions (RTTS) 20071208
3 COMPARE_DATADESCR Static method Private Method Compare two data descriptions (RTTS) 20071208
4 COMPARE_ELEMDESCR Static method Private Method Compare two element data descriptions (RTTS) 20071208
5 COMPARE_PTAB Static method Public Method Compare two parameter tables (RTTS) 20071208
6 COMPARE_STRUCTDESCR Static method Private Method Compare two structure descriptions (RTTS) 20071208
7 COMPARE_TABLEDESCR Static method Private Method Compare two table data descriptions (RTTS) 20071208
8 COMPARE_TYPEDESCR Static method Private Method Compare two type data descriptions (RTTS) 20080107
9 GET_HANDLE_ELEM Static method Private Method Get element data description (RTTS) 20071123
10 GET_HANDLE_STRUCTURE Static method Private Method Get structure data description (RTTS) 20071123
11 GET_HANDLE_TABLE Static method Private Method Get table data description (RTTS) 20071123
12 GET_METADATA Static method Public Method Reconstruct parameter table for recorded RFC 20081027
13 GET_PTAB Static method Public Method Get data descriptions (RTTS) of FM parameters 20081027
Events
Class CL_BGRFC_METADATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 XTYPE_TYPE Protected See coding 20071211 begin of xtype_type, i1 type i, i2 type i, end of xtype_type
Method Signatures

Method BGRFC_FILL_PTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJ Call by reference Object reference (TYPE REF TO) IF_RFC_RECORDER_VIEWER Unit im Hintergrund RFC 20071229
2 Changing PTAB Call by reference Type reference (TYPE) ABAP_FUNC_PARMBIND_TAB 20080429
3 Exporting RC Call by reference Type reference (TYPE) I 20080327
4 Importing STEP Call by reference Type reference (TYPE) I 20071229

Method BGRFC_FILL_PTAB on class CL_BGRFC_METADATA has no exception.

Method COMPARE_COMPONENTDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMPONENTDESCR_1 Call by reference Type reference (TYPE) ABAP_COMPONENTDESCR Beschreibung des 1. Datentyps 20071208
2 Importing COMPONENTDESCR_2 Call by reference Type reference (TYPE) ABAP_COMPONENTDESCR Beschreibung des 2. Datentyps 20071208
3 Returning EQUAL_COMPONENTDESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Datentypen 20071208

Method COMPARE_COMPONENTDESCR on class CL_BGRFC_METADATA has no exception.

Method COMPARE_DATADESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATADESCR_1 Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Beschreibung des 1. Datentyps 20071208
2 Importing DATADESCR_2 Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Beschreibung des 2. Datentyps 20071208
3 Importing DATAREF_1 Call by reference Object reference (TYPE REF TO) DATA 20080103
4 Importing DATAREF_2 Call by reference Object reference (TYPE REF TO) DATA 20080103
5 Returning EQUAL_DATADESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Datentypen 20071208

Method COMPARE_DATADESCR on class CL_BGRFC_METADATA has no exception.

Method COMPARE_ELEMDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMDESCR_1 Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR Beschreibung des 1. Element-Datentyps 20071208
2 Importing ELEMDESCR_2 Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR Beschreibung des 2. Element-Datentyps 20071208
3 Returning EQUAL_ELEMDESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Element-Datentypen 20071208

Method COMPARE_ELEMDESCR on class CL_BGRFC_METADATA has no exception.

Method COMPARE_PTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EQUAL_PTAB Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Datentypen 20071208
2 Importing PTAB_1 Call by reference Type reference (TYPE) ABAP_FUNC_PARMBIND_TAB Beschreibung des 1. Datentyps 20071208
3 Importing PTAB_2 Call by reference Type reference (TYPE) ABAP_FUNC_PARMBIND_TAB Beschreibung des 2. Datentyps 20071208

Method COMPARE_PTAB on class CL_BGRFC_METADATA has no exception.

Method COMPARE_STRUCTDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EQUAL_STRUCTDESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Struktur-Datentypen 20071208
2 Importing STRUCTDESCR_1 Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Beschreibung des 1. Struktur-Datentyps 20071208
3 Importing STRUCTDESCR_2 Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Beschreibung des 2. Struktur-Datentyps 20071208

Method COMPARE_STRUCTDESCR on class CL_BGRFC_METADATA has no exception.

Method COMPARE_TABLEDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EQUAL_TABLEDESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Tabellen-Datentypen 20071208
2 Importing TABLEDESCR_1 Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Beschreibung des 1. Tabellen-Datentyps 20071208
3 Importing TABLEDESCR_2 Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Beschreibung des 2. Tabellen-Datentyps 20071208

Method COMPARE_TABLEDESCR on class CL_BGRFC_METADATA has no exception.

Method COMPARE_TYPEDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EQUAL_TYPEDESCR Value transfer Type reference (TYPE) SAP_BOOL Vergleich der beiden Element-Datentypen 20080107
2 Importing TYPEDESCR_1 Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Beschreibung des 1. Element-Datentyps 20080107
3 Importing TYPEDESCR_2 Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Beschreibung des 2. Element-Datentyps 20080107

Method COMPARE_TYPEDESCR on class CL_BGRFC_METADATA has no exception.

Method GET_HANDLE_ELEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATADESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_DATADESCR Run Time Type Services 20080328
2 Importing DECIMALS Call by reference Type reference (TYPE) INTDECIM Number of decimal places in the field 20071123
3 Importing EXID Call by reference Type reference (TYPE) INTTYPE 20071123
4 Importing EXLENGTH Call by reference Type reference (TYPE) OUTLENGTH Field output length 20071123
5 Importing TABLES_YN Call by reference Type reference (TYPE) ABAP_BOOL 20080328

Method GET_HANDLE_ELEM on class CL_BGRFC_METADATA has no exception.

Method GET_HANDLE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATADESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_DATADESCR Run Time Type Services 20080328
2 Importing DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20071127
3 Importing TABLES_YN Call by reference Type reference (TYPE) ABAP_BOOL 20080328
4 Importing TABNAME Call by reference Type reference (TYPE) DDOBJNAME Name of ABAP Dictionary Object 20071123
# 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 GET_HANDLE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATADESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_DATADESCR Run Time Type Services 20080328
2 Importing DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20071127
3 Importing TABLES_YN Call by reference Type reference (TYPE) ABAP_BOOL 20080328
4 Importing TABNAME Call by reference Type reference (TYPE) DDOBJNAME Name of ABAP Dictionary Object 20071123
# 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 GET_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20081027
2 Importing FUNCNAME Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20081027
3 Exporting IS_FUNCTION_BASXML Call by reference Type reference (TYPE) SAP_BOOL Is function module basXML enabled? 20081027
4 Importing OBJ Call by reference Object reference (TYPE REF TO) IF_RFC_RECORDER_VIEWER Klasse für Unit 20081027
5 Exporting PTAB Call by reference Type reference (TYPE) ABAP_FUNC_PARMBIND_TAB Parameter table for bgRFC 20081027
# Exception Resumable Description Created on
1 CX_BGRFC_CONVERT_DESTINATION Ausnahme bei basXML-Konvertierung (Destinations-Ebene) 20081027
2 CX_BGRFC_CONVERT_UNIT Ausnahme bei basXML-Konvertierung (Unit-Ebene) 20081027

Method GET_PTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20081027
2 Importing PARAMS Call by reference Type reference (TYPE) BGRFC_FUNINT_T RFC: Attributes of function parameters 20081027
3 Changing PTAB Call by reference Type reference (TYPE) ABAP_FUNC_PARMBIND_TAB 20081027

Method GET_PTAB on class CL_BGRFC_METADATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 711