‎2010 Sep 20 9:24 AM
Hi all,
i did a simple select statement into internal table with 2 different sample data.
sample A: data 100 - 102. sample B: data 100-102
after i go throw the select statement with sample A and sample B and the internal table data like bellow :
sample A
100|M48 | 1.00 |
100|M48 | 50000.00 |
101|M48 | 1.00 |
101|M48 | 50000.00 |
Sample B
100|M48 | 50000.00 |
100|M48 | 1.00 |
101|M48 | 50000.00 |
101|M48 | 1.00 |
102|M48 | 40000.00 |
102|M48 | 1.00 |
Problem is why the data squence for sample A and sample B is different? sample A amount 1 come first but sample B amount 50000.00 come 1st. Any ideas ?
THanks
‎2010 Sep 20 9:51 AM
hi ,
Use sorting method after selecting data in internal table .
SORT INTERNAL TABLE BY 1,2,3 COLUMN
if you still didn't get the solution read about the table types and its properties .
REGARDS
DEEPAK.