cancel
Showing results for 
Search instead for 
Did you mean: 

smartform condition

Former Member
0 Kudos

Dear all,

am using smartform for invoice printing but faceing problem

in putting condition

am comparing

/: IF &ADRC-REGION& = '13'

  • maharastra

/: ELSE

  • kerala

/: ENDIF

but it is not working what's the problem . in it any settings for using if condition

thanks

jayesh

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

thaxn

Former Member
0 Kudos

Hi,

Check this field in your data dictionary table, ADRC table field name is: ADRC-REGION

Regards,

Ansari.

Former Member
0 Kudos

Hi,

Where are you applying these conditions in the smartform.

If you are applying these conditions in a standard text used in a smartform then it would not work.

Try creating two separate standard texts and apply the conditions to the text nodes as 'ADRC-REGION = ...' or 'ADRC-REGION # ..'.

Regards,

Ram

Former Member
0 Kudos

create 2 text elements in same window one by one

select first TEXT goto CONDITION TAB put condition like &ADRC-REGION& = '13' display

  • maharastra

after select second TEXT

  • kerala

Former Member
0 Kudos

i try with eq sign but it also not working

Former Member
0 Kudos

put a break point ans check why it is not going inside the conditon..

i think the problem is with comment is not recognizing or the condition is failing..

Regards,

Prabhudas

Former Member
0 Kudos

Hi Rohit,

Try using ADRC-REGION CO '13'.

Regards,

Nikhil Kayal

Former Member
0 Kudos

Hi jayesh,

/: IF &ADRC-REGION& eq '13' "try to use EQ in place of =

  • maharastra

/: ELSE

  • kerala

/: ENDIF

Regds,

Prabhudas