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

What is needed for sorting on two fields in a table control

Hi Everybody

I am going to certification in a couple of days. I need some help and was hopeing that you guys could help.

What is needed for sorting on two fields in a table control?

One sorted table and two processing blocks

Two standard tables and one processing blocks

Two standard tables and two processing

Which one is corret??

//Script

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Feb 22, 2005 at 09:20 AM

    Hi Kimallan

    I am not sure what is meant by a "processing block". However, it seems the question wants the original table order to be preserved. If so; as far as I understood the problem we need:

    itab_proxy[] = itab_main[] . 
    "two standard tables"
    SORT itab_proxy BY field1 field2 .
    

    If we have a sorted table, then it is always sorted by its keys. So, the question seems to become obsolete for that option.

    Hope I've understood correct...

    Regards

    *--Serdar

    ssimsekler@yahoo.com

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 09:21 AM

    Hi,

    May be I have not understood the options correctly, but none of themseem to be correct to me :-).

    I think it should be <u><i>one standard table and one processing block</i></u>.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 09:29 AM

    Ok maybe you are right, it a a certification questing that I remember from last time I went there. Are you sure so you would recoment me to choice this one you say???

    //script

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Serdar Simsekler

      Hello Serdar,

      I would like to know why you think the question coveys the meaning that the original order has to be preserved?

      To me, the question seems to be quite unambiguous. The choices are however not totally sensible. And from what Kimallan says, he is probably not very sure about the choices. And I think in general you would have 4 - 5 choices for questions such as these.

      Please let me know what you think.

      Regards,

      Anand Mandalika.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 09:44 AM

    Poornanand Mandalika You are right maybe I dont remember all off them. If you know that the right answer is not there then that could be right.

    // Script

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 09:52 AM

    Thanks for your help everybody; I think I will go with the two standard tables and one processing block answer.

    // Script

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Anand

      I agree with you about the vagueity of the question and Kimillan states that it may lack some parts. However, with the given arguements, I guess on the incomplete part of the question (optimizing 😊 ). It seems to me that the question is based on simple proxy(frontend)-main(backend) object handling (think of ALV Grid Control's filtering function).

      Kind Regards...

      *--Serdar

      ssimsekler@yahoo.com

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.