on 12-06-2011 6:56 AM
Dear All,
As per acquirement i have changed for SAP SCRIPT Z110_PRENUM_CHCK for cheque printing .
payment advice and cheque printing is working fine. i want if payment advice item >11 lines then it should be printed another page i.e form ZF110_IN_AVIS.
It is printing >11 lines and cheque in same page.
Please help on the this . Where i have write a code ? which include ?
Regards,
Parshuram
hi,
here you need to change the driver program name for your form
SPRO - > Fin. a/c'ing -> AR/AP -> Bus. trans. -> out going pymnt -> set up payment methods per company code for payment transaction... execute.. pmnt method type 'C'... double click... You will see a push button 'Pymt meth in ctry'. click that. Scroll down to payment medium. You can see the payment medium program. I believe you can change there.
Did you add your zreport name to the fm as shown below in prog RFFOUS_C line 247
AT SELECTION-SCREEN ON VALUE-REQUEST FOR PAR_STAP.
CALL FUNCTION 'F4_CHECK_LOT'
EXPORTING
I_XDYNP = 'X'
I_DYNP_PROGN = 'RFFOUS_C' " Did you change here from 'RFFOUS_C' to your Zreport name
I_DYNP_DYNNR = '1000'
I_DYNP_ZBUKR = 'ZW_ZBUKR-LOW'
I_DYNP_HBKID = 'SEL_HBKI-LOW'
I_DYNP_HKTID = 'SEL_HKTI-LOW'
IMPORTING
E_STAPL = PAR_STAP
EXCEPTIONS
OTHERS = 0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sir,
Thank you for replay.
Now my if lines is >10 then cheque showing 'As per Inexter ' it is correct as per my requirement.
i written code include INCLUDE zrffori01. it is working fine.
Payment also coming but there is not data in Payment advice. if Item lines >10 then it should show the payment advice with line item. there is include for payment advice i.e INCLUDE rffori06.
Please advice where i have to write code for Payment advice.
Regards,
Parshruam.
There is no need to modify the standard cheque print program RFFOUS_C. Ask your FI consultant to do the configuration as below:
1) Go to FBZP
2) Click Pmnt methods in company code
3) Select the payment method for cheque
4) Expand 'Form Data' and enter the cheque SAPScript at 'Form for Payment Medium', while payment advice SAPScript for 'Next form'
5) Expand 'Pty. adv.ctrl'
6) Under 'Note to payee lines on the form', select 'restricted to', then fill in '11' for the 'Rows'
7) Select 'Pymt adv. after ... lines' under 'Payment advice output according to no. of lines'
During payment run, ask your FI user to update print program variant to specify print payment advice.
The above will let u print:
A) Cheque with payment details if details is < 11
B) Cheque and a separate payment advice, when payment details is > 11
Hi,
you just copy the standard driver program RFFOUS_C.write your own include for printing line item data.add this include statement at the line 421in the program .this is enough to print the line item.if any queries feel free to ask.
Happy programming
Nareh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to ask your FI consultant to configure the Payment Advice Control for cheque payment method in company code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.