cancel
Showing results for 
Search instead for 
Did you mean: 

invoice printing issue

Former Member
0 Kudos

HI ...

I have an issue in printing invoice.....

invoice contains 7line items per page....

Against that particular invoice original copy which was taken print out , tha last item line is completely missing and that too

suppose ...last item 070 cs 12345 lemon tea description 4343.00 1234.00

*non-taxable*

*support* ....

In the above displayed last line item 070 line is completely missing ,but the 2nd and 3rd line of the description in next lines are being displayed.....

and this problems occurs only in the first print in ,when it is printed on a plain paper it is perfectly fine and displays the first line as well...

i want to know how to debug and find the solution in th driver porgram as i think the problem is inthe logic of driver program.

output type is rd00..and it is only single output type....

please help me solve this ticket as its on high priority.....sos

thanks in advance

Santosh

Accepted Solutions (0)

Answers (5)

Answers (5)

vamshi_mohan
Participant
0 Kudos

Hi,

I am unable to get what exactly is your problem. Kindly elaborate explain clearly for a quick solution. If possible, attach screen shots. What I deduced is, 'Script is not printing the last line item in the original print but printing fine in the following copies". In this case just primarily debug the loop that is populating the internal table meant for line items. secondly check if all the line items are read to display (output). once again check the 2nd and 3rd copies for duplicate line items.

Regards.

Vamshi.

satyajit_mohapatra
Active Contributor
0 Kudos

Activate debugger in sapscripts and debug the form. Check if the element in main window printing the items is called for each line item. Also, if possible share the code for printing line items in driver program and script......

satyajit_mohapatra
Active Contributor
0 Kudos

The invoice is a sapscripts or smartforms?

Former Member
0 Kudos

Hi, Satyajit....

the invoice is sap script....rd00 output type

ZOV1L001---DRIVER PROGR AND FORM NAME SAME....

unable to get to the sollution ..i have been trying ...help pleas

thanks and regards

Santosh

Former Member
0 Kudos

Hi Expert

seenario 1:

Unit price is not printed in Invoice, in case the item condition type is ZN00. Customer is demanding that every item does appear on the invoice with an unit price

Scenaro 2 :

Customer requires item details of the individual invoices on the invoice list; they want to see the lines for full service and rental separately. Currently smartform ZSDINVOICE_LIST_SF_PORT does not support this

Please help me on this issues

Former Member
0 Kudos

hi , Lokesh...

thanks for ur reply...

but i am not able to figure out waht i should look for to solve the problem... and its in logic of driver porgram loop....endloop iguess..

i have set the break-point at htat point ..but i am not understanding what ishould look for ..........

the problem is onl;y when the print out is taken fort he first time that last line item i.e. #070 line is missing ....but not its part below which says non-taxable ....this part is printing.....

and when given reprint its fine again......help

Former Member
0 Kudos

Hi

Is this problem occur when u see on the screen?

please look for windows overlapping in the form.

Generate a spool request and convert the spool request in pdf using pgm RSTXPDFT4. i think this fine

check both pdf and screen output to get the solution

Regards,

Chandra Kavali

Former Member
0 Kudos

Hi,

To debug any print program, you just need to follow the basic flow of debugging:

1. Put the breakpoint in your source code. (In your case try to find where that table is populating)

2. Just follow the steps that you takes to take print or print preview, either through any T-code or via program it self.

Let me know if not clear.

regards,

Lokesh.

Edited by: Lokesh Tarey on Apr 19, 2010 1:40 PM