‎2007 Oct 16 2:21 PM
I am trying to customise the cheque printing program so that is rolls up all the invoices for a particular supplier and prints them out in one check. Currently it prints one check per invoice.
I have copied the above program and I ma trying to change the PERFROM CHECK subroutine. I am trying to simply add in a AT END OF reguh-lifnr statement, and I have added reguh-lifnr to the sort, but it treats all records in the extract as a new vendor, so it isn't working. I am also struggling with the LOOP. command, as I do not know what it is actually looping at, since I'm used to using LOOP AT itab...INTO..
Can someone please help.
‎2007 Oct 16 3:54 PM
I've managed to resolve this for anyone that is interested. The PERFROM SCHECK subroutine sorts the extract data by the AVIS field group which doesn't include lifnr. So I simply added the HEADER field group to the sort and now I can use AT END OF reguh-lifnr.
Happy days!
‎2007 Nov 01 4:07 PM
Hello,
We want to print all the checks with amounts > 25k first and then print all other check alphabetically. I am trying to understand Field Group AVIS in the program RFFOUS_C.
Can anyone please help me understand ? Can I use AVIs field group to sort the check printing?
Thanks for any Help in advance!