cancel
Showing results for 
Search instead for 
Did you mean: 

Text getting displayed in windows

Former Member
0 Kudos

Hi all,

I developed a smartform for Purchase Order. In PO document Iam maintianing header texts and through print program Iam picking the header text through READ_TEXT function module and reading the text into some varible of char200. In smartform, Iam fetching this variable to display in window 1.

But in some window 3 also same text is getting displayed even though I have not given the varialbe in window3 text element.

What could be the problem.

Thanks,

Murali.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi all ,

Problem solved.

Actually there was another window beneath the 3rd window.

Data was coming from that window.

Thanks for your valuable replies.

Murali.

lijisusan_mathews
Active Contributor
0 Kudos

Are the window 3 text elements getting the values of thsi variable somehow.. Some assignment by mistake?

koolspy_ultimate
Active Contributor
0 Kudos

i think the data is not getting cleared.

please check your report again and see whether the data is clearing or not,, by debugging.

Former Member
0 Kudos

Hi ,

Please check you do not have any variables having the same value in the 3rd window. For more details you can debug and check.

Former Member
0 Kudos

Hi Deepak,

There are no variables having the same value in the 3rd window.

Can you plz guide me how we can debug the exact window.( Here 3rd window)

Thanks

Murali

Former Member
0 Kudos

Hi,

To debug:

1. Copy the name of the Text element through which you are printing this text.

2. Then execuet the SMARTFORM.

3. It will take you to SE37 with the FM of your smartform.

4. Open this FM and then search globally for the above copied text element.

5. put you break point at this place. whic will be a perform statement clling your text element.

6. then execute you print program or give the output pritn from the PO.

This will stop at the place where you have put your break point. Hope this helps.

Thanks,

Venkatesh