About SMARTFORM printing order
I develop an ABAP program for user inputing several document number , and printing them through SMARTFORM.
Now I have a problem regarding the serial printing order ,
I would like the printing order to follow my input order of the document number ,
but it doesn't , it sort the order automatically from small to big (ps , at my ABAP code , I haven't sort the data)
Please , How to solve this problem?
Thanks you in advanced.
Dhinathayalan N replied
once you use the select query the internal table should be sort like based on the key fields in that BKPF table. Your using BKPF table.
So your Internal table get sort like (BUKRS,BELNR,GJAHR).
So we cant change based on the user giving input.