SAP Program RFFODK_P - Domestic DME (Denmark) - Domestic Transfers/Collections (Postal Giro)


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

Description
The program creates data media for domestic payment transactions. Thesedata media satisfy the regulations of the BG bank in Denmark. Aseparate data medium is generated for bank transfers and bankcollection.
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.
In the case of payment recipients abroad it might be necessary toinform the central bank.
You should therefore maintain the state central bank indicator inCustomizing and assign the code that can be found in the Denmarknational bank brochure. Enter each code in the field "Payment reason 1"including a "-" after the code. The rest of the field as well as thefield "Payment reason 2" can be filled with text further explaining thecode.
Proceed
Enter the corresponding state central bank indicator during thecreation of the invoice. The code assigned is transferred to the datamedium. Items with a state central bank indicator must always be paidas individual payments. When posting the invoice, enter a paymentmethod intended for individual payments.

Maintaining parameters
To be able to mark clearly each transaction made via a post officecurrent account, a numeric key is formed from the company code andpayment doucment number which must be saved on the data mediumgenerated.
Since the company code ID in the system can be alphanumeric, you mustdefine a unique numeric flag in the Additional company code details
table:
Maintain a 4 character key for the SAPK05 parameter for each payingcompany code. To do this, select Environment -> Additional details
within the company code global data option.
Example
0001,,SAPK05,,0001
0002,,SAPK05,,0002
DK01,,SAPK05,,0003
DK02,,SAPK05,,0004
IF &DEVICE& EQ 'SCREEN'.
Proceed
ENDIF.
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 540 Accompanying sheet for credit memos
INLAND 560 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

Procedure for posting vendor invoices
The &T042Z-PROGN& report uses transactions 411, 630, and 910 offered bythe postal giro for creating bank transfers. If you require transaction410 instead of 411, you can enter "410" when maintaining a variant forthe hidden parameter P_TRTYP.
When using transaction type 910, the unique identification of therecipient specified on the postal order and their account number forposting the invoice is transferred to the item text. Only formcodes 04, 08, 15, 17, 71, and 75 are supported.
Item text example:
Text: "*>08<0000000000123455+04227700<"
A correctness check for the identification in the item text is notcarried out during posting. You should therefore make sure that thedigit sequence was transferred correctly. We strongly recommend thatyou create a validation for support purposes. There is an explanationof how to do this in note 152677.

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