You are on page 1of 11

http://wiki.sdn.sap.com/wiki/display/SI/How+to+create+and+configure +DME+File http://sap.ittoolbox.com/groups/technical-functional/sap-acct/dme-inautomatic-payment-program-2243586 Q15: How will the bank know that it has to process the payment?

What is the file format for the bank? Does APP process have a step for the output file generation?
A: Formats for the bank you should as the bank yourself. SAP has lots of standard formats used worldwide and locally. You should only understand which ones to switch on. Based on my own experience, international banks work well with formats SWIFT MT101 or MT103. They are in the standard delivery of PMW (Payment Medium Workbench). Unfortunately, Russian banks a very self-conceited and only accept their own formats. One of the national standard (but not official) is format of 1C system, but standard SAP does not support it. That is why file extract for the bank-client system is a development in this case. Of course, file or printout for the bank is one of the results of APP work. You can generate them using the Print button on the instrument panel in APP.

Q16: Which format can we extract data from the system to send it to the bank?
A: It depends on the formats which bank accepts. SWIFT MT101 is very convenient and widespread. Some countries have their own requirements for the format. As a rule, they are already in SAP standard delivery. If you are on the cross-road and do not know what to start with, try to give SWIFT MT101 file to the bank as look at their reaction. You can also ask Treasury which format they use at present.

Q17: What do I need to do in APP settings to enable generation of file with information about outgoing payments?
A: There are 6 buttons in transaction FBZP which you should start with. One of them (Payment method for the country) has a choice ofclassical payment program or Payment Medium Workbench.

Next we set up a variant for classical program or set up PMW (also known as DMEE). You can find lots of customizing options for the extraction file in the IMG: Financial Accounting > AP/AR > Business Transactions > Outgoing Payments > Automatic Outgoing Payments. Exact list of nodes you need to go into depends on format you have chosen. IDOC is another option for the sending payments to the bank. Program RFFOEDI1 generates IDOCs and is always available in F110 on thePrint tab.

Q18: I have decided to use SWIFT MT101 format. Which settings are required in the system in this case? Do I need to make settings for each individual bank?
A: Format MT101 is defined by SWIFT which is international organisation. It should not be changed. In the meantime, there are some parameters (fields) values in which can be changed because of requirements of client or bank.

Q19: Bank asks different structure of field 59 in format SWIFT MT101 for domestic and international payments. How should I set it up?
A: Separate payment method is usually used for international payment. Different payment methods can have different variants in PMW.

Q20: How can I set up instruction key which defines who pays commission for the payment, payer or payee? This instruction key is used in field 71A of format SWIFT MT10. How can I assign the key to the bank or vendor?
A: IMG Node Financial Accounting (New) > Accounts Receivable and Accounts Payable > Business Transactions > Outgoing Payments > Automatic Outgoing Payments > Payment Media > Data Medium Exchange > Define Instruction Keys. You define instruction key for the payment method. Then, payment method is assigned to the vendor or invoice (see above). By the way, my own experience shows that banks are usually ignore this instruction and always charge payer with the commission.

Q21: How can I activate functionality State Central Bank indicator (SCB indicator), which is used in the field 77B of format SWIFT MT101?
A: IMG Node: Financial Accounting (New) > General Ledger Accounting (New) > Periodic Processing > Report > Foreign Trade Regulations > Enter Company Data for Foreign Trade Regulations Here we put the Company Code, i.e. activate SCB for it. Next IMG node allows us to create our own SCB indicators. When SCB indicator functionality is activated for the Company Code, Details tab of Invoice entry transaction (FB60) will have relevant fields: SCB ind and Suppl.Cntry. The condition: vendor should belong to the country different from country of Company Code. Play with these fields and see which information is taken to the field 77B. The rest is just a technical question.

Q22: Where do I set up output forms?


A: Output forms are defined in the payment methods. You can assign program/form or Payment Payment Medium Workbench (PMW) structure. There are tons of output forms ready to use. All the standard (including European) forms are supported. Print programs can be found using the RFFO* mask. List of PMW variants can be seen using the F4 key. You can create your own PMW forms in transaction DMEE. Please read PMW and DMEE documentation. Other than payment order itself, company may require to produce Payment Advice which informs vendor about the payment details. You can configure the form for Payment Advice in the Paying Company Code section of transaction FBZP.

