on 10-01-2007 12:45 PM
Hi experts,
I am doing cheque printing using RFFOUS_C program. I have created zprogram for the same to do some customizations. I am getting the required data in my script,
In my sapscript I am displaying the line items which contains Bill No, Bill date, Bill Amount, TDS and Net Amount. And I am printing the Checque.
Now If for particular vendor if line items are exceeding more than 6 , then the remaining line items should go to next page. accordingly the cheque for these 2 pages should be generated . ie. for 1st 6 line items one cheque and for next line items one cheque and so on.
Please guide me to solve this issue..I am getting data in my internal table prn_data.
you want only 6 lines for particular vendor to do this place your condition in your main window....
Ex:
***IF vendor = 'XXXX'.
**IF counter EQ 6.
**NEW-PAGE.
**ENDIF.
**ENDIF.
rough example, try in this approach you can solve it...
regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
check your form main window
if you want to display it in two pages diffenatly the data in the main window should be more than its size
check how many lines are there in the table and the window size
Regards,
Phani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Set your Main Window height to 6 LN. It will fit only 6 line items and flow to next page. Your requirement will be met.
Reward if useful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
usually the functional consultant
will configure for this kind of situation...
if it is less than or equal to 6 line items
then one script will be called
if it is greater than 6 then another script will call
this is how we did....
the configuration of these scripts was done by the functional consultant
regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.