Sorting a sorted table
Iu2019m developing the invoice smartform. The used structure is u201CIS_BIL_INVOICE type LBBIL_INVOICEu201D. It is a sorted table (I need to sort it with different criteria, concretely its IT_GEN component). How can I sort it (I cannot use SORT command)? Do I have to modify the main program? Or does exist a different way?
Thanks in advance,
Matthew Billingham replied
Yes it is impossible to sort a sorted table to a different sort order. You must copy the table to a sorted table (with or without a unique key) with the different sort order. Exactly as Aparna Shekhar already said.
If you control the definition of the internal table, then you can specify secondard indexes in later versions of Netweaver.