DMEE Configuration - Step by Step Details
DMEE Configuration - Step by Step Details
Community
SAP Community Products and Technology Enterprise Resource Planning ERP Blogs by Members
former_member191939
Active Contributor
06-26-2015 8:18 AM
140 Kudos
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
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 1/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
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
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 2/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 3/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Format : Z_IDES
Description : Z_IDES
Type : 01 File
Country : IN
Save!
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 4/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
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.
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.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 5/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 6/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Click on Change.
Here you need to give the format attributes for your DMEE output File.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 7/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
In Delimiter Section I have taken | but you can use comma,semi colon or anything.
Delimiter separates the items in DMEE file by the input provided by you.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 8/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Sort key Fileds controls the output of line in DMEE.It actually controls the levels of
DMEE.
Header data should appear only once, so a value like the payment run identifier (FPAYH-
LAUFD) is the same for the entire payment run and file created. Next level is usually the
single payment (FPAYH-LFDNR), so the DMEE creates a new line for every payment.
Alternatively and based on the requirements, this could be done also per vendor. Lowest
level is usually the invoice references, as you can group several vendor invoices in a
single payment.
After This Goto File Data where you need to tick on Carriage return and Line Feed.
The tick on Carriage return and Line feed is for creatin new line after the finish of Header
Part.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 9/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
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.
In Header Part you need to define the Level and the type of output you want..
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 10/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
The tick on Carriage return and Line feed is for creatin new line after the finish of Header
Part.
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.
Add the fields to Header and Details as per the requirement and then save.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 11/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Now will show step by step for every Header and payment Details configured here.
In Header Part I have made it Constant which you need to choose in Attributes tab of
DMEE.
Give name(as I have given Header),Give Length and choose character as shown in
Screen Shot Below.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 12/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Go to Source Tab and write what you want to get in the output as shown in screen shot
below.
Please select Structure Field(I have taken Structure Field because it can be fetched from
the Tables and Field,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).
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 13/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
You will find Field name,You can choose Field name according to your requirement.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 14/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
As I have copied the standard structure where Segment group and Elements were
already there but you can definitely create segment group,segment and elements
according to the requirement.
For this you can not use constant or structure field,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).
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)
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 15/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
I am giving the code as well which is done by ABAPER and it works according to NODE
ID.
CASE i_extension-node-node_id.
WHEN 'N_8559886880' .
IF l_item-fpayp-dmbtr LT 200000.
l_item-fpayh-formz = 'NEFT'.
o_value = l_item-fpayh-formz.
c_value = l_item-fpayh-formz.
ELSE.
l_item-fpayh-formz = 'RTGS'.
o_value = l_item-fpayh-formz.
c_value = l_item-fpayh-formz.
ENDIF.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 16/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Now click on Payee IFSC Code and Configure as given in the screen shot below.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 17/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
PS:Please maintain the IFSC code of Payee bank in Control Data Tab in SWIFT column in
House bank .
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 18/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Click on Receivers IFSC Code and configure as shown in Screen Shot Below.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 19/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 20/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
I have used Exit Module here as well and the coding is as follows:
Now in Vendor Master Data You need to maintain IFSC code in Reference Details Field
as shown in Screen Shot Below.
Now Click on Beneficiary Account No and configure as shown in Screen Shot Below.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 21/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Here also I have used Exit Module and the Coding is as follows:
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 22/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
l_item-fpayh-zbnkn = l_bankn.
o_value = l_item-fpayh-zbnkn.
c_value = l_item-fpayh-zbnkn.
Maintain bank account in vendor master in Bank account Column as Shown in Screen
Shot Below.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 23/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 24/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 25/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 26/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 27/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
Coding is as follows:
l_item-fpayh-INTAD = l_emailid.
o_value = l_item-fpayh-INTAD.
c_value = l_item-fpayh-INTAD.
WHEN OTHERS.
ENDCASE.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 28/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
a) Payment Methods in Country: Create Pymt. Method ‘E’ for country ‘IN’. Define the
Currency.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 29/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
b) Bank Determination: For Paying Company Code ‘1000’, select Ranking Order.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 30/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
c) Bank Accounts
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 31/67
3/10/24, 8:43 PM DMEE Configuration:Step By Step Part 1 - SAP Community
DMEE Configuration:Step By
Step Part 2
Please Follow the link for the same.
http://scn.sap.com/docs/DOC-65031
Any Suggestions or Critics will be highly appreciated as this will help me to Improve in
Future.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-1/ba-p/13276672 32/67
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
Community
SAP Community Products and Technology Enterprise Resource Planning ERP Blogs by Members
former_member191939
Active Contributor
06-29-2015 6:11 AM
57 Kudos
Hi All,
Please refer the below link for the DMEE Configuration:Step By Step Part 1.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 1/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 2/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 3/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
Then select Print Parameters and give the name of the printer.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 4/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
Then Save.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 5/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
Select
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 6/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 7/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
ID should End with 'E' and there should at least one space left.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 8/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 9/44
3/10/24, 8:45 PM DMEE Configuration:Step By Step Part 2 - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/dmee-configuration-step-by-step-part-2/ba-p/13278861 10/44