Skip to Content
avatar image
Former Member

Persistent class Query Ordering

Hello...

I am using persistent class for custom logs.

Everything is working OK, but I need one suggestion.

My code:

DATA(lv_query) = cl_os_system=>get_query_manager( )->create_query( i_filter = |APPID = PAR1 AND GUID16 = PAR2| i_ordering = ??? ).

DATA(lt_obj) = /ktr/ca_sys_logs=>agent->if_os_ca_persistency~get_persistent_by_query(i_query = lv_queryi_par1 = _appidi_par2 = _uuid).

For creating the QUERY I use two parameters for APPID and GUID16. and that is for query parameter i_filter. That is OK! For that query I get internal table with more rows and my problem is that I want to sort this table by one column!

I think that parameter I_ORDERING in method create_query is for that purpose....or not?

Can anyone show me an example how to use parameter I_ORDERING syntax?

Thanks in advance!

Best Regards

Robert

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer