2021 Apr 05 7:07 AM
Hi Experts,
Smart form displying data which having serial number. in code level there is no sorting. its displaying like
1
3
2
4
5
if i run again for the same input its displayed like
1
2
3
4
5
when we ran for first time only we have sorting issue , for the second time onwards there is no issue in sequence.
can some one help me why its happened.
Thanks,
Sri
Hi Experts,
Smart form displying data which having serial number. in code level there is no sorting. its displaying like
1
3
2
4
5
if i run again for the same input its displayed like
1
2
3
4
5
when we ran for first time only we have sorting issue , for the second time onwards there is no issue in sequence.
can some one help me why its happened.
Thanks,
Sri
2021 Apr 05 9:33 AM
You must tell us more:
2021 Apr 05 10:13 AM
Numbers Load from Abap only, we just pass the data to smartform
2021 Apr 05 2:05 PM
As you say that the numbers are passed through parameters, what values do you see in debug the first time and the second time. If they are sorted the second time then tell us more about your ABAP code.
2021 Apr 06 4:35 PM
program going to fetch the data from QAMV table, to pass Lot number and current node. for my inputs table having 51 records . i am fetching lotnumber, current node, Inspc charstic number, Plant for the Master Inspection Characteristic, Master Inspection Characteristics,Version Number of the Master Inspection Characteristic,Short Text for the Inspection Characteristic,Text Line for Additional Information,Text Line for Additional Information.
select statement same as
select PRUEFLOS VORGLFNR MERKNR VERWMERKM KURZTEXT DUMMY10 DUMMY20 QPMK_WERKS MKVERSION into table gt_qamv from Qamv whre PRUEFLOS = wa_PRUEFLOS and VORGLFNR = wa_VORGLFNR.
in the table level data is sequence order , but when execute ftrst time records will jump into one place to other. example Inspc. charcstic number in table 1 2 3 4 5 6 7 8 9 10. but in internal table its like 1 2 3 4 6 5 8 7 9 10. why this happends? but when i execute second time its retuen with same with as like in table. why? select statemnt same as in my logic.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |