Skip to Content
avatar image
Former Member

Validations test

Hello Folks,

i just started working with Validations..

when i have gone through the syntax of IF then stattement,

But i am struggling to implement it after i see some examples in Complete reference 7.1 like IF(F1, F2)

F1 is true ->f2

f1 is false ->NULL

Can anyone explain with a practical real time condition

Thanks in Advance.

KR

John

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 22, 2010 at 01:25 PM

    Hi ,

    First thing about validation expression is always return bollean value i.e. either true or false.

    So during writing expreesion plz take care of this thing.

    Example IF(n1,v2)

    n1 - must be a bolean value like (supplier.name="name1").this either true or false

    v2 - incase of assignment it can be any value but if you are using with validation then as this is returning value then it must be either "TRUE" or "FALSE"

    you can go through this article you will get some knowledge

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/102dc4e5-07c9-2910-93b3-f49c8ed52509?quicklink=index&overridelayout=true

    Hope this will help you and if your prob is resolved then please close this thread.

    If you need some more info then please get back to us.

    Thanks,

    Sudhanshu

    Add comment
    10|10000 characters needed characters exceeded