Skip to Content
avatar image
Former Member

RFFOUS_T Payment advice printing

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 12, 2007 at 11:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2007 at 11:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.