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
.Name | Type | Data Type | Description | Default Value |
IM_FUNCTION | Importing | TYPE UI_FUNC | Function Code | |
IM_HDR | Importing | TYPE BAL_S_LOG | Header Data | |
IM_HDR_CONTEXT | Importing | TYPE ANY | Header Data: Context | |
IM_HDR_CONTEXT_TABNAME | Importing | TYPE BALTABNAME | Header Data: Table Name for the Original Context | |
IM_MSG | Importing | TYPE BAL_S_MSG | Message data | |
IM_MSG_CONTEXT | Importing | TYPE ANY | Message Data: Context | |
IM_MSG_CONTEXT_TABNAME | Importing | TYPE BALTABNAME | Message Data: Table Name for the Original Context |
Exceptions of Method GET_SINGLE
This method does not have any exceptionsExample 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