Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sort

Former Member
0 Likes
797

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 .

8 REPLIES 8
Read only

Former Member
0 Likes
778

HI

Try like this

SORT itab ASCENDING BY 'NO'

Reward all helpfull answers

Regards

Pavan

Read only

Former Member
0 Likes
778

hey prajwal,

'No' will no be the field in your internal table.

just paste code. i will tell you wats the problem.

Regards

Azad.

Read only

Former Member
0 Likes
778

Just <b>write Sort itab by no</b>. defaultly it will sort in ascending order.

-Satish

Read only

Former Member
0 Likes
778

<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.

Read only

0 Likes
778

ITS giving same error.

Read only

0 Likes
778

Hey

Paste your code na..

let us check

Azad.

Read only

0 Likes
778

ok thanks friends i solved that problem thanks once again

Read only

Former Member
0 Likes
778

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