Q23: Do I need to configure anything for format SWIFT MT101 in transaction DMEE? I do not see anything like this in PAYM tree. If I need to create my own format, which option to choose: flat file or XML message? How can I assign / activate my own new format?
A: Format SWIFT MT101 exists in standard PMW delivery. DMEE covers only few PMW formats. Fortunately, SWIFT MT101 requires only minimal configuration, and it is not done in DMEE. Have a look at: Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Outgoing Payments > Automatic Outgoing Payments> Payment Media > Make Settings for Payment Medium Formats from Payment Medium Workbench >

(Adjust Payment Medium Format). And also Create/Assign Selection Variants (OBPM4) in the same IMG node. If you need to create something very new, you can use DMEE for configuration and then assign newly created format to payment method in the same IMG node which I already mentioned. Type of the tree (xml / flat file) depends on the banks preferences and requirement.

Q24: I have run the Payment Program, posted the documents and planned the print phase. Where should I see the file in the format SWIFT MT101?
A: F110 Environment Payment Media

Q25: I need to print a document for vendor which informs him about payment details. Where can I configure it?
A: You can do this in transaction FBZP, sectionPaying Company Code. This is called Payment Advice. It is usual form. SAP has delivered form for IDES which can be adjusted with a little ABAP.

Q26: Company uses bank chains. What is this? Does APP support them?
A: Bank chains are usually used in international payments, and very rare in domestic payments. Generally speaking, banks can usually determine how to transfer money from payer to payee themselves. But if company wants to help the bank and speed up the process, bank chains can help. In short, here is the purpose of bank chains. If you want to transfer money from one bank to another, these banks should have accounts for each other (correspondence accounts). It means that banks put money into these accounts. When client of bank A pays client of bank B, then bank B increases the balance of the correspondence account and bank A reduces the balance. There is no physical money transfer unless the balances are negative. As soon as there are too many banks in the world, it is impossible to have correspondence accounts for each pair of the banks. There are some historical banks which carry out functions of intermediate banks. For example, Bank of New York (BONY). In this case banks A and B open correspondence accounts with BONY, but not with each other. When client of bank A transfers money to client of bank B, there are only movements on the correspondence accounts which link banks (A and BONY) and (BONY and B). Again, there is no physical money movement. BONY has no impact on its balance, but it

gets commissions from the transaction. If payer wants to specify bank chain, it has to let its own bank know that BONY is an intermediate bank, and sometimes correspondence accounts of bank A in BONY. There can be 2 intermediate banks in the worst scenario. SAP has very simple customising of bank chains. IMG Node: Financial Accounting (New) > Bank Accounting > Bank Chains. , Accounting Financial Accounting Banks Master Data Bank Chains. If bank chains are active, system will automatically find the necessary chain and put it into internal table of APP. These data will get into payment order.

Q27: What are the possible options to display Payment Proposal and list of items in Proposal?
A: Payment Proposal and list of items in it can be viewed in 2 variants: classical and ALV-grid. You can customize classical display in IMG. If you want to switch display to ALV-grid, you have to put parameter in user master record (transaction SU3). Parameter code is F110OALV. It may not work in new versions (6.0 and higher) where ALV-grid is set up as default.
=======

How can I configure the Data Medium Exchange for making payments? How can I link it to (F110) payment program & get the file MT100 to be sent to the bank? When configuring the payment methods for the country (transaction OBVCU), choose the payment medium program as RFFOM100. From se38, pls read the documentation for the program, which will give you the various options & the required config too. You would also need to configure the instructions keys as required. To generate the DME file, you have to run the automatic payment program with this payment method. After the payments have been successfully posted, you can go to DME administration and with the help of dme manager download files on your PC. SAP has determined that the standard print programs for automatic payments will no longer be supported, and will be replaced by transfer structures created by a tool called the DME Engine.

