CONVERT_KEY SAP Method Method for Table Key Conversion
Below is documentation, parameters and attributes of ABAP Method CONVERT_KEY within SAP class IF_EX_BADI_AUT_CONV. 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 IF_EX_BADI_AUT_CONV 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_KEY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_KEY
.| Name | Type | Data Type | Description | Default Value |
| FLT_VAL | Importing | TYPE TABNAME | Filter Value | |
| KEY | Importing | TYPE ANY | Key Values for Data Record | |
| KEY_DETAILS | Importing | TYPE DD03TTYP | Detailed Information for Key | |
| ICON | Exporting | TYPE C | Select Data Record As Converted | |
| TABKEY | Exporting | TYPE LOGKEY | Expanded Table Key (Converted) |
Exceptions of Method CONVERT_KEY
CONVERT_ERROR - Error during translationExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_AUT_CONV.
DATA: lv_FLT_VAL TYPE TABNAME,
lv_ICON TYPE C,
lv_KEY TYPE ANY,
lv_KEY_DETAILS TYPE DD03TTYP,
lv_TABKEY TYPE LOGKEY,
lv_other TYPE c.
CALL METHOD lo_class=>CONVERT_KEY(
EXPORTING
FLT_VAL = lv_FLT_VAL
KEY = lv_KEY
KEY_DETAILS = lv_KEY_DETAILS
IMPORTING
ICON = lv_ICON
TABKEY = lv_TABKEY ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects