2023 Feb 14 1:37 PM
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.
2023 Feb 14 6:52 PM
How to say, there's a bug in your program.
No code, no answer.
2023 Mar 16 2:53 PM
You're probably right, maybe not clearing a variable, or unforseen data.. thanks for the response!