cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

form (pretext , posttext)

Former Member
0 Likes
443

hi ,

Am working with form.

am displaying the values from my text elements.

So wats my requirement is

am doing like this.

NAME : &name1&

so when there is no value for &name1&

its displaying the String 'NAME' : <blank>

but i want to display it when it contains the value &name1&

eg : NAME : martin

give me the syntax.

Thanks & regards,

Rajesh .k

View Entire Topic
Former Member
0 Likes

In SAPScripts there's two methods

/: IF &name1& NE &SPACE&

AS NAME: &name1&

/: ENDIF

Or

AS &'NAME: 'name1&

When using quotes inside the && the text only prints where there is a value.