‎2019 Jul 10 3:48 PM
Hi All,
I am printing a putaway label using a purchasing document. The label is being printed with the line items sorted by the PO line item number by default. I need to change this sort order as per the article number. I am unable to do so. Could you please suggest how to modify this default sort order?
Thanks,
Jean
‎2019 Jul 10 4:16 PM
If you are using a custom report to print, sort the internal table with the items by your material number
‎2019 Jul 10 9:04 PM
Hi Jean,
That really depends on the logic within the lable or your print report. If there is a sort logic in the form, the sorting of the data would have no effect, if you do it in the print report.
So you have to analyze first the print report and make sure which internal table is handed over to the smartform. And if there is any sort logic before.
Than you have to look into the smartform and analyze the nodes around the items. Perhaps you can do the sorting in the loop node. Or otherwhise in a coding routine that could be found in the formroutines of the smartform.
I hope that answer could help to solve your issue.
Kind regards
Silvio