Skip to Content
0
Former Member
Apr 04, 2011 at 07:59 AM

If condition Not working in Smartform Text element

1607 Views

Hi All,

I am developing a smartform . In this the if condition not getting recognized in the text element. I have properly used the Command operator (/:) for the if condition.

ex:

/: IF &VBDKA-VKORG& EQ '0001' OR &VBDKR-VKORG& EQ '0001'

ST sales org 0001.

/: ELSEIF &VBDKA-VKORG& EQ '0002' OR &VBDKR-VKORG& EQ '0002'

ST sales org 0002.

/: Endif.

In the above example my text element prints both the texts.

Output:

sales org 0001.

sales org 0002.

can anyony please help me out.

Thanks & Regards,

Seenu K