‎2007 Jul 20 6:47 AM
Hi all...
'no' is a field in internal table itab. i want to sort table itab on field 'no'.
am using this statement SORT itab ASCENDING BY NO. but its showing error message <b>'No component exists with the name "NO"'</b>. please help me to correct this .
‎2007 Jul 20 6:50 AM
HI
Try like this
SORT itab ASCENDING BY 'NO'
Reward all helpfull answers
Regards
Pavan
‎2007 Jul 20 6:51 AM
hey prajwal,
'No' will no be the field in your internal table.
just paste code. i will tell you wats the problem.
Regards
Azad.
‎2007 Jul 20 6:52 AM
Just <b>write Sort itab by no</b>. defaultly it will sort in ascending order.
-Satish
‎2007 Jul 20 6:53 AM
<b>SORT ITAB BY NO</b>
Remove ASCENDING. If you want to SORT ASCENDING, there is no need to write ASCENDING, as it takes it default.
Regads,
Pavan.
‎2007 Jul 20 6:57 AM
‎2007 Jul 20 6:58 AM
‎2007 Jul 20 7:00 AM
‎2007 Jul 20 6:59 AM
Hi,
Check whether your internal table has a filed named "NO".
There should be a field in internal table with the name "NO".
It seems you have type ZERO "0" instead of "O".
Best regards,
Prashant
Message was edited by:
Prashant Patil