Skip to Content

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

Sorting issue

HI all,

I am having strange problem with SORT command.

I am using this command in Invoice print out with an internal table which contains of fields

VBELN_SO POSNR_SO

VBELN_DELIV POSNR_DELIV

BIL_NUMBER

ITM_NUMBER

POSEX

Sort command is like below

SORT g_it_main_new2 BY vbeln_so vbeln_deliv.

All the times I have VBELN_DELIV = SPACE.

When Internal table has rows more than 10 items in internal table are getting reversed, i.e

Last line of table becoming first line.

Can you guys help me in sorting this issue out.

Thanks,

KK:

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question