Skip to Content

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

Sorting Problem After Server Migration

Dear SAP ABAP/Basis Experts,

I have problem with custom ABAP report. After SAP system migrated to new machine, the display of report is different.

Below is illustration differentiation of report:

Old Machine

New Machine

Before Sorted

Before Sorted

Docno

Item

Docno

Item

10000001

10

10000001

10

20

20

30

30

40

40

SORTING by Docno

After Sorted

After Sorted

Docno

Item

Docno

Item

10000001

10

10000001

40

20

30

30

10

40

20

I know this problem can be solved by changed sorting logic in ABAP program, but i need to know why this problem can happened.

For additional information, OS old machine is Win Server 2003 R2 and new OS machine is Win Server 2008 R2. Both of system is Non-Unicode.

Please help me to investigate this problem.

Thanks & regards,

Husin

Former Member
replied

Hi Husin,

The problem is not due to change in machine. I hope the sorting command may triggered like that. Kindly add the item also in the sort command. Also refer the STABLE SORT in the following link.

Sorting Internal Tables - ABAP Programming (BC-ABA) - SAP Library

Regards

Rajkumar Narasimman

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