Skip to Content
author's profile photo Former Member
Former Member

Sort table in maintenance generator

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


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 21, 2016 at 01:00 PM

    Please search before posting. Check if this helps you.

    To Sort Table Maintenance Before Display.

    Thanks,

    Juwin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Zafer Onbaş

      Thank you so much! You are a life saver!

      That did the trick!

      I would reward 100 points if I could!!!

      ➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕

      ➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕

      ➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕➕

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.