DMEE Currency amount conversion not working
I have been trying to get the currency conversion function in DMEE to work and I cannot get what I want.
Here is what I want: right justified two decimal places (with decimal) total length 11.
So if my data is 100, I expect: 100.00
I am just using the DMEE test facility. If I put in 100, I get this:
Is this just a fluke of the DMEE test, or when I actually run this in the PMW, am I gonna get the results I expect?
Does this have something to do with providing a CUKY?
Length = 11
Type = P Currency Amount
Conv Function = AR.2 (but I have tried many more).
Source = FPAYH-RWBTR
EA-FINSERV 110 0006 SAPKGPFA06 SAP R/3 Enterprise Financial Services
EA-GLTRADE 110 0006 SAPKGPGA06 SAP R/3 Enterprise Global Trade
EA-HR 110 0010 SAPKGPHA10 SAP R/3 Enterprise HR Extension
EA-PS 110 0006 SAPKGPPA06 SAP R/3 Enterprise Public Services
EA-RETAIL 110 0006 SAPKGPRA06 SAP R/3 Enterprise Retail
DIMP 471 0009 SAPKIPME09 DIMP 471 : Add-On Supplement
ST-A/PI 01K_R3_470 0000 - Application Servicetools for R/3 470
Thanks for your help!
Ravinagh Boni replied
FPAYP-WRBTR is an amount field, which needs to be associated to a currency (in the DDIC definition of FPAYP you can see that it is associated with FPAYP-WAERS). Without an association to a currency, the system doesn't know how to interpret this amount.
Therefore to get a correct formatting of a value in FPAYP-WRBTR, you will also need to fill the FPAYP-WAERS. Please include this field also in your DMEE tree. When you test the tree and enter the amount you should get the correct output.
In the real payment run, the fields will be populated by the application So, even though the currency does not appear as an element in the tree, you will still get the correct formatting of the corresponding amount.
I hope this helps.