Programme SAP RFFODK_B - Domestic DME (Denmark) - Domestic Bank Transfers and Collections (PBS)


------------------------------------------------------------------------
DEFINE &T042B-AFORN& = ' '
DEFINE &T042E-WFORN& = 'F110_DK_DTA'
DEFINE &T042E-ZFORN& = ' '
DEFINE &T042E-ANZPO& = ' '
DEFINE &T042E-XFOSP& = 'X'
DEFINE &T042Z-PROGN& = 'RFFODK_B'
DEFINE &T042Z-ZLSTN& = 'LIST3S'
DEFINE &T042Z-TXTSL& = ' '
DEFINE &T042Z-XSCHK& = ' '
DEFINE &T042Z-XSWEC& = ' '
-----------------------------------------------------------------------

Description
The program creates data media for domestic payment transactions viaPengeinstitutternes Betalingssystemer (PBS Basis Service)
in Denmark. A separate data medium is generated for bank transfers andbank collection.
In addition to the payment media, the respective data mediumaccompanying sheets and payment summaries can also be printed in aprogram run.

Precondition
INCLUDE 'FI_RFFO_CUSTOMIZING_F110 ' OBJECT DOKU ID TX PARAGRAPH U2
As long as you want to use both bank transfers and bank collection, youshould create two payment methods and configure them according to thefollowing description.
INCLUDE 'FI_RFFO_CUSTOMIZING_T042B ' OBJECT DOKU ID TX PARAGRAPH N1
INCLUDE 'FI_RFFO_CUSTOMIZING_T042Z ' OBJECT DOKU ID TX PARAGRAPH N1
INCLUDE 'FI_RFFO_CUSTOMIZING_T042E ' OBJECT DOKU ID TX PARAGRAPH N1
Note: you should fill out the issuer details as follows:
Line 1,,Name 1 of the issuer
Line 2,,Name 2 of the issuer
Line 3,,free
Line 4,,City.

Maintaining parameters
You need to maintain the following parameters for each paying companycode in the Additional company code details table:
SAPK01:,,8 character SE number of the data medium sender
SAPK02:,,8 character PBS number of the sender for bank collection
SAPK03:,,5 character customer group number for bank collection
SAPK04:,,8 character PBS number of the sender for bank transfers
To do this, select Environment->Additional details within thecompany code global data option.
IF &DEVICE& EQ 'SCREEN'.
Proceed
ENDIF.

Maintaining master data
To be able to carry out bank transfers or bank collection via PBS, thesystem needs to know the PBS number of every customer/vendor. To dothis, you need to make the following entry for your customer's/vendor'spayment transactions:
Bank country:,,,,"DK"
Bank key:,,"9999"
Bank account number:,,,,PBS number of the customer/vendor
Maintain the bank data for bank key "9999" accordingly for PBS.
To be able to carry out bank transfers to a payee's checking account,the system needs to know the checking account number of every customer/vendor. To do this, you need to make the following entry for yourcustomer's/vendor's payment transactions:
Bank country:,,,,"DK"
Bank key:,,"1199"
Bank account number:,,,,checking account number of the customer/vendor
Maintain the bank data for bank key "1199" accordingly for the checkingaccount bank.
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
Layout of the data medium accompanying sheet (&T042E-WFORN& inthe standard system)
Pages
DTA Accompanying sheet
LAST Form summary section page per house bank
Windows and elements
INLAND 550 Accompanying sheet for credit memos
INLAND 570 Accompanying sheet for debit memos
SUMMARY 520 Form summary section
INCLUDE 'FI_RFFO_SAPSCRIPT_MAINTAIN ' OBJECT DOKU ID TX PARAGRAPH AS
RESET N1
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_DME ' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FI_RFFO_OUTPUT_DME_FILE ' OBJECT DOKU ID TX PARAGRAPH U3
INCLUDE 'FI_RFFO_OUTPUT_DME_TEMSE ' OBJECT DOKU ID TX PARAGRAPH U3
INCLUDE 'FI_RFFO_OUTPUT_ERRORMESSAGES' OBJECT DOKU ID TX PARAGRAPH U2

101440Payment medium formats