09-11-2008 12:17 PM
Hi all,
Sales order is created by uploading a tab delimited file through a program ZR_SO_UPLOAD.File has one field that is 'Item description'. After the sales order is created, i check at item level in VA02,the sequence of description for that particular item is neither ascending nor descending.Rather if the item has 16 records it is taking from 8th till 16th first and then from 1st till 8th.
My requirement is to get the description in the same order as in the file.
Please help.
Thanks and Regards,
Neha
09-11-2008 12:45 PM
Hi
After this function module in the report program ZR_SO_UPLOAD .Use
Sort by that particular item is either ascending or descending order.
Regards,
Sravanthi
09-11-2008 12:47 PM
After uploading the file , use
SORT itab by Item description filed.
09-11-2008 12:51 PM
Hi,
Sorting a field asscending and descending fallow given syntax,,
SORT itab BY A B ascending C descending.
if you want delete duplicate records go through given syntax.....
DELETE ADJACENT DUPLICATES FROM itab COMPARING A B.
Thanks&Regards,
Naresh