Professional Documents
Culture Documents
Products
Products Industries
Industries Services and Support
Services Support Training
Training Community
Community Developer
Developer
Partner
Partner About
About
Ask a Question Write a Blog Post Login
Ranu Eugene
June 26, 2015 10 minute read
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 Con guration 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 le which is used to send payment information of an
enterprise to banks or tax authority. Basically these les contain nancial data which can be in at le or
xml le format. Di erent File formats can be created for di erent countries and di erent banks based on
their own norm which replaces conventional ABAP programs.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 1/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
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://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 2/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Format : Z_IDES
Description : Z_IDES
Type : 01 File
Country : IN
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.
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
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 3/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
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://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 4/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 5/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Click on Change.
Here you need to give the format attributes for your DMEE output File.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 6/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
In Delimiter Section I have taken | but you can use comma,semi colon or anything.
Sort key Fileds controls the output of line in DMEE.It actually controls the levels of DMEE.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 7/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Header data should appear only once, so a value like the payment run identi er (FPAYH-LAUFD) is the same
for the entire payment run and le 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 nish 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 XML format.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 8/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
In Header Part you need to de ne the Level and the type of output you want..
The tick on Carriage return and Line feed is for creatin new line after the nish 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 elds to Header and Details as per the requirement and then save.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 9/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Now will show step by step for every Header and payment Details con gured 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.
Go to Source Tab and write what you want to get in the output as shown in screen shot below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 10/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
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).
You will nd Field name,You can choose Field name according to your requirement.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 11/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
As I have copied the standard structure where Segment group and Elements were already there but you can
de nitely create segment group,segment and elements according to the requirement.
In my Con guration the rst is payment type(Means the payment is NEFT or RTGS)
For this you can not use constant or structure eld,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
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 12/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
and eld given and system populates the data in DMEE le through this Structure and Field)
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.
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.
Now click on Payee IFSC Code and Con gure as given in the screen shot below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 13/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
PS:Please maintain the IFSC code of Payee bank in Control Data Tab in SWIFT column in House bank .
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 14/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Click on Payee Bank Number and Con gure According to Screen Shot.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 15/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Click on Receivers IFSC Code and con gure as shown in Screen Shot Below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 16/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
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.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 17/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Now Click on Bene ciary Account No and con gure as shown in Screen Shot Below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 18/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Here also I have used Exit Module and the Coding is as follows:
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://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 19/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 20/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 21/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Click on Name of Payee(Vendor) and con gure as shown in Screen Shot Below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 22/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Click on Vendor Email Id and Con gure as shown in Screen Shot Below.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 23/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
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.
Click on User Mobile No(Vendor) and Con gure as shown in Screen Shot.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 24/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
a) Payment Methods in Country: Create Pymt. Method ‘E’ for country ‘IN’. De ne the Currency.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 25/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
b) Bank Determination: For Paying Company Code ‘1000’, select Ranking Order.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 26/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
c) Bank Accounts
Due to limitations of screenshots (Up to 20 in one Document) rest of the Con guration is in
http://scn.sap.com/docs/DOC-65031
Any Suggestions or Critics will be highly appreciated as this will help me to Improve in Future.
Regards
Eugene
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 27/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Alert Moderator
Assigned tags
FIN (Finance) |
Related Questions
Dmee tree format based on Company code level instead of Country level
By Former Member , Feb 21, 2018
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 28/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
58 Comments
Mahmoud Elnady
you may add a brief description of the DMEE process and what is used for in the beginning of the
document , this would be great..
Regards
Mahmoud El Nady
Like (0)
Thanks again.
Regards
Eugene
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 29/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
I know many of the consultants still struggling to know the details of PMW structure details. This would be
a good knowledge sharing for the SCN Finance Community.
Best Regards,
Ravi
Like (0)
Former Member
Like (0)
I know this is for posting a journal, but, this is based on the program. You could be easily able to correlate
the same.
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 30/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Your comment on my post means a lot to me and many of the consultants like me because you are
inspiration to many of them in the community.
Regards
Eugene
Like (0)
Former Member
Wow !!!!!!! This is being amazing. I have being waiting for this for a long time. Light at the end of the tunnel.
Like (0)
Regards
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 31/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Eugene
Like (0)
Mohammed Kalim
Regards,
Mohammed Kalim
Like (0)
Regards
Eugene
Like (0)
Former Member
Thank you for sharing knowledge. If is very useful to understand PMW and DME process for all the
countries.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 32/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Regards,
Prasad
Like (0)
Regards
Eugene
Like (0)
– Make sure to spell check the text and use the correct capitalization (“screenshot” is one word usually
written in lower case). Take a look at this document as an example of good professional formatting on SCN.
– It would be great if you could reduce the screenshots to show only the relevant part instead of the whole
screen. Especially the rst ones are very di cult to see clearly. You could use either Paint or Snagit for
that. But I understand that xing images in a blog is major pain on SCN.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 33/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
One additional comment – for the user functions SAP provides a template FM
DMEE_EXIT_TEMPLATE_ABA that needs to be copied because it has all the right parameters in it. There is
also documentation available for that function.
Like (0)
Thanks for you suggestion,I would de nitely try and implement in my next document.
Thanks a ton for pointing out about the FM template DMEE_EXIT_TEMPLATE_ABA which actually have missed in
my document but many thanks to you for pointing it out.
Regards
Eugene.
Like (0)
Former Member
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 34/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Regards
Eugene
Like (0)
Abhay Parekh
A very brief and awesome document… looking forward for more documents from you
Like (0)
Regards
Eugene
Like (0)
Rakesh Goenka
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 35/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Hi Ranu,
Regards
Rakesh
Like (0)
Regards
Eugene
Like (0)
Former Member
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 36/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Regards,
Eugene
Like (0)
Former Member
Like (0)
Regards
Eugene
Like (0)
Former Member
Regards
Murugan c
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 37/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Former Member
In case of Bene ciary Account number we FPAYH-ZBNKN,why do we need to provide the exit module ?
If there is a eld in the structure FPAYH or FPAYHX or FPAYP then why do we need to create a exit program for
the same.
As per my basic understanding these structure get eld from the REGUH or REGUP table at the time of
execution of F110.
Can you please explain the usage of Exit module with the example of FPAYH-ZBNKN (where exit is used) and
ZPAYH-ZNMEI where only structure is used.
Regards,
Sapan Agarwal
Like (0)
You are right that structures get the eld from REGUH or REGUP.
I did try with structure FPAYH-ZBNKN and I was getting the value as well but it was payee bank account number,I tried it
many times but of no use.After further analysis i found that FPAYH-ZBNKN and FPAYHX-UBKNT both are fetching the data
from house bank which is payee bank account number,this is the reason why I have used exit module.
Exit modules is used in DMEE to populate the data in DMEE le which are not present in standard structure
and eld in DMEE like I have done in FPAYH-ZBNKN(Bene ciary account number) and FPAYH-FORMZ for
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 38/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
payment type(means whether the payment is NEFT or RTGS) and structures are used where you can directly
populate the data in DMEE le by only giving Structure and Field in you DMEE structure.
Regards
Eugene
Like (0)
Like (0)
Former Member
Regards,
Raj
Like (0)
Regards
Eugene
Like (0)
Zubin SHAH
We have a lot of DMEE/PMW/SEPA questions on our discussion forums – hope you could help the
community by answering those too.
BR,
Zubin
Like (0)
Regards,
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 40/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Eugene
Like (0)
Former Member
Nice Document.
Regards,
Satya
Like (0)
Regards
Eugene
Like (0)
Former Member
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 41/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Thanks for the document which has good info Its very helpful to every one. Appreciate your e ort.
Regards,
Nisar
Like (0)
Regards
Eugene
Like (0)
Nice Document.
But I have a question. How do I make a speci c estruture with only 226 positions ? Because, when I make a copie using
DMEE PAYM – FEBRABAN_P my le has 240 positions.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 42/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Regards
Alexandre Folgado
Like (0)
Former Member
i would like to know if i reverse a nance doc in sap would it e ect on exchange rate? and if i want the
exchange rate values remain same not to change what should i do please help me.
Like (0)
Please click on the link given below and post your query there,you will get the reply for sure.
http://scn.sap.com/post!input.jspa?container=2102&containerType=14
Regards
Eugene
Like (0)
Former Member
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 43/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Like (0)
Linus PTS
Regards,
Sunil
Like (0)
Regards
Eugene
Like (0)
PD
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 44/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
In my system AUTOPLAN1 tree does not exist. So I am not able to copy. How can I proceed ?
Like (0)
Well I just checked in my system It is showing,If it is not showing in yours then kindly raise an OSS in
market Place.
Regards
Eugene
Like (0)
PD
My requirement is to have a custom bank format for bank direct debits. I have gone through help.sap.com
and they are proposing two option to achieve this. One through DMEE set up and other through exits. But I
am not getting how to code in exits EXIT_RFFOEXIT_100, EXIT_RFFOEXIT_101. If you have any sample to
share it would be great.
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 45/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
We are using DMEE trees to generate an XML le and we are facing an issue with one tag that contains 3
elds separated by blank spaces, for example:
We have read several OSS notes about this and tried di erent solutions but still the le will be written
deleting every space in between elds. We have even tried setting the tag as a constant but still it appears
without blanks in the le. The only workaround we have found so far is to use “non breakable spaces” (ascii
255) which maintain the elds correctly separated but, as they are not blanks, the le is not successfully
read.
José M.
Like (0)
Yash Yash
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 46/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
I used your documentation for Citibank everything work nes, but last values of record terminator does get
populate when le is generated. Below link for my issue, can you assist ?
B/R
Prashant Rane
Like (0)
RAHUL SURI
In my project , I am using a Z FM to update the eld in XML. This same eld need to be suppressed for
certain country and to be displayed as per FM logic for some country.
I tried using Condition and Status=2 for the eld but output is always as per the FM logic.
Any suggestion on how to achieve, DO I need to build the suppression logic in the FM? in that case will the
FM be able to control the output based on status set to 2 through code logic in FM? Please advise. Any
other suggestion on how to suppress blank elds as some banks reject the xml even if the eld is blank
Like (0)
Former Member
Regards,
Kripa
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 47/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Like (0)
Hope this document would help your colleagues and friends too.
Regards
Eugene
Like (0)
Arvind Pereira
Best Regards,
Like (0)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 48/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Regards
Eugene
Like (0)
Sebastian Lemke
very good documentation. Do you know if it is possible to create a tree without Header line, but with a
Trailer at the end? I need to count line items and amounts but it should only occur once at the end. Level 1
should be only the Trailer record.
Sebastian
Like (0)
Former Member
After de ning ls_item as the dmee_paym_if_type, then I could reference ls_item. Since the ABAP editor
wouldn’t directly let me reference i_item in the code.
ls_item = i_item.
l_lifnr = ls_item-fpayp-gpa2r.
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 49/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Like (0)
Rajesh Subramani
I Have a doubt. If we have maintained multiple email if for a vendor then how it will work.
Like (0)
Kapil Changrani
can you split the DMEE le based on number of records? We have a requirement to split the le after every
100 records, or we have to write a custom program for this kind of requirement?
Thanks,
Kapil
Like (0)
Prasanna s
Like (1)
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 50/51
30.06.2019 DMEE Configuration:Step By Step Part 1 | SAP Blogs
Sitemap Newsletter
https://blogs.sap.com/2015/06/26/dmee-configurationstep-by-step-part-1/ 51/51