GET_SINGLE SAP Method Information for one Selected Line









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

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


Parameters of Method GET_SINGLE

.

NameTypeData TypeDescriptionDefault Value
IM_FUNCTIONImportingTYPE
UI_FUNC
Function Code
IM_HDRImportingTYPE
BAL_S_LOG
Header Data
IM_HDR_CONTEXTImportingTYPE
ANY
Header Data: Context
IM_HDR_CONTEXT_TABNAMEImportingTYPE
BALTABNAME
Header Data: Table Name for the Original Context
IM_MSGImportingTYPE
BAL_S_MSG
Message data
IM_MSG_CONTEXTImportingTYPE
ANY
Message Data: Context
IM_MSG_CONTEXT_TABNAMEImportingTYPE
BALTABNAME
Message Data: Table Name for the Original Context



Exceptions of Method GET_SINGLE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_CJ_DSAL_FUNC.
DATA: lv_IM_FUNCTION TYPE UI_FUNC,
lv_IM_HDR TYPE BAL_S_LOG,
lv_IM_HDR_CONTEXT TYPE ANY,
lv_IM_HDR_CONTEXT_TABNAME TYPE BALTABNAME,
lv_IM_MSG TYPE BAL_S_MSG,
lv_IM_MSG_CONTEXT TYPE ANY,
lv_IM_MSG_CONTEXT_TABNAME TYPE BALTABNAME,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SINGLE(
EXPORTING
IM_FUNCTION = lv_IM_FUNCTION
IM_HDR = lv_IM_HDR
IM_HDR_CONTEXT = lv_IM_HDR_CONTEXT
IM_HDR_CONTEXT_TABNAME = lv_IM_HDR_CONTEXT_TABNAME
IM_MSG = lv_IM_MSG
IM_MSG_CONTEXT = lv_IM_MSG_CONTEXT
IM_MSG_CONTEXT_TABNAME = lv_IM_MSG_CONTEXT_TABNAME ).

Links to Related Class(s)

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