ABAP OO Class Methods

EDIT_QUERY SAP Method - Edit Query







Below is documentation, parameters and attributes of ABAP Method EDIT_QUERY within SAP class IF_SQF_QUERY_LIST_CONTROL. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_SQF_QUERY_LIST_CONTROL into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

IF_SQF_QUERY_LIST_CONTROL

Method Name

EDIT_QUERY

Method Type

Instance Method:   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.






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


IM_ID " TYPE I
IM_UI_TECHNOLOGY " Object Name in Object Directory TYPE SOBJ_NAME

Exceptions:


CX_SQF_INVALID_STATE - Invalid state
CX_SQF_GUI_ERROR - UI Problems



Example ABAP coding


DATA:
ld_IM_ID TYPE I ,
ld_IM_UI_TECHNOLOGY TYPE SOBJ_NAME.

" ld_IM_ID = "
" ld_IM_UI_TECHNOLOGY = "

DATA: lo_CONTROL TYPE REF TO IF_SQF_QUERY_LIST_CONTROL .
CALL METHOD lo_CONTROL->EDIT_QUERY(
EXPORTING
IM_ID = ld_IM_ID
IM_UI_TECHNOLOGY = ld_IM_UI_TECHNOLOGY
EXCEPTIONS
CX_SQF_INVALID_STATE = 1
CX_SQF_GUI_ERROR = 2 ).