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: 

Spool request and printout have different values

davestevenson01
Explorer
0 Kudos
315

We're printing a bespoke transfer order on which we state the sequence number of the TO for the relevant service order. For example, a service order may have several TOs, and we state that the one being printed is 2nd of 3.

This worked fine in testing (up to the spool request), however, when we run it in live, the document is actually printed and we get "449th of 36"!!

There is only one service order and one TO in the example used, and in the itab holding the data being counted.

The total field has length 3, so is not being truncated.

None of the document number match or contain '449' or '36'.

Can anyone suggest a possible reason for this?

Many thanks in advance.

2 REPLIES 2

Sandra_Rossi
Active Contributor
268

How to say, there's a bug in your program.

No code, no answer.

davestevenson01
Explorer
0 Kudos
268

You're probably right, maybe not clearing a variable, or unforseen data.. thanks for the response!