05-25-2010 9:11 AM
Hi all,
I've sorted an itab by two fields A and B. Before loop one i've sorted by A B. Before loop two by B A. In loops i've used At End Of... keyword. In loop one At End Of A, and in loop two At End Of B...In loop one there is no problem when A change the At End Of catches but in loop two every loop it catches the but it has no change in field B. I can not solve this problem.
Regards,
05-25-2010 9:14 AM
You need to keep 2 internal tables like
For Sort AB
Your sequence of fields in internal table itab will be
A
B
For Sort BA
Your sequence of fields internal table itab1 (same as itab) will be
B
A
a®
05-25-2010 9:14 AM
You need to keep 2 internal tables like
For Sort AB
Your sequence of fields in internal table itab will be
A
B
For Sort BA
Your sequence of fields internal table itab1 (same as itab) will be
B
A
a®
05-25-2010 9:16 AM
Thanks a®s,
The problem is the sequence of the fields in the table.
Regards,