Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Displaying Invoice value in BHD currency(3 Decimals) using SAP Script...

Hello,

The issue is in displaying Invoice value in BHD currency(3 Decimals) using SAP Script.

Now what i observed is as below -

If the data type of the varibale used for displaying Invoice value(In BHD) is  konv-kwert  then value is getting displayed correctly with 3 decimal.

Eg:250 value would be displayed as 250.000

In driver program the variable value at runtime is 2500.00 but the time SAP script element is called the variable value becomes as 250.000 and is then displayed correctly on output.

But,

If the data type of the varibale used for displaying Invoice value(In BHD) is    fplt-fakwr  then value is getting displayed wrongly with 2 decimal.

Eg:250 value would be displayed as 2500.00(wrong value in output)

In driver program the variable value  at runtime is 2500.00 but the time SAP script element is called the variable value remains as 2500.00 and is shown incorrectly on output.

So my question is how are the above two variable data types affecting/changing the value of variables in SAP script.

Note - Variable with data type  konv-kwert and fplt-fakwr are declared in driver program.

Also i don't see SET COUNTRY syntax affecting anything since only the data type declaration change is solving the issue.

Thanks in Advance!!!

Regards,

Vikas

Tags:
Not what you were looking for? View more on this topic or Ask a question