WRITE_QUERY_TO_DB SAP Method Read Query from eCATT Container and Write it to Database









Below is documentation, parameters and attributes of ABAP Method WRITE_QUERY_TO_DB within SAP class /BCV/CL_QRM_QUERY_ECATT. 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 /BCV/CL_QRM_QUERY_ECATT 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 WRITE_QUERY_TO_DB can also be found below:

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


Parameters of Method WRITE_QUERY_TO_DB

.

NameTypeData TypeDescriptionDefault Value
IV_CONTAINER_NAMEImportingTYPE
ETOBJ_NAME
eCATT Container Name
IV_QUERY_IDImportingTYPE
/BCV/QRM_QUERY_ID
Query ID
IV_VARIANT_NAMEImportingTYPE
ETVAR_ID
Variant Name in eCATT Container
EV_CONTEXT_KEYExportingTYPE
/BCV/FND_CONTEXT_KEY
Context Key for Which Query was Created
EV_NEW_CKEY_INDExportingTYPE
BOOLE_D
Context Key is New



Exceptions of Method WRITE_QUERY_TO_DB

/BCV/CX_QRM_QUERY_ECATT - Exception Class for Query eCATT

Example ABAP coding


DATA: lv_EV_CONTEXT_KEY TYPE /BCV/FND_CONTEXT_KEY,
lv_EV_NEW_CKEY_IND TYPE BOOLE_D,
lv_IV_CONTAINER_NAME TYPE ETOBJ_NAME,
lv_IV_QUERY_ID TYPE /BCV/QRM_QUERY_ID,
lv_IV_VARIANT_NAME TYPE ETVAR_ID,
lv_other TYPE c.

CALL METHOD /BCV/CL_QRM_QUERY_ECATT=>WRITE_QUERY_TO_DB(
EXPORTING
IV_CONTAINER_NAME = lv_IV_CONTAINER_NAME
IV_QUERY_ID = lv_IV_QUERY_ID
IV_VARIANT_NAME = lv_IV_VARIANT_NAME
IMPORTING
EV_CONTEXT_KEY = lv_EV_CONTEXT_KEY
EV_NEW_CKEY_IND = lv_EV_NEW_CKEY_IND ).

Links to Related Class(s)

/BCV/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!