MAP_LOAD_FROM_DATABASE SAP Method Reads Identified Object Data from the DB Based on a Filter
Below is documentation, parameters and attributes of ABAP Method MAP_LOAD_FROM_DATABASE within SAP class CB_ABAP_CC_ATL_USER. 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 CB_ABAP_CC_ATL_USER 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 MAP_LOAD_FROM_DATABASE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MAP_LOAD_FROM_DATABASE
.Name | Type | Data Type | Description | Default Value |
I_ORDER_BY_CLAUSE | Importing | TYPE STRING | ORDER BY Clause | |
I_SUBCLASSES | Importing | TYPE OS_BOOLEAN | Load Subclass Instances | |
I_UPTO | Importing | TYPE I | Max. No. Instances | |
I_WHERE_CLAUSE | Importing | TYPE STRING | Where Clause | |
PAR1 | Importing | TYPE ANY | First Parameter for Query Execution | |
PAR2 | Importing | TYPE ANY | Second Parameter for Query Execution | |
PAR3 | Importing | TYPE ANY | Third Parameter for Query Execution | |
RESULT | Returning | TYPE TYP_DB_DATA_TAB | Object Data Read from the Database |
Exceptions of Method MAP_LOAD_FROM_DATABASE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CB_ABAP_CC_ATL_USER.
DATA: lv_I_ORDER_BY_CLAUSE TYPE STRING,
lv_I_SUBCLASSES TYPE OS_BOOLEAN,
lv_I_UPTO TYPE I,
lv_I_WHERE_CLAUSE TYPE STRING,
lv_PAR1 TYPE ANY,
lv_PAR2 TYPE ANY,
lv_PAR3 TYPE ANY,
lv_RESULT TYPE TYP_DB_DATA_TAB,
lv_other TYPE c.
CALL METHOD lo_class=>MAP_LOAD_FROM_DATABASE(
EXPORTING
I_ORDER_BY_CLAUSE = lv_I_ORDER_BY_CLAUSE
I_SUBCLASSES = lv_I_SUBCLASSES
I_UPTO = lv_I_UPTO
I_WHERE_CLAUSE = lv_I_WHERE_CLAUSE
PAR1 = lv_PAR1
PAR2 = lv_PAR2
PAR3 = lv_PAR3
RECEIVING
RESULT = lv_RESULT )
"Alternate coding for Method Call with returning parameter
lv_RESULT = lo_class=>MAP_LOAD_FROM_DATABASE(
EXPORTING
I_ORDER_BY_CLAUSE = lv_I_ORDER_BY_CLAUSE
I_SUBCLASSES = lv_I_SUBCLASSES
I_UPTO = lv_I_UPTO
I_WHERE_CLAUSE = lv_I_WHERE_CLAUSE
PAR1 = lv_PAR1
PAR2 = lv_PAR2
PAR3 = lv_PAR3 ).
Links to Related Class(s)
CB_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects