READ_DB SAP Method Reads Data from Database in Global Variable gt_ric_db
Below is documentation, parameters and attributes of ABAP Method READ_DB within SAP class /ISDFPS/CL_GEOLOC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /ISDFPS/CL_GEOLOC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method READ_DB can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_DB
.| Name | Type | Data Type | Description | Default Value |
| GEOLOC_FILTER | Importing | TYPE /ISDFPS/GEOLOC-LOCATION_CODE | Contains the Location Code | |
| IM_LOCATION | Importing | TYPE /ISDFPS/GEOLOC-LOCATION | Location Description | |
| IM_LOCATION_TYPE | Importing | TYPE /ISDFPS/GEOLOC-LOCATION_TYPE | Location Type | |
| IM_NATION | Importing | TYPE /ISDFPS/GEOLOC-NATION | Specifies Geolocation Country | |
| IM_REGION | Importing | TYPE /ISDFPS/GEOLOC-PROVINCE_STATE | Specifies Geolocation Region |
Exceptions of Method READ_DB
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_GEOLOC_FILTER TYPE /ISDFPS/GEOLOC-LOCATION_CODE,
lv_IM_LOCATION TYPE /ISDFPS/GEOLOC-LOCATION,
lv_IM_LOCATION_TYPE TYPE /ISDFPS/GEOLOC-LOCATION_TYPE,
lv_IM_NATION TYPE /ISDFPS/GEOLOC-NATION,
lv_IM_REGION TYPE /ISDFPS/GEOLOC-PROVINCE_STATE,
lv_other TYPE c.
CALL METHOD /ISDFPS/CL_GEOLOC=>READ_DB(
EXPORTING
GEOLOC_FILTER = lv_GEOLOC_FILTER
IM_LOCATION = lv_IM_LOCATION
IM_LOCATION_TYPE = lv_IM_LOCATION_TYPE
IM_NATION = lv_IM_NATION
IM_REGION = lv_IM_REGION ).
Links to Related Class(s)
/ISDFPS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects