‎2006 Mar 16 6:12 AM
Hi,
I am upgrading to an ERP2004.While doing an EPC I am getting an error like this
Use addition CURRENCY when outputting W_DMBTR
Use auxiliary field when outputting with MESSAGE
When i navigate it takes me to the below code.
AT END OF zuonr.
IF w_dmbtr > 0.
w_dmbtr = 0.
MESSAGE
ID 'ZAR01'
TYPE 'I'
NUMBER 000
WITH text-030
lt_bsis_temp-zuonr
category
w_dmbtr.
Kindly tell me how do i rectify this..
Regards
Navaneeth.
‎2006 Mar 16 6:14 AM
replace w_dmbtr = 0 with
write '0' to w_dmbtr currency 'Currency type'.
‎2006 Mar 16 6:14 AM
replace w_dmbtr = 0 with
write '0' to w_dmbtr currency 'Currency type'.
‎2006 Mar 16 6:22 AM
Hi
I tried that but it stil shows the same error.
Thnx...
Navaneeth
‎2006 Mar 16 6:17 AM
WRITE w_dmbtr CURRENCY 'DEM' ROUND 3 DECIMALS 1.
define the currency in write statement
‎2006 Mar 16 6:30 AM
Hi,
the problem s actually in your MESSAGE statement. You cannot use a variable defined as a currency as one of your message variables. You need to move W_DMBTR to some other variable, defined as type C and use this value in your message output.
Regards,
Claus
‎2006 Mar 16 7:25 AM