cancel
Showing results for 
Search instead for 
Did you mean: 

If-endif condition in standard texts

Former Member
0 Kudos

Hi All,

Is it possible to put an if condition in standard text(so 10)

such that if true 'some text' is displayed else 'other text' is displayed ?

Regards

Sweta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Swetha,

yes u can use if -else condition in SO10.

Thanks

Phani

Former Member
0 Kudos

Can you send me some sample code for doing it ?

The code i put is not working.

/: IF &tnpo-vkorg& EQ 'SE22' OR &tnpo-vkorg& EQ 'SE33'.

L <T2> Text XXX </>

/: ELSE.

L <T2> TEXT YYY </>

/: ENDIF.

The above is my code .

Former Member
0 Kudos

Hi Swetha,

Sample code in SO10

/: IF &W_GROUP_5030& = 'X'

  • OUR VAT NO.

/: ELSEIF &W_FLAG& = 'X'

  • CST No

/: ELSE

  • Service Tax Regn. No.

/: ENDIF

I think u developed this standard text in golden client and forgot to doing client copy into testing client.

Thanks

Phani

Former Member
0 Kudos

Hi,

The problem was with the condition, I was not using the correct values in the IF condition.

Thanks a lot for the help Phani .

Answers (1)

Answers (1)

Former Member
0 Kudos

Create different standard texts and give the condition at the form window and call the appropriate standard text.

Thanks,

Srinivas