cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong PO Text Printed

Former Member
0 Kudos
275

Hi ,

I have a smartform for printing the Production order details.It prints the operation number,text item wise.<b>The first operation text on the second page is being printed wrong</b>.It is printing the previous operation text value i.e the value of last operation on the previous page.I have debugged the smartform and the values are being passed correctly.I am not able to find the problem.please let me know what might be wrong.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member196280
Active Contributor
0 Kudos

Ok, tell me where are you picking this text from, and where did you write your code to pick this text,

Regards,

SaiRam

Former Member
0 Kudos

Hi SaiRam,

I am picking this text from Production order coded in the print program.

The PO Text values are picked properly and sent to the smartform which prints the PO details.the values are being passed exactly.I have checked the values after being passed to smartform by debugging the smartforms FM.Everthing is fine.

But while Printing the first text value on the second page it is printing the previous page last text.The texts on all the other pages are correct.

Please let know if u need further inputs.

Former Member
0 Kudos

HI ,

Is it combining the last output with the current outtput for line items . If it is clear internal table and workarea and use clear those clear statement as the last line of program .

Regards

Former Member
0 Kudos

Hi ,

Theres nothing wrong in the print program.it is passing the text correctly.

Its displaying wrong during runtime.

Former Member
0 Kudos

Can Some one let me know what can be done.

I am not able to fix the problem.

Former Member
0 Kudos

Hi ,

In the print program once u have passed the internal table or work area to smartform ,Clear the internal table and work area u have passed to smartforms .

Clear it at the end of the program .

Regards

Former Member
0 Kudos

Hi,

The Values are being passed correctly.but donot know what exactly is goin wrong.