Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFFOUS_C - cheque printing program

Former Member
0 Likes
494

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.

2 REPLIES 2
Read only

Former Member
0 Likes
396

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!

Read only

0 Likes
396

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!