Application Development 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: 

Correct values are not displaying in smartform

former_member295881
Contributor
0 Kudos

Hello Experts,

According to my requirement I'm trying to display 2  values (GV_H_TNOS and GV_H_TPOS) on my smartforms. I get correct values in both variables as shown below.

Also these are the variables which I use to display on the text as shown below

But still when display comes it shows random values. I've no clue from where these values are coming as shown below.

Can anybody see what is my mistake and how to rectify it?

Many thanks in advance.

6 REPLIES 6

jogeswararao_kavala
Active Contributor
0 Kudos

Have you noticed that the output values are divided by 2 of the correct debugged values? You may investigate in this direction.

Program lines are seen there in pictures. Is these any code given, which is causing this division.

0 Kudos

Thanks for your input Kavala but there is division in the code anywhere. I've checked it.

0 Kudos

One more doubt.

Why the program lines are below the text fields?

They are supposed to be above the text fields.

Does this make some difference?

former_member339717
Active Participant
0 Kudos

Check the condition of the Text what condition they have been checking for displaying the text. If i m not wrong you have put programlines for the break point. so the only thing left is condiotion of the text check it at what condition it is displaying the text. Check your programlines code there must be some activity going on in your programlines.

Regards,

former_member215344
Contributor
0 Kudos

Hi,

Go to your function module and then find the variables GV_H_TNOS and GV_H_TPOS in the source code. Use find in main program option. This will list all the areas where the variables may have probably been modified. Hope it helps.

Thanks,

Ajay Bose

Former Member
0 Kudos

Hi Zero,

Why cant you put a watch point on the variables getting printed ?

It will certainly help you.

Thanking You All.