In your code, pass this parameter value into NAST-LDEST itself and into CONTROL_PARAM-DEVICE (or whatever variant thereof you are using to call the form). Make sure this value transfer takes place before you call the Smart Form itself.
Dig Deeper on SAPscript and Smart Forms
Related Q&A from Mark Smithson
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
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