Quantcast
Channel: SCN : Document List - SAP ERP Financials
Viewing all articles
Browse latest Browse all 366

DME Tips & Tricks

$
0
0

Document Description

 

This is a document with tips for PMW file format configuration (DME).

If you are looking for PMW Configuration, please take a look at

 

DMEE Configuration:Step By Step Part 1

sapnote 1788223  - Attachments - EN_Create_the_new_DMEE_format.pdf

Scenario 1

 

Create a flat file with the following structure:

 

Header

      Payment Document

            Invoice

            Invoice

            ........

      Payment Document

      .........

Trailer

 

The file has the following definition:

 

- Header: 01 ; Payment Document: 02: Invoice: 03 ; Trailer: 09

- File is has a fixed structure, no separator character

- The DME separates payment documents according to House Bank

- Payment Method has different values defined by the Bank

- Trailer Section has a control on payments done by Total Records & Amount paid

 

The file format generated with DME is attached in the following document for analysis purpose

 

Solution

 

1) Get Payment information

2) Set levels of record type

3) Set Constants

4) Assign field values

5) Define output value according to a schema

6) Count records on file

7) Total Paid Amount

8) Create technical node

9) Create Composite node

10) Export / Import DME file

11) DME debug

 

1) Get payment information

 

Run Payment Program and execute FM

 

          fi_regu2fpay              Completes tables FPAYH, FPAYP

          fi_paym_fill_fpayhx    Completes table  FPAYHX

 

With the information obtained from Payment Run (tables REGUH, REGUP), fill parameters in the function modules described above and identify the data your need.

 

The file is generated with trx FBPM

 

 

2) Set levels of record types

 

trx DMEE

 

09-09-2016 12-30-11 p.m..png

 

09-09-2016 12-32-25 p.m..png

 

09-09-2016 12-32-39 p.m..png

 

09-09-2016 12-32-55 p.m..png

 

09-09-2016 12-33-15 p.m..png          09-09-2016 12-33-26 p.m..png

 

3) Set constant

 

 

09-09-2016 12-39-57 p.m..png

 

09-09-2016 12-40-11 p.m..png

 

4) Assign field Value

 

09-09-2016 12-41-38 p.m..png

 

09-09-2016 12-41-53 p.m..png

 

5) Define output value according to a schema

 

Payment Method D -> 02

Payment Method I  -> 03

09-09-2016 12-46-32 p.m..png

 

09-09-2016 12-46-52 p.m..png

 

09-09-2016 12-47-13 p.m..png

 

09-09-2016 12-47-21 p.m..png

 

09-09-2016 12-47-37 p.m..png

 

6) Count records on file

 

09-09-2016 02-00-00 p.m..png

 

09-09-2016 02-00-12 p.m..png

 

7) Total Paid Amount

 

09-09-2016 02-03-21 p.m..png

 

09-09-2016 02-03-46 p.m..png

 

09-09-2016 02-04-02 p.m..png

 

8) Create Technical node

 

A technical Node does not send element into the file

It used for temporary calculations or data

 

9) Create Composite node

 

It's logical division in the DME structure used to group different fields

 

10) Export / Import DME File

 

Export / Import DME structure to another system. You can also edit the DME file to change language.

DME structures cna only be maintained in original language

 

11) DME Debug

 

trx DMEE_DEBUG

 

Setup a break in DME Element to debug PMW

 

09-09-2016 02-21-58 p.m..png

 

09-09-2016 02-22-20 p.m..png

 

 

09-09-2016 02-22-33 p.m..png


Viewing all articles
Browse latest Browse all 366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>