Show TOC Entering content frame

Object documentation Outgoing File Locate the document in its SAP Library structure


A data medium exchange (DME) file that you send – for instance, to your bank or tax authority – either as a flat file or in XML format. 


You model the external format file as a format tree in the DME Engine. The following application areas (tree types) in Financial Accounting can then use format trees to create an outgoing file:

·        Structure linkPayment Program (tree type PAYM)

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 Payment Medium Workbench (PMW) to configure payment media.

When you execute a payment run, the system triggers the generic payment medium program of the PMW for creating payment media. The PMW format uses the DMEE format tree to create the file to be sent to your bank. In this case, the system requires special configuration of the corresponding payment method.

·        Structure linkAdvance Return for Tax on Sales and Purchases (tree types UMS1, UMS2, and UMS3)

You run program RFUMSV00 to create an advance return for tax on sales/purchases for UMS1, and additionally program RFUVXX00 for UMS2 and UMS3. For further details, see UMS1, UMS2, and UMS3 Tree Types.  

·        Structure linkGeneric Withholding Tax Reporting (tree type WTRE)

You can use this program (RFIDYYWT) to prepare a withholding tax return as a DME file. Under Files, set the Create File indicator and specify a file name. You do not enter a format tree directly; rather, the system takes the information it needs from the process type and output group you specify.

·        Structure linkEC Sales List (tree type ASLD)

To create an EC sales list as a DME file, you need to run report RFASLD20 (and not the standard report RFASLM00). Under Output control, you specify the format tree to be used (in the DMEE tree type field), as well as the name the file is to be saved under.

·        Structure link1099-C Cancellation of Debt (tree type DEBT)

To create a DME file for 1099-C reporting for the United States, you run report RFIDUS99C. Under Output, specify format tree IDUS99C_1099C, as well as file information.  

From a technical view, the calling application carries out the following steps:


       1.      Selects data and fills the transfer structure

       2.      Calls DMEE modules with the data that has been selected

       3.      Obtains an internal table with data in format structure

       4.      Writes data to a file or to File/TemSe/... and, in the case of tree type PAYM, possibly updates DME administration

Creating Format Trees

To create a format tree for outgoing DME files, follow the standard procedure. Note, however, that a few of the steps contain information specific to outgoing files:

·        Defining header data

·        Creating nodes

·        Mapping data


Leaving content frame