Remove Unwanted characters from PMW files or DMEE tree | SAP FI
In this post, we will discuss on how to restrict characters in DME tree or in PMW File in SAP FI Banking.
PMW File is a bank instruction file generated based on DME tree. It contains information of all the transactions we have made in SAP and helps the bank to perform a similar transaction in real work between our bank and our business partners bank.
We received a request from our bank stating that we should include only the following characters in our PMW file or DMEE tree. Which means any characters other than these will lead to payment failure at the bank portal.
Bank can process only the following characters:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
( ) + – ? / & . ‘ :
How to restrict PMW file or DMEE tree for these characters in SAP?
- Maintain these characters under DMEE tree->header (there is a tab file data) in character definition.
- Go To Transaction: DMEE or DMEEX, and enter the DMEE tree details.
Next, go to “DMEE Tree: Properties” node and then to “Fiel Data” tab as shown in the below screenshot.
- Go To Transaction: DMEE or DMEEX, and enter the DMEE tree details.
- Maintain all the characters which are allowed under the text field “Charact” and then select the radio button “Allow Only these Charact.” option.
With this step, we have defined the characters which are allowed in the DME. Now we have to activate the Functions at each text field level, where we want to put restrictions - Finally, activate the function which will take care of characters. And to do so, select the tree node and then click on the “Conversion Function” and select the “Exclude/allow defined character”.
Next, Save, activate and exit. We are done now. we have restricted the PMW file for the allowed characters.