cancel
Showing results for 
Search instead for 
Did you mean: 

Using SFSY-PAGE in IF condtion in text node

Former Member
0 Kudos

Hi ,

I am using the following in one of the text element in my smartform. surprisingly it is printing both texts: Header and Header (cond.) on the first page. I tried all the options, Could any one let me know the way of writing this in text element ? I know writing it using condition on text node's conditons. There is another condition like this on one of globa variable and it is working fine.

/: IF &SFSY-PAGE& EQ '1'.

B1 Header

/: ELSE.

B2 Header (cond.)

/: ENDIF.

I also tried the following :

/: IF &SFSY-PAGE& EQ '1'.

B1 Header

/: ENDIF.

/: IF &SFSY-PAGE& NE '1'.

B2 Header (cond.)

/: ENDIF.

Thank you,

Surya

Message was edited by:

Surya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

KEEP THIS CONDITION OUT OF THE text element and check

/: IF &SFSY-PAGE& EQ '1'.

/: text element

........

.....

/:ENDIF

Reward points for useful Answers

Regards

Anji