01-14-2015 8:44 AM
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
01-14-2015 9:53 AM
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
01-14-2015 9:53 AM
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
01-15-2015 3:58 AM
Hi Rajkumar,
Thanks for your valuable information, i will check with our ABAP team about Sort Table. I will update you soon.
Thanks & regards,
Husin
01-15-2015 12:06 PM
Hi Rajkumar,
Thanks for your help, your statement is correct. this is confirmed by our ABAP team.
Regards,
Husin