This tool enables the business to create DME output files without ABAP development, and can be attached to a print program and form for the creation of Payment Advices. Outside of the DME Engine (DMEE), the majority of the configuration takes place within the following IMG menu path: IMG Path: Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Media -> Make Settings for Payment Media Formats from Payment Medium Workbench Config Assign Selection Variants IMG -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Media -> Make Settings for Payment Medium Formats from Payment Medium Workbench -> Create / Assign Selection Variants or transaction OBPM4..select your format that you are using Check in FBZP config that all is linked! Although this is bitty but you need to work through it! Start with FBZP, create all there than go to DMEE either to create your own format or use the standard ones.. than go to the menu path above and work through from create to assign...
---------

DATA MEDIUM EXCHANGE The system uses the process PRE DME, DME to provide all the information our house bank needs to transfer the wage and salary payments to our employees. The system creates a DME file and the DME accompanying sheet. You can also print a payment summary that lists the individual payments. Process Flow 1. The Preliminary Program DME evaluates the entries in the Payment Information table (BT) in the payroll results for the employees, and creates a payment run which contains the payment data. 2. The Payment Medium Workbench (PMW) evaluates the payment data and creates a DME file, the DME accompanying sheet, and the payment summary. The DME file contains all payment information and corresponds to the format that is used by our bank. This Payment summary is sent to our Bank, so that the transfer can be made. CONFIGURATION PRELIMINARY PROGRAM FOR DME

Step 2: Define Sending Banks In this step, we set up the feature DTAKT Senders Account Number for Data Medium Exchange Feature to define the company code, the house bank, and the house bank account from which payments to employees and employee-specific payments to thirdparties should be effected. IMG->Payroll->Payroll India->Data Medium Exchange->Preliminary Programs for Data Medium Exchange-> Define Sending Banks CONFIGURATION PRELIMINARY PROGRAM FOR DME CONFIGURATION PRELIMINARY PROGRAM FOR DME Step 3: Check Text Keys for Payment Transactions In this we step, we assigned text key to the payment wage types. This text key is used to specify the payment procedure. When you print the payment medium, the system includes the text key in the coding line for the payment medium. When you create DME fields, the system copies the text key to the corresponding field in the DME file. IMG->Payroll->Payroll India->Data Medium Exchange->Preliminary Programs for Data Medium Exchange-> Check Text Keys for Payment Transactions
---------------

SAP has provided some of the DME structures for different countries. like GB_BACS for GB etc. If your client is not part of those structure, probably you are required to create your own structure. It also depends on the bank of your client. They may want the file in a different format. Therefore, you need to first talk to the bank and get a sample file in which they need the format. You can create the DME structure by using transaction code DMEE - Tree Type is PAYM. You can create the DME structure as a flat file or XML file based on the requirement of your client (bank). You can also copy the standard structure to Z structure and modify it according to your requirements. Please also make sure that you have made settings in OBPM1, OBPM2, OBPM3 and OBPM4 (More importantly you should maintain the path where it needs to be downloaded) Complete your FBZP settings - Importantly payment methods in country, select your DME structure. Take help of basis consultant in order to create the directories. You can see the directories in AL11.

If there are no directory path maintained in OBPM4, then the file gets saved to temporary directory in AL11.
======

f you are using DME structure, then forget the classic payment medium. 1. First ask the bank for the format, file type etc. Ask bank for any document available. 2. The see for that country if SAP has provided any standard DME structure (Transaction Code DMEE - Tree Type PAYM) 3. If this is not sufficient, then copy the standard DME strcutre and modify it accordingly to your requirement. 4. Assign this DME structure in FBZP - Payment Methods in country. * Use payment medium workbench 5. Check with your basis whether any secured folders are created in AL11 (where the output file needs to get generated) - If not ask them to create. 6.Check your settings in OBPM1 / OBPM2 / OBPM3 / OBPM4 - (In OBPM4 make sure you have given the secured folder path and file name for your variant) 7. Run F110 - Check you have maintained your variant details properly for program RFFOAVIS_FPAYM If you maintain all these steps correct, hope your DME file should get generated.
=========

