You are on page 1of 40

DMEE Configuration:Step By Step Part 1

Hi All,
This is my First Document in the Forum and hope this will be helpful for all.
I have searched in Forum but I did not get any Document on DMEE where Step By Step Configuration is
Given.
Any Suggestion and Critics are always Welcome as this will help me to improve.
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.

DMEE Configuration:Step By Step.
Create Payment Medium Formats (OBPM1) 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 Payment Medium Formats

Generated by Jive on 2015-07-10+02:00
1

DMEE Configuration:Step By Step Part 1

Select New Entries

Generated by Jive on 2015-07-10+02:00
2

DMEE Configuration:Step By Step Part 1

Format
Description
Payment medium without docs.
Type
Country
Mapping using DME engine
Company Code
House Bank

: Z_IDES
: Z_IDES
: Select
: 01 File
: IN
: Select
: Select
: Select

Save!
Create a new format with the same name as your DMEE format tree. Choose the format output Payment
medium without docs., and type File. Under Program control, set the Mapping using DME engine indicator.
Once this indicator is set, the DME engine button appears, which allows you to access the DMEE format tree
directly.

Generated by Jive on 2015-07-10+02:00
3

DMEE Configuration:Step By Step Part 1

Under Format information, specify your country. You can also write documentation for your PMW format by
choosing the field help for the Documentation module field. From there, choose Proceed, and a document
maintenance screen appears. Select document class General text, enter a name for the text, and create the
documentation. Lastly, enter the name of this text in the PMW format in the Documentation module field.
DME Engine: Initial Screen (DMEE):

Generated by Jive on 2015-07-10+02:00
4

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 5 .

Generated by Jive on 2015-07-10+02:00 6 .DMEE Configuration:Step By Step Part 1 Select Active Version and press Copy.

Click on DMEE tree:Properties Here you need to give the format attributes for your DMEE output File. Please see the screen shot Below.DMEE Configuration:Step By Step Part 1 Click on Change. Generated by Jive on 2015-07-10+02:00 7 .

DMEE Configuration:Step By Step Part 1 In the Field type you have two options 1 or 2 Generated by Jive on 2015-07-10+02:00 8 .

Header data should appear only once.Fields are separated by Delimiter. so the DMEE creates a new line for every payment. Alternatively and based on the requirements. Sort key Fileds controls the output of line in DMEE. The tick on Carriage return and Line feed is for creatin new line after the finish of Header Part.It actually controls the levels of DMEE. In Delimiter Section I have taken | but you can use comma. After This Goto File Data where you need to tick on Carriage return and Line Feed. as you can group several vendor invoices in a single payment. Delimiter separates the items in DMEE file by the input provided by you. After this click on Sort/Key Fields. Lowest level is usually the invoice references. Please see the Screen Shot below. so a value like the payment run identifier (FPAYH-LAUFD) is the same for the entire payment run and file created. this could be done also per vendor.DMEE Configuration:Step By Step Part 1 I have taken 1. Next level is usually the single payment (FPAYH-LFDNR). Generated by Jive on 2015-07-10+02:00 9 .semi colon or anything.

. Please refer Screen Shot Given Below. In Header Part you need to define the Level and the type of output you want.DMEE Configuration:Step By Step Part 1 Carriage Return is used for creating new line in word or PDF formart and Line Feed is used for creating new line in XML format. Generated by Jive on 2015-07-10+02:00 10 . Screen shot is attached for the same.

DMEE Configuration:Step By Step Part 1 The tick on Carriage return and Line feed is for creatin new line after the finish of Header Part. Add the fields to Header and Details as per the requirement and then save. Carriage Return is used for creating new line in word or PDF formart and Line Feed is used for creating new line in txt Format. Generated by Jive on 2015-07-10+02:00 11 .

