on 04-12-2007 11:27 AM
Hi,
I needed to change the output of the payment advice form, so I copied the standard sap program RFFOUS_T in my custom copy ZRFFOUS_T, but when I execute the code using the run date and ID I am getting an info message popup with the message "Payment method(s) are not allowed for this program" , but the same input data (run date and Id ) works fine in the sap standard program RFFOUS_T. can any body tell me how to solve this issue.
Regards
Narendiran Rathinavelu
check FBZP settings for the Payment method and company code.
<b>then u have to debug the program from which point it is raising pop up message.</b>
Regards
Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for replying to my query, I am aware of the customization in fbzp but , in my case I m <b>not</b> using the F110 transaction to print the payment advice through the RFFOUS_T program. For testing purposed i have copied the RFFOUS_T into Z program , and giving the run date and ID in the selection screen of the Zprogram itself.
above mentioned procedure works fine for the standard RFFOUS_T program, but it doesn't work for the Z program.
Please share any inputs that you may have on this.
Regards
Narendiran Rathinavelu
Debugging might give some clues. I am guessing that the report name might also be contributing to this. RFFOUS_T. Instead of renaming to ZRFFOUS_T try renaming it to ZFFOUS_T and run the program again. or try passing the original program name to a report name variable as RFFOUS_T instead of the Z.. one.
Eg: In Include RFFORI99
Prüfung, ob Report für diesen Zahlweg zugelassen ist -----------------
check that report is valid for this payment method -------------------
if flg_avis eq 0. "all reports except RFFOAVIS
if reguh-rzawe eq space.
reject.
endif.
clear tab_t042z.
read table tab_t042z with key land1 = t001-land1
zlsch = reguh-rzawe.
scroll further down and you can try replacing some of the variables with values from the debug of the actual payment program. Run both standard program and your Z version in parallel and see where you will need to substitute the variables which might be causing this behavior.
Please try this option.
Hi
have u assigned that Z program to backend i.e SPRO
Pls check and revert back
reward with points if helpful.
Thanks & Regards
Santosh Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.