How to create and configure DME File


{0}." type="hidden"{0}-{1} of {2} pages containing {3}." type="hidden" Added by Smita Gupta, last edited by Moshe Naveh on Oct 20, 2010 (view change)

Easy steps to create and configure DME File Table of Contents: 1) Introduction: Significance of DME Files 2) DME Tree structure 3) DME File Configuration Settings 4) Conclusion Introduction: DME stands for Data Medium Exchange A data medium exchange (DME) is a data exchange file which is used to send payment information of an enterprise to banks or tax authority. Basically these files contain

financial data which can be in flat file or xml file format. Different File formats can be created for different countries and different banks based on their own norm which replaces conventional ABAP programs. T-Code for DME files is:DMEE Main components of DME File are: - Header Data - Nodes - Data Mapping There are some standard DME file formats, which can be changed as per country or bank requirements. A complete new DME format can also be created if requirement is different from pre existing formats. Step by Step procedure to create DME file format : 1) Go to tcode DMEE.Provide tree type from available ones. 2) DME files can be generated in flat files or XML format. 3) Provide short description and documentation 4) DME tree can be divided into three components as shown below. 5) There are some fields which are available for DME file as shown below. 5a) Note to payee data 5b) System Fields like Date and Time DME tree Nodes creation procedure: Header Data: Following header information needs to be maintained in various tabs under header data:
Administrative Data: Provide administrative data in node first tab.

Format Attributes: Depending on the type of file format, you can specify other details: for flat files, you can enter delimiter information; for XML files, you can specify further processing (via exit module) for a file after its creation, by entering an XSLT program. Levels The number of levels defines the no of levels in a tree. This tab also defines the repetition level which tells how often a certain level may be output. If this number is exceeded, the corresponding level cannot be output anymore. If the limit is reached for the uppermost level in the format tree and additional data is to be processed, a second file is generated. If the limit is reached for lower levels, the preceding level is repeated so that data can continue to be output for this level. Sort Key Fields: File Data can be sorted based on given fields. File Data: This tab provides the file row separator and segment ending indicator. After creating a segment group, a segment will be created. A tree can have multiple segments as well multiple segments. Create a segment by right click as shown below:

Node Info: Provide node information for output Comment: This column is used to contain comments for nodes. Maximum three lines of comments per node, this tab is visible for all nodes except the header. Create Elements in Sub node as shown below: These elements can be of various types as shown in mapping procedures. 1) Constant: This type of element is used to contain constant value like 'DME' which is assigned in source tab as shown below: 5) This node contains structure types which can have system fields like date, time In source tab maintain the system field After header segment, Data segment is created as shown below. Data Node contains a new element which is of segment type. 6) Element can also have the results of function module as shown below. Mapping Procedure should be of Type Exit Module Specify the FM name in source tab as shown below. Create a footer segment for footer data of the file which again contain any no. of elements as shown below. 3. Configuration of DME File After creation of DME file, next step is to configure the DME file for automatic payment run which requires below steps: 1) Go to Tcode FBZP and select 'pmnt methods in country' 2) Here different payment methods can be defined for country as shown below:3) Now select specific payment method and double click on the same. Following screen will be displayed. In payment medium workbench, DME tree can be assigned in Format column as shown below: 4) Click on Format settings. 5) Click on DME Engine, DME tree will be displayed. Now DME tree format is being attached for a particular country and a particular payment method. To generate the DME file, you have to run the automatic payment program with this payment method. After the payments have been successfully posted, you can go to DME administration and with the help of DME manager download files on your PC. DME can be attached to a print program and form for the creation of Payment Advices. Whenever there is an automatic payment run for the country for a specific payment method. Conclusion:

DME engine provides different layouts and readymade way to create flat files or XML files for external systems. It provides speed and flexibility over conventional abap programs. Files can be modified based on country and regulations. The system can trigger the creation of a DME file from the payment program if, for example, you want to submit your vendor payments to your bank electronically. For this tree type, you use the PMW) to configure payment media.
==========

You might also like