P.Give Length and choose character as shown in Screen Shot Below. 1.S:Requirement may vary according to Client and Bank. Give name(as I have given Header).DMEE Configuration:Step By Step Part 1 Now will show step by step for every Header and payment Details configured here. Generated by Jive on 2015-07-10+02:00 12 . In Header Part I have made it Constant which you need to choose in Attributes tab of DMEE.

DMEE Configuration:Step By Step Part 1 Go to Source Tab and write what you want to get in the output as shown in screen shot below.Length and Type. Please select Structure Field(I have taken Structure Field because it can be fetched from the Tables and Field. Give Name.This is nothing but the paying Co code.Some data are there which you can fetch from tables so either you have to make it constant or you have to use Exit Module). The Next is Corporate ID. Generated by Jive on 2015-07-10+02:00 13 .

You will find Field name.You can choose Field name according to your requirement. Generated by Jive on 2015-07-10+02:00 14 . Here I have taken FPAYH-ZBUKR as shown in screen shot below.DMEE Configuration:Step By Step Part 1 Click on Source Tab.

As I have copied the standard structure where Segment group and Elements were already there but you can definitely create segment group.here you need to use Exit Module and you need the help of ABAPER to write a logic(The logic here is that if the amount is less than or equal to rs 200000 then NEFT else RTGS).segment and elements according to the requirement. Now click on the Source Tab and one need to provide structure and Field name(though we are using Exit Module but we need to provide Structure and Field name so that the data can be populated in the Structure and field given and system populates the data in DMEE file through this Structure and Field) I have Used FPAYH-FORMZ. In my Configuration the first is payment type(Means the payment is NEFT or RTGS) For this you can not use constant or structure field..DMEE Configuration:Step By Step Part 1 Now We will configure the payment details. Please refer the screen shot Below. Generated by Jive on 2015-07-10+02:00 15 .

ELSE. The Coding is as follows: CASE i_extension-node-node_id. o_value = l_item-fpayh-formz. l_item-fpayh-formz = 'RTGS'. I am giving the code as well which is done by ABAPER and it works according to NODE ID. c_value = l_item-fpayh-formz.DMEE Configuration:Step By Step Part 1 The Exit Function  “ZDMEE_EXIT_TEMPLATE_ABA” is done by ABAPER and you need to assign this Exit Function as shown in Screen Shot Above. l_item-fpayh-formz = 'NEFT'. IF l_item-fpayp-dmbtr LT 200000. WHEN 'N_8559886880' . Generated by Jive on 2015-07-10+02:00 16 . o_value = l_item-fpayh-formz.

Generated by Jive on 2015-07-10+02:00 17 . Now click on Payee IFSC Code and Configure as given in the screen shot below.DMEE Configuration:Step By Step Part 1 c_value = l_item-fpayh-formz. ENDIF.

Click on Payee Bank Number and Configure According to Screen Shot.DMEE Configuration:Step By Step Part 1 PS:Please maintain the IFSC code of Payee bank in Control Data Tab in SWIFT column in House bank . Generated by Jive on 2015-07-10+02:00 18 .

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 19 .

Generated by Jive on 2015-07-10+02:00 20 .DMEE Configuration:Step By Step Part 1 Click on Receivers IFSC Code and configure as shown in Screen Shot Below.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 21 .

SELECT SINGLE bkref FROM lfbk INTO l_bkref WHERE lifnr = l_lifnr. "ifsc code CLEAR: l_lifnr.DMEE Configuration:Step By Step Part 1 I have used Exit Module here as well and the coding is as follows: WHEN 'N_9336226660' . l_lifnr = l_item-fpayp-gpa2r. l_item-fpayh-bkref = l_bkref . " L_ITEM-FPAYH-EIKTO. o_value = l_item-fpayh-bkref. c_value = l_item-fpayh-bkref. " L_BKREF. Generated by Jive on 2015-07-10+02:00 22 .l_bkref. Now in Vendor Master Data You need to maintain IFSC code in Reference Details Field as shown in Screen Shot Below.

