ABAP OO Class Methods

QUERY SAP Method - Query AOD Group Entity List







Below is documentation, parameters and attributes of ABAP Method QUERY within SAP class IF_GRPC_API_AOD_GROUP. 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_GRPC_API_AOD_GROUP 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_GRPC_API_AOD_GROUP

Method Name

QUERY

Method Type

Static Method:  This is a Static Method so you can call it directly






Importing Parameters:

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


IR_SESSION " Session Management for GRC APIs TYPE REF TO CL_GRFN_API_SESSION

Exporting Parameters:


ET_AOD_GROUP " table of GRPC_S_AOD_GROUP TYPE GRPC_T_AOD_GROUP
ET_MESSAGE " Table with BAPI Return Information TYPE BAPIRETTAB
E_RETURN_CODE " Natural number TYPE INT4

Exceptions:



Example ABAP coding


DATA:
ld_IR_SESSION TYPE REF TO CL_GRFN_API_SESSION ,
ld_ET_AOD_GROUP TYPE GRPC_T_AOD_GROUP ,
ld_ET_MESSAGE TYPE BAPIRETTAB ,
ld_E_RETURN_CODE TYPE INT4.

" ld_IR_SESSION = "

CALL METHOD IF_GRPC_API_AOD_GROUP=>QUERY(
EXPORTING
IR_SESSION = ld_IR_SESSION
IMPORTING
ET_AOD_GROUP = ld_ET_AOD_GROUP
ET_MESSAGE = ld_ET_MESSAGE
E_RETURN_CODE = ld_E_RETURN_CODE ).