EMPGE_TO_KEYS SAP Method Converts Formatted Output Form in Single Fields (Semantic)









Below is documentation, parameters and attributes of ABAP Method EMPGE_TO_KEYS within SAP class IF_EX_RECA_BUSINESS_OBJECT. 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_RECA_BUSINESS_OBJECT 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 EMPGE_TO_KEYS can also be found below:

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


Parameters of Method EMPGE_TO_KEYS

.

NameTypeData TypeDescriptionDefault Value
ID_BUKRSImportingTYPE
BUKRS
Company Code
ID_EMPGEImportingTYPE
CLIKE
ID_OBARTImportingTYPE
RECAOBJTYPE
Object Type
CD_KEY1ChangingTYPE
CLIKE
CD_KEY2ChangingTYPE
CLIKE
CD_KEY3ChangingTYPE
CLIKE
CD_KEY4ChangingTYPE
CLIKE
CD_KEY5ChangingTYPE
CLIKE
CF_SUPPRESS_DEFAULT_PROCESSINGChangingTYPE
RECABOOL
General Yes/No Field
CS_MSGChangingTYPE
RECAMSG
Message



Exceptions of Method EMPGE_TO_KEYS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_RECA_BUSINESS_OBJECT.
DATA: lv_CD_KEY1 TYPE CLIKE,
lv_CD_KEY2 TYPE CLIKE,
lv_CD_KEY3 TYPE CLIKE,
lv_CD_KEY4 TYPE CLIKE,
lv_CD_KEY5 TYPE CLIKE,
lv_CF_SUPPRESS_DEFAULT_PROCESSING TYPE RECABOOL,
lv_CS_MSG TYPE RECAMSG,
lv_ID_BUKRS TYPE BUKRS,
lv_ID_EMPGE TYPE CLIKE,
lv_ID_OBART TYPE RECAOBJTYPE,
lv_other TYPE c.

CALL METHOD lo_class=>EMPGE_TO_KEYS(
EXPORTING
ID_BUKRS = lv_ID_BUKRS
ID_EMPGE = lv_ID_EMPGE
ID_OBART = lv_ID_OBART
CHANGING
CD_KEY1 = lv_CD_KEY1
CD_KEY2 = lv_CD_KEY2
CD_KEY3 = lv_CD_KEY3
CD_KEY4 = lv_CD_KEY4
CD_KEY5 = lv_CD_KEY5
CF_SUPPRESS_DEFAULT_PROCESSING = lv_CF_SUPPRESS_DEFAULT_PROCESSING
CS_MSG = lv_CS_MSG ).

Links to Related Class(s)

IF_EX_RE...
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!