DMEE Configuration:Step By Step Part 1 Now Click on Beneficiary Account No and configure as shown in Screen Shot Below. Generated by Jive on 2015-07-10+02:00 23 .

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 24 .

DMEE Configuration:Step By Step Part 1 Here also I have used Exit Module and the Coding is as follows: WHEN 'N_3908411670'. c_value = l_item-fpayh-zbnkn. l_item-fpayh-zbnkn = l_bankn.l_bankn. Maintain bank account in vendor master in Bank account Column as Shown in Screen Shot Below. l_lifnr = l_item-fpayp-gpa2r. Generated by Jive on 2015-07-10+02:00 25 . "account no CLEAR: l_lifnr. o_value = l_item-fpayh-zbnkn. SELECT SINGLE bankn FROM lfbk INTO l_bankn WHERE lifnr = l_lifnr ." L_ITEM-FPAYH-EIKTO.

Generated by Jive on 2015-07-10+02:00 26 .DMEE Configuration:Step By Step Part 1 Now Click on Transaction Currency and configure as shown below.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 27 .

Generated by Jive on 2015-07-10+02:00 28 .DMEE Configuration:Step By Step Part 1 Now Click on Amount and configure as Shown in Screen Shot.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 29 .

Generated by Jive on 2015-07-10+02:00 30 .DMEE Configuration:Step By Step Part 1 Click on Name of Payee(Vendor) and configure as shown in Screen Shot Below.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 31 .

Generated by Jive on 2015-07-10+02:00 32 .DMEE Configuration:Step By Step Part 1 Click on Vendor Email Id and Configure as shown in Screen Shot Below.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 33 .

l_item-fpayh-INTAD = l_emailid.l_adrnr.l_emailid.DMEE Configuration:Step By Step Part 1 Here also I have used Exit Module. o_value = l_item-fpayh-INTAD. Generated by Jive on 2015-07-10+02:00 34 . SELECT SINGLE smtp_addr FROM adr6 INTO l_emailid WHERE ADDRNUMBER = l_adrnr. SELECT SINGLE adrnr FROM lfa1 INTO l_adrnr WHERE lifnr = l_lifnr . " Vendor Email ID CLEAR: l_lifnr. Coding is as follows: WHEN 'N_9785488450'. l_lifnr = l_item-fpayp-gpa2r. IF sy-subrc IS INITIAL. ENDIF.

WHEN OTHERS. ENDCASE.DMEE Configuration:Step By Step Part 1 c_value = l_item-fpayh-INTAD. Click on User Mobile No(Vendor) and Configure as shown in Screen Shot. Generated by Jive on 2015-07-10+02:00 35 .

Method ‘E’ for country ‘IN’. Generated by Jive on 2015-07-10+02:00 36 .DMEE Configuration:Step By Step Part 1 Settings in Bank Customization (FBZP): a) Payment Methods in Country: Create Pymt. Define the Currency.

b) Bank Determination: For Paying Company Code ‘1000’.Put Z_IDES in Format Column. select Ranking Order.DMEE Configuration:Step By Step Part 1 In Payment Medium. Generated by Jive on 2015-07-10+02:00 37 .

DMEE Configuration:Step By Step Part 1 Create New Entries for "E" c) Bank Accounts Generated by Jive on 2015-07-10+02:00 38 .

Any Suggestions or Critics will be highly appreciated as this will help me to Improve in Future.DMEE Configuration:Step By Step Part 1 Create Bank Account for 1000.sap.com/docs/DOC-65031 Hope this will be helpful for all. Regards Eugene Generated by Jive on 2015-07-10+02:00 39 . http://scn. Due to limitations of screenshots (Up to 20 in one Document) rest of the Configuration is in DMEE Configuration:Step By Step Part 2 Please Follow the link for the same.

DMEE Configuration:Step By Step Part 1 Generated by Jive on 2015-07-10+02:00 40 .