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

problem in smart form text element

Former Member
0 Likes
886

hi,

im getting the text elements values as &wa_kna1-kunnr& not getting the exact values . what im doing wrong

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
860

Hi,

while displaying text use text editor. if we use this, variable name will be displayed in brown color.

if we didn't used text editir, it will display as it is.

Regards,

Phani.

8 REPLIES 8
Read only

bpawanchand
Active Contributor
0 Likes
860

Check whether the values are flowing from the driver program to the form interface of the smartform

Read only

Former Member
0 Likes
860

hi ,

wat exactly u r getting ... put a breakpoint in smartform ... chek value in runtime ...

hope it helps ...

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
860

Hello Abdul,

I think you have declared the value &wa_kna1-kunnr& as text in the text module. You need to declare it as a field.

In the text module, just above the text fields there are some buttons. Click the "Insert Field" button (Button with a green plus sign) & in the pop-up type &wa_kna1-kunnr&.

This will work.

BR,

Suhas

Read only

Former Member
0 Likes
860

Hi

you should not direcly type the variable . Use + button , insert field to enter a variable , it automatically concatenates '&' to it and consider it as a variable. otherwise it takes it as constant value and prints it

reg

Ramya

Read only

Former Member
0 Likes
860

Hi,

try to call the variable through 'Editor button (which is available on the left side above the syntax check button)'. if u call it directly smartform will not recognize the variable.

Hope it helps!!

Regards,

Pavan

Read only

Former Member
0 Likes
861

Hi,

while displaying text use text editor. if we use this, variable name will be displayed in brown color.

if we didn't used text editir, it will display as it is.

Regards,

Phani.

Read only

Former Member
0 Likes
860

Hello,

Is your problem resolved?

reg

Ramya

Read only

0 Likes
860

yes