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
3) Set constant
4) Assign field Value
5) Define output value according to a schema
Payment Method D -> 02
Payment Method I -> 03
6) Count records on file
7) Total Paid Amount
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