Skip to Content
0
Sep 28, 2011 at 04:00 AM

Validating the particular value for a particular currency

15 Views

Hi Experts,

I am having custom infotype P9000 having module pool screen designing in that i want to validate a Anuual salary for a particular Currency.

For Ex1:If any user entering the input value for Annual salary as 8.766.687,00 and currency as 'HUF'.

But i want to take values as 8.766.687 in this format.

it should not to take as 8.766.687,00 this value and it should say the error message please enter the valid value .This is only for the Currency of 'HUF' only.

But in our senario user enters the value as 8.766.687,00 but it allowing to take values i dont want to allow that 8.766.687,00(comma and 00) i want to take values as 8.766.687

Different user enters different values so i need to restirict the values if they enter the values as 8.766.687,00 and i want to take the values as 8.766.687 in this format only for currency 'HUF' only.

How to build the logic for this sistuation.Please provide me sample code for this type.please help me. This is urgent issue for me.

My system format is '1.234.567,89'

Edited by: durgavenkatesh on Sep 28, 2011 6:01 AM

Edited by: durgavenkatesh on Sep 28, 2011 6:04 AM

<Urgency downgraded>

Edited by: Suhas Saha on Sep 28, 2011 10:24 AM