Skip to Content
0
Former Member
Oct 15, 2009 at 08:38 AM

FBZ5 - printing payment advice - sorting problem

109 Views

i have a question that i want to print the payment advice sorting by document no / document date which depend on which company i choose. (T-code:fbz5)

e.g. if company 1000, 2000 i want to show the records sorting by document no

if company 3000, 4000 i want to show the records sorting by document date, then document no

i just know in the SAP Script Form, in MAIN window,

the record is shown like this (using tabel REGUP)

&REGUP-BELNR&,,&REGUP-XBLNR+0(16)&,,&REGUP-SGTXT(16)&,,&REGUP-BLDAT&,,.......................................

but i don't know how to control the sorting preference in SAP Scripts Form Code.

pls. help~