GET_LEGACY_KEYS_DETAILS SAP Method of class /BOBF/IF_DAC_LEGACY_MAPPING









Below is documentation, parameters and attributes of ABAP Method GET_LEGACY_KEYS_DETAILS within SAP class /BOBF/IF_DAC_LEGACY_MAPPING. 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_DAC_LEGACY_MAPPING 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 GET_LEGACY_KEYS_DETAILS can also be found below:

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


Parameters of Method GET_LEGACY_KEYS_DETAILS

.

NameTypeData TypeDescriptionDefault Value
ET_KEY_FIELDExportingTYPE
/BOBF/T_FRW_NAME
ET_PARENT_KEY_FIELDExportingTYPE
/BOBF/T_FRW_NAME
ET_ROOT_KEY_FIELDExportingTYPE
/BOBF/T_FRW_NAME
EV_KEY_STRUCTURE_NAMEExportingTYPE
STRING
EV_KEY_TABLE_TYPE_NAMEExportingTYPE
STRING
EV_PARENT_KEY_STRUCTURE_NAMEExportingTYPE
STRING
EV_PARENT_KEY_TABLE_TYPE_NAMEExportingTYPE
STRING
EV_ROOT_KEY_STRUCTURE_NAMEExportingTYPE
STRING
EV_ROOT_KEY_TABLE_TYPE_NAMEExportingTYPE
STRING
EV_ALTKEY_DB_KEY_KEYExportingTYPE
/BOBF/OBM_ALTKEY_KEY
EV_GUID_KEY_FIELDExportingTYPE
/BOBF/OBM_NAME
EV_TGT_TYPE_NAME_FOR_SELECTExportingTYPE
STRING



Exceptions of Method GET_LEGACY_KEYS_DETAILS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/IF_DAC_LEGACY_MAPPING.
DATA: lv_ET_KEY_FIELD TYPE /BOBF/T_FRW_NAME,
lv_ET_PARENT_KEY_FIELD TYPE /BOBF/T_FRW_NAME,
lv_ET_ROOT_KEY_FIELD TYPE /BOBF/T_FRW_NAME,
lv_EV_KEY_STRUCTURE_NAME TYPE STRING,
lv_EV_KEY_TABLE_TYPE_NAME TYPE STRING,
lv_EV_PARENT_KEY_STRUCTURE_NAME TYPE STRING,
lv_EV_PARENT_KEY_TABLE_TYPE_NAME TYPE STRING,
lv_EV_ROOT_KEY_STRUCTURE_NAME TYPE STRING,
lv_EV_ROOT_KEY_TABLE_TYPE_NAME TYPE STRING,
lv_EV_ALTKEY_DB_KEY_KEY TYPE /BOBF/OBM_ALTKEY_KEY,
lv_EV_GUID_KEY_FIELD TYPE /BOBF/OBM_NAME,
lv_EV_TGT_TYPE_NAME_FOR_SELECT TYPE STRING,
lv_other TYPE c.

CALL METHOD lo_class=>GET_LEGACY_KEYS_DETAILS(
IMPORTING
ET_KEY_FIELD = lv_ET_KEY_FIELD
ET_PARENT_KEY_FIELD = lv_ET_PARENT_KEY_FIELD
ET_ROOT_KEY_FIELD = lv_ET_ROOT_KEY_FIELD
EV_KEY_STRUCTURE_NAME = lv_EV_KEY_STRUCTURE_NAME
EV_KEY_TABLE_TYPE_NAME = lv_EV_KEY_TABLE_TYPE_NAME
EV_PARENT_KEY_STRUCTURE_NAME = lv_EV_PARENT_KEY_STRUCTURE_NAME
EV_PARENT_KEY_TABLE_TYPE_NAME = lv_EV_PARENT_KEY_TABLE_TYPE_NAME
EV_ROOT_KEY_STRUCTURE_NAME = lv_EV_ROOT_KEY_STRUCTURE_NAME
EV_ROOT_KEY_TABLE_TYPE_NAME = lv_EV_ROOT_KEY_TABLE_TYPE_NAME
EV_ALTKEY_DB_KEY_KEY = lv_EV_ALTKEY_DB_KEY_KEY
EV_GUID_KEY_FIELD = lv_EV_GUID_KEY_FIELD
EV_TGT_TYPE_NAME_FOR_SELECT = lv_EV_TGT_TYPE_NAME_FOR_SELECT ).

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!