Skip to Content

Parmeter type number

Hi experts,

I created a Crystal report using several parameters. One of them is type "number". In Crystal reports I can enter numbers with decimals like 2.5. When running the same report from SAP B1 the system says that 2.5 is an invalid number - SAP B1 allows me only to enter full numbers like 2.

How do I have to set up the parameter in Crystal reports that SAP B1 allows me to enter numbers with decimals?

Thank you for any input.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2011 at 07:41 AM

    Hi Rüdiger

    Defining the parameter as currency seems to work but I dont know if this will then have problems with thye number of decimal places depending on how your currency is set up.

    I tried entering {?from} = 243.7499 and {?to} = 243.7501 withy my selection being > {?from} and < {?to}

    and it returned records which had 243.75 so there may not be rounding issues.

    AN alternative would be to accept the parameters as strings and convert them to numbers in formulas and then select base don the formulas.

    Hope this helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.