cancel
Showing results for 
Search instead for 
Did you mean: 

Currency Field Validation

Former Member
0 Kudos

Hi Friends,

I need to validate Currency Fields coming from a text file before uploading using BDC,user will be given 2 options for format i.e 123,456.00 or 123.456,00 ,based on the selection the currency should be validated,If anybody has done this before or if there is any function module ,please let me know.

Thanks in Advance,

Sandeep

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can define one variable with type any existing currency field.Then next do like this

WRITE your currency field TO new variable.

Next at the time of BDC you can use this variable.

Cheers,

Bujji

sbhutani1
Contributor
0 Kudos

Hi sandeep,

You can take two variables of two different curreccy type and just pass the value of currency to one of the variable as per the user input SAP converts the amount to that currency automatically and then just pass that variable to your bdc.

Regards

Sumit Bhutani

Ps reward pts if helpful