PRINT-CONTROL FUNCTION 'SBP03'. WRITE: 'BARCODEDATA' NO-GAPS. PRINT-CONTROL FUNCTION 'SPS03'.
Where do these "positioning commands" come from? We also see such positioning commands right in the middle of the text. It looks like a maximum of ten characters can be WRITTEN without any repositioning. Even the WRITE command sends 60 or more characters.
My preferred troubleshooting approach -- which I would recommend here -- is to use the SAPscript debugger. It allows stepping through or tracing the form flow, and thus provides an excellent way to flush out the underlying problem. To switch on the debugger from the initial SAPscript screen, click on utilities --> activate debugger. Note that you will need to produce your form in the foreground to step through or trace it. It is not necessary to send it to a physical printer as a print preview should suffice.
Dig Deeper on SAPscript and Smart Forms
Related Q&A from Mark Smithson
An SAP user is looking to fix an error with a packing slip print-out in an SAP Smart Form.continue reading
An SAP user is trying to align a barcode in the center of a defined window on an SAP Smart Form.continue reading
An SAP user is working with an SAPscript form to create the form development for an Invoice List, and wants to know if it's possible to migrate the ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.