How do I figure out what's wrong here and then fix the problem?
Next time you print the packing slip, go into the application transaction VL02n (delivery change) and have it set to send output immediately (timing = '4'), then save the document (it doesn't matter if "print immediately" is set). That should force the error into the log. Now, the next time you go into the application document, you should see the red light and be able to view the error. Or as an alternative use transaction SFTRACE, making sure it is set to flag errors.
Dig Deeper on SAP development and programming languages
Related Q&A from Mark Smithson
I've always set hard-coded breakpoints in ABAP code that reside in a Smart Form. Is it possible to set soft breakpoints instead? Continue Reading
I am setting up shop papers (PM) in Smart Forms using Helvetica font. The shop papers were designed with output device LOCL. The output changes (... Continue Reading
What could cause a box command to print line items only once instead of multiple times? Expert Mark Smithson surmises the answer. Continue Reading