Skip to Content
0
Former Member
Jul 21, 2016 at 08:04 AM

Sort table in maintenance generator

1941 Views

Hi,

I have an automatically generated table maintenance generator.

Fields are automatically sorted by key fields. I would like to sort it by a non-key field.

I have tried to modify it through the following options:

  • Environment -> Modification -> Maintenance Screens: I have created an include ...O01 (defined in top include of function group) with a PBO module called SORT_EXTRACT. I tried to sort the EXTRACT table, but I get a syntax error that it is unknown. I can access the EXTRACT table in debug mode as it is a global variable. Any ideas on how to access it? The following code does not work as it is unknown:

GT_TAB[] = EXTRACT[].

SORT GT_TAB BY ORDER.

EXTRACT[] = GT_TAB[].

  • Environment -> Modification -> Events: Event 17 Before printing events Doesn't work either. I have created a form, which is not accessed.

Please advise me how to proceed.


BR,

Matei