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 | 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 | Constant | Private | Type reference (TYPE) | INTTYPE | 'X' | Data Type: Byte String, Fixed Length | 20081030 | ||
| 2 | Constant | Private | Type reference (TYPE) | INTTYPE | 'C' | Data Type: Character String, Fixed Length | 20081030 | ||
| 3 | Constant | Private | Type reference (TYPE) | INTTYPE | 'D' | Data Type: Date in Format YYYYMMDD | 20081030 | ||
| 4 | Constant | Private | Type reference (TYPE) | INTTYPE | 'a' | Data Type: Decimal Floating Point Number, 16 Bytes | 20081030 | ||
| 5 | Constant | Private | Type reference (TYPE) | INTTYPE | 'e' | Data Type: Decimal Floating Point Number, 34 Bytes | 20081030 | ||
| 6 | Constant | Private | Type reference (TYPE) | INTTYPE | 'v' | Data Type: Deep Structure | 20081030 | ||
| 7 | Constant | Private | Type reference (TYPE) | INTTYPE | 'u' | Data Type: Flat Structure | 20081030 | ||
| 8 | Constant | Private | Type reference (TYPE) | INTTYPE | 'F' | Data Type: Floating Point Number | 20081030 | ||
| 9 | Constant | Private | Type reference (TYPE) | INTTYPE | 'b' | Data Type: Integer, 1 Byte, No Sign | 20081030 | ||
| 10 | Constant | Private | Type reference (TYPE) | INTTYPE | 's' | Data Type: Integer, 2 Bytes, No Sign | 20081030 | ||
| 11 | Constant | Private | Type reference (TYPE) | INTTYPE | 'I' | Data Type: Integer, 4 Bytes, No Sign | 20081030 | ||
| 12 | Constant | Private | Type reference (TYPE) | INTTYPE | 'N' | Data Type: Number String, Fixed Length | 20081030 | ||
| 13 | Constant | Private | Type reference (TYPE) | INTTYPE | 'P' | Data Type: Packed Number | 20081030 | ||
| 14 | Constant | Private | Type reference (TYPE) | INTTYPE | 'g' | Data Type: Character String, Variable Length | 20081030 | ||
| 15 | Constant | Private | Type reference (TYPE) | INTTYPE | 'h' | Data Type: Table | 20081030 | ||
| 16 | Constant | Private | Type reference (TYPE) | INTTYPE | 'T' | Data Type: Time in Format HHMMSS | 20081030 | ||
| 17 | Constant | Private | Type reference (TYPE) | INTTYPE | 'y' | Data Type: Byte String, Variable Length | 20081030 | ||
| 18 | Constant | Private | Type reference (TYPE) | C | 'C' | Parameter Class: CHANGING | 20081110 | ||
| 19 | Constant | Private | Type reference (TYPE) | C | 'I' | Parameter Class: IMPORTING | 20081110 | ||
| 20 | Constant | Private | Type reference (TYPE) | C | 'T' | Parameter Class: TABLES | 20081110 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Kernel function for filling PTAB with recorded data | 20071229 | |
| 2 | Static method | Private | Method | Compare two component data descriptions (RTTS) | 20071208 | |
| 3 | Static method | Private | Method | Compare two data descriptions (RTTS) | 20071208 | |
| 4 | Static method | Private | Method | Compare two element data descriptions (RTTS) | 20071208 | |
| 5 | Static method | Public | Method | Compare two parameter tables (RTTS) | 20071208 | |
| 6 | Static method | Private | Method | Compare two structure descriptions (RTTS) | 20071208 | |
| 7 | Static method | Private | Method | Compare two table data descriptions (RTTS) | 20071208 | |
| 8 | Static method | Private | Method | Compare two type data descriptions (RTTS) | 20080107 | |
| 9 | Static method | Private | Method | Get element data description (RTTS) | 20071123 | |
| 10 | Static method | Private | Method | Get structure data description (RTTS) | 20071123 | |
| 11 | Static method | Private | Method | Get table data description (RTTS) | 20071123 | |
| 12 | Static method | Public | Method | Reconstruct parameter table for recorded RFC | 20081027 | |
| 13 | 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 | OBJ | Call by reference | Object reference (TYPE REF TO) | IF_RFC_RECORDER_VIEWER | Unit im Hintergrund RFC | 20071229 | |||
| 2 | PTAB | Call by reference | Type reference (TYPE) | ABAP_FUNC_PARMBIND_TAB | 20080429 | ||||
| 3 | RC | Call by reference | Type reference (TYPE) | I | 20080327 | ||||
| 4 | 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 | COMPONENTDESCR_1 | Call by reference | Type reference (TYPE) | ABAP_COMPONENTDESCR | Beschreibung des 1. Datentyps | 20071208 | |||
| 2 | COMPONENTDESCR_2 | Call by reference | Type reference (TYPE) | ABAP_COMPONENTDESCR | Beschreibung des 2. Datentyps | 20071208 | |||
| 3 | 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 | DATADESCR_1 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Beschreibung des 1. Datentyps | 20071208 | |||
| 2 | DATADESCR_2 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Beschreibung des 2. Datentyps | 20071208 | |||
| 3 | DATAREF_1 | Call by reference | Object reference (TYPE REF TO) | DATA | 20080103 | ||||
| 4 | DATAREF_2 | Call by reference | Object reference (TYPE REF TO) | DATA | 20080103 | ||||
| 5 | 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 | ELEMDESCR_1 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Beschreibung des 1. Element-Datentyps | 20071208 | |||
| 2 | ELEMDESCR_2 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Beschreibung des 2. Element-Datentyps | 20071208 | |||
| 3 | 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 | EQUAL_PTAB | Value transfer | Type reference (TYPE) | SAP_BOOL | Vergleich der beiden Datentypen | 20071208 | |||
| 2 | PTAB_1 | Call by reference | Type reference (TYPE) | ABAP_FUNC_PARMBIND_TAB | Beschreibung des 1. Datentyps | 20071208 | |||
| 3 | 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 | EQUAL_STRUCTDESCR | Value transfer | Type reference (TYPE) | SAP_BOOL | Vergleich der beiden Struktur-Datentypen | 20071208 | |||
| 2 | STRUCTDESCR_1 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Beschreibung des 1. Struktur-Datentyps | 20071208 | |||
| 3 | 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 | EQUAL_TABLEDESCR | Value transfer | Type reference (TYPE) | SAP_BOOL | Vergleich der beiden Tabellen-Datentypen | 20071208 | |||
| 2 | TABLEDESCR_1 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Beschreibung des 1. Tabellen-Datentyps | 20071208 | |||
| 3 | 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 | EQUAL_TYPEDESCR | Value transfer | Type reference (TYPE) | SAP_BOOL | Vergleich der beiden Element-Datentypen | 20080107 | |||
| 2 | TYPEDESCR_1 | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Beschreibung des 1. Element-Datentyps | 20080107 | |||
| 3 | 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 | DATADESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Run Time Type Services | 20080328 | |||
| 2 | DECIMALS | Call by reference | Type reference (TYPE) | INTDECIM | Number of decimal places in the field | 20071123 | |||
| 3 | EXID | Call by reference | Type reference (TYPE) | INTTYPE | 20071123 | ||||
| 4 | EXLENGTH | Call by reference | Type reference (TYPE) | OUTLENGTH | Field output length | 20071123 | |||
| 5 | 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 | DATADESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Run Time Type Services | 20080328 | |||
| 2 | DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20071127 | |||
| 3 | TABLES_YN | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080328 | ||||
| 4 | TABNAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20071123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for CL_BGRFC_METADATA | 20080703 | ||
| 2 | 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 | DATADESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Run Time Type Services | 20080328 | |||
| 2 | DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20071127 | |||
| 3 | TABLES_YN | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080328 | ||||
| 4 | TABNAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20071123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for CL_BGRFC_METADATA | 20080703 | ||
| 2 | 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 | DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20081027 | |||
| 2 | FUNCNAME | Call by reference | Type reference (TYPE) | RS38L_FNAM | Name of Function Module | 20081027 | |||
| 3 | IS_FUNCTION_BASXML | Call by reference | Type reference (TYPE) | SAP_BOOL | Is function module basXML enabled? | 20081027 | |||
| 4 | OBJ | Call by reference | Object reference (TYPE REF TO) | IF_RFC_RECORDER_VIEWER | Klasse für Unit | 20081027 | |||
| 5 | PTAB | Call by reference | Type reference (TYPE) | ABAP_FUNC_PARMBIND_TAB | Parameter table for bgRFC | 20081027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme bei basXML-Konvertierung (Destinations-Ebene) | 20081027 | ||
| 2 | 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 | DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20081027 | |||
| 2 | PARAMS | Call by reference | Type reference (TYPE) | BGRFC_FUNINT_T | RFC: Attributes of function parameters | 20081027 | |||
| 3 | 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 |