Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SY-SUBRC = 4 While SORT.

Hi All,

While SORT the internal table, it sorts but the return code is 4.

I am using only CHAR type fields only and its a STANDARD type table.

In 20 fields of the internal table, the 2nd, 3rd & 4th fields are used to sort.

Even these three fields have values or not, it returns 4.

When a SORT statement with STANDARD internal table will return 4? Provided all fields are CHAR type.

Regards,

R.Nagarajan.

-


We can -


Tags:
Former Member
Former Member replied

Hi Nag..

What Eric said is obiously correct.

Can you please check this issue in debugging mode once.

Otherwise try to paste the sample code here.

Thanks,

Naveen.I

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question