SAP Program RFFOEDI1 - International Payment Medium - Payment Orders by EDI


------------------------------------------------------------------------
DEFINE &T042B-AFORN& = 'F110_IN_AVIS'
DEFINE &T042B-PDFAF& = 'F110_AVIS_INT'
DEFINE &T042E-WFORN& = ' '
DEFINE &T042E-ZFORN& = ' '
DEFINE &T042E-ANZPO& = '99'
DEFINE &T042E-XFOSP& = ' '
DEFINE &T042Z-PROGN& = 'RFFOEDI1'
DEFINE &T042Z-ZLSTN& = ' '
DEFINE &T042Z-TXTSL& = ' '
DEFINE &T042Z-XSCHK& = ' '
DEFINE &T042Z-XSWEC& = ' '
------------------------------------------------------------------------

Description
This program generates the Intermediate Documents (IDoc) for paymentorders made via EDI.
In addition to the payment media, you can output the related advicenotes, EDI accompanying sheets and payment summaries in a single programrun.
For a more detailed description of the entire functionality, seeEDI Outgoing Payment Orders.

Precondition
INCLUDE 'FI_RFFO_CUSTOMIZING_F110 ' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_CUSTOMIZING_T042B ' OBJECT DOKU ID TX PARAGRAPH N1
In addition to the payment advice form, you also define here theEDI accompanying sheet (F110_EDI_01 in the standardsystem).
Use Payment methods -> In country to set up a payment mediumprogram. This payment medium program should only be started if an IDoccommunication is temporarily not possible, or if errors occurred duringthe communication. For further information on what to do when there areerrors, see the RFFOEDI2 program documentation. Fordocumentation on the conventional payment medium programs, seeRFFOUS_T or RFFOD__U, forexample.
INCLUDE 'FI_RFFO_CUSTOMIZING_T042E ' OBJECT DOKU ID TX PARAGRAPH N1
Hinweis: the issuer details are used on the accompanying sheet andmust be filled out as follows:
Line 1,,Issuer name 1
Line 2,,Issuer name 2
Line 3,,Street/P.O.box
Line 4,,City
INCLUDE 'FI_RFFO_CUSTOMIZING_T015W ' OBJECT DOKU ID TX PARAGRAPH N1
DEFINE &T042E-WFORN& = 'F110_EDI_01'
INCLUDE 'FI_RFFO_CUSTOMIZING_T012D ' OBJECT DOKU ID TX PARAGRAPH N1
Define a partner number for each house bank that offers EDI. Choose Gototo maintain the partner profiles and the payment methods allowed for EDIfor each house bank.
INCLUDE 'FI_RFFO_CUSTOMIZING_T015L ' OBJECT DOKU ID TX PARAGRAPH N1
RESET N1
INCLUDE 'FI_RFFO_SAPSCRIPT_LAYOUT_SET' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_SAPSCRIPT_SYMBOLS ' OBJECT DOKU ID TX PARAGRAPH N1
Hinweis: the check totals in the edi accompanying sheet can be issuedvia structure E1IDRS1.
INCLUDE 'FI_RFFO_SAPSCRIPT_ADVICE ' OBJECT DOKU ID TX PARAGRAPH N1
EDI accompanying sheet layout (&T042E-WFORN& in the standardsystem).
Pages
FIRST EDI accompanying sheet
LAST form summary section per house bank
Windows and elements
MAIN 530 upper section of accompanying sheet
MAIN 531 total per currency
MAIN 532 lower section of sheet
SUMMARY 520 form summary section
INCLUDE 'FI_RFFO_SAPSCRIPT_MAINTAIN ' OBJECT DOKU ID TX PARAGRAPH AS
RESET N1
INCLUDE 'FI_PMW_ADVICE_CUSTOMIZING ' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_PAYMENT_RUN ' OBJECT DOKU ID TX PARAGRAPH U2

Output
INCLUDE 'FI_RFFO_OUTPUT_SPOOL ' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_OUTPUT_IDOC ' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_OUTPUT_ERRORMESSAGES' OBJECT DOKU ID TX PARAGRAPH U2
Payment orders that cannot be issued by EDI due to any errors that haveoccurred are listed in the error log and marked as defective. You thenhave two options:
Send the payment orders in question to the bank using a conventionalpayment medium, which is created by the program specified for thispurpose in the country-specific configuration screen for this paymentmethod.
Solve the problem described in the long text in the log and then changethe status of the payment from 'Transmission error' to 'Not yettransmitted', which enables you to restart the EDI transmission process.
IF &DEVICE& EQ 'SCREEN'
Proceed
ENDIF.
RESET N1

548681RFFOEDI1:Bank account number is displayed incorrectly
587069Payment with IBAN via In-House Cash Center
580321RFFOEDI1: BTE process 00002441 (Change IDoc)
429543Long account numbers and IBAN are truncated
540032IHC: Transferring payment reference (KIDNO) in PAYEXT-IDoc
403332IBAN: Use in payment media
101440Payment medium formats
504230RFFOEDI1: Documentation for IDoc IDCREF01 (EUPEXR)
480742RFFOEDI1: Long house bank account number missing in IDoc
210668Poor performance for payment medium print programs