CONVERT_KEYS SAP Method Conversion of alternative keys to a node ids









Below is documentation, parameters and attributes of ABAP Method CONVERT_KEYS within SAP class /BOBF/IF_FRW_SERVICE_MGR. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/IF_FRW_SERVICE_MGR into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method CONVERT_KEYS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CONVERT_KEYS

.

NameTypeData TypeDescriptionDefault Value
IT_SOURCE_KEYImportingTYPE
INDEX TABLE
Table of source keys which are to be converted
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_SOURCE_ALTKEYImportingTYPE
/BOBF/CONF_KEY
Source alternative key
IV_TARGET_ALTKEYImportingTYPE
/BOBF/CONF_KEY
Target alternative key
ET_FAILEDExportingTYPE
/BOBF/T_FRW_BOOLEAN
Table of boolean values. Index-equality to IT_SOURCE_KEYS!
ET_TARGET_KEYExportingTYPE
INDEX TABLE
Table of converted keys. Index-equality to IT_SOURCE_KEYS!



Exceptions of Method CONVERT_KEYS

/BOBF/CX_FRW - BOPF Exception Class

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/IF_FRW_SERVICE_MGR.
DATA: lv_ET_FAILED TYPE /BOBF/T_FRW_BOOLEAN,
lv_ET_TARGET_KEY TYPE INDEX TABLE,
lv_IT_SOURCE_KEY TYPE INDEX TABLE,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_SOURCE_ALTKEY TYPE /BOBF/CONF_KEY,
lv_IV_TARGET_ALTKEY TYPE /BOBF/CONF_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>CONVERT_KEYS(
EXPORTING
IT_SOURCE_KEY = lv_IT_SOURCE_KEY
IV_NODE_KEY = lv_IV_NODE_KEY
IV_SOURCE_ALTKEY = lv_IV_SOURCE_ALTKEY
IV_TARGET_ALTKEY = lv_IV_TARGET_ALTKEY
IMPORTING
ET_FAILED = lv_ET_FAILED
ET_TARGET_KEY = lv_ET_TARGET_KEY ).

Links to Related Class(s)

/BOBF/IF...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!