SAP OS QUERY ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

ABAP_OS - Query Service
This example demonstrates how an object-oriented query is used.

ABAP_SOURCE_CODE
DEMO CL_DEMO_QUERY_SERVICE

ABAP_DESCRIPTION
A query manager is called using the method GET_QUERY_MANAGER of the class CL_OS_SYSTEM and a query created using the method CREATE_QUERY and a specified filter and sort conditions. The query is executed using the interface method GET_PERSISTENT_BY_QUERY of the interface IF_OS_CA_PERSISTENCY and the flights found are displayed.
Since the predefined parameters PAR1, PAR2 from a parameter list are used here, an SQL injection is not possible in this example.