Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

printint variable based on condition in smartforms

Former Member
0 Likes
1,062

hi ,

i am working one smartform, this is my first development.

the problem is , i need to print one variable based on condition.

i declared that variable in text element and in the condition tab , i gave the condition but its not working.

i dont know how to solve this , pls help me

i have variable

gv_static

i need to print this with condition,

gw_ekko-frgke = z.

but it is not working.

thanks

S.Kavitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,029

write the condition as GW_EKKO-FRGKE = 'Z'.

7 REPLIES 7
Read only

Former Member
0 Likes
1,030

write the condition as GW_EKKO-FRGKE = 'Z'.

Read only

0 Likes
1,029

hi tulasi,

actually in one smartform i am printing both original and draft printout based on,

if gw_ekko-fgrke = 'y'.

draft.

else gw_ekko-frgke = 'z'.

original.

endif.

like that , so now  i need the variable as to come only on original print out, not for draft version.

in text element, condition tab i gave the condition what u have mentioned above .

but it is not working,

thanks

s.kavitha

Read only

0 Likes
1,029

Hi Kavitha,

Once check whether the value in condition tab inside the quotes is capital or not

Ex :

gw_ekko-frgke = 'Z'.


Regards,

Pavan

Read only

former_member206650
Active Participant
0 Likes
1,029

This message was moderated.

Read only

Former Member
0 Likes
1,029

Hi Kavitha,


the field gw_ekko-fgrke is having data before displaying text element? please check this.

Thanks,

Sree

Read only

0 Likes
1,029

If this condition doesn't work then create a new window which is replica of the earlier window and place your condition to that window. Based on the condition updated the applicable window will be displayed.

Read only

0 Likes
1,029

hi all,

my problem is solved , thank u all.

regards,

S.Kavitha