on 04-19-2010 12:32 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The invoice is a sapscripts or smartforms?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.