FETCH_FROM_DB SAP Method Fetch from database









Below is documentation, parameters and attributes of ABAP Method FETCH_FROM_DB within SAP class /SCMB/CL_PFM2_DATA. 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 /SCMB/CL_PFM2_DATA 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 directly

The following technical details of method FETCH_FROM_DB can also be found below:

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


Parameters of Method FETCH_FROM_DB

.

NameTypeData TypeDescriptionDefault Value
IT_RANGES_END_TSTImportingTYPE
GTY_RANGES_TST
Ranges /scmb/pfm2_tst
IT_RANGES_START_TSTImportingTYPE
GTY_RANGES_TST
Ranges /scmb/pfm2_tst
IV_ACTIVITYImportingTYPE
/SCMB/PFM2_ACTIVITY
Application Performance Monitoring: Activity
IV_APPLImportingTYPE
/SCMB/PFM2_APPL
Application
IV_ONLY_HEADERImportingTYPE
ABAP_BOOL
Fetch only header data
IV_PARM_NAMEImportingTYPE
/SCMB/PFM2_PARM
Parameter
IV_PARM_VALCImportingTYPE
/SCMB/PFM2_PVALC
Characteristic value
ET_CHAExportingTYPE
LTY_T_CHA
Characteristic values
ET_HDRExportingTYPE
LTY_T_HDR
Header
ET_KYFExportingTYPE
LTY_T_KYF
Key figure values



Exceptions of Method FETCH_FROM_DB

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_CHA TYPE LTY_T_CHA,
lv_ET_HDR TYPE LTY_T_HDR,
lv_ET_KYF TYPE LTY_T_KYF,
lv_IT_RANGES_END_TST TYPE GTY_RANGES_TST,
lv_IT_RANGES_START_TST TYPE GTY_RANGES_TST,
lv_IV_ACTIVITY TYPE /SCMB/PFM2_ACTIVITY,
lv_IV_APPL TYPE /SCMB/PFM2_APPL,
lv_IV_ONLY_HEADER TYPE ABAP_BOOL,
lv_IV_PARM_NAME TYPE /SCMB/PFM2_PARM,
lv_IV_PARM_VALC TYPE /SCMB/PFM2_PVALC,
lv_other TYPE c.

CALL METHOD /SCMB/CL_PFM2_DATA=>FETCH_FROM_DB(
EXPORTING
IT_RANGES_END_TST = lv_IT_RANGES_END_TST
IT_RANGES_START_TST = lv_IT_RANGES_START_TST
IV_ACTIVITY = lv_IV_ACTIVITY
IV_APPL = lv_IV_APPL
IV_ONLY_HEADER = lv_IV_ONLY_HEADER
IV_PARM_NAME = lv_IV_PARM_NAME
IV_PARM_VALC = lv_IV_PARM_VALC
IMPORTING
ET_CHA = lv_ET_CHA
ET_HDR = lv_ET_HDR
ET_KYF = lv_ET_KYF ).

Links to Related Class(s)

/SCMB/CL...
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!