2005 Feb 22 9:14 AM
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
2005 Feb 22 9: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
2005 Feb 22 9: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.
2005 Feb 22 9: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
2005 Feb 22 9:35 AM
Hi Kimallan
From the choices bestowed, I believe it requires to preserve the original order. So it seems to me that the correct answer to be <u>two standard tables and one processing block</u>. I counted two ABAP statements I've written in my last post as one processing block. However, still there seems to be vagueity.
*--Serdar
2005 Feb 22 9:39 AM
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.
2005 Feb 22 9: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
2005 Feb 22 9:52 AM
Thanks for your help everybody; I think I will go with the two standard tables and one processing block answer.
// Script
2005 Feb 22 3:09 PM
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