Skip to Content

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

About SMARTFORM printing order

Hello Experts,

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.

Best Regards,


Former Member


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.



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