I recommend that you set a temporary break-point in the program line node you mentioned. Run a "print preview"...
and see which values are there for these other materials.
Also, make sure that the internal table which you mentioned is visible throughout the entire form. In other words, it needs to be declared globally at the top of the form. As you probably know, an internal table declared within a program node cannot be accessed by other form nodes.
Finally, check that the values from the internal table are being passed out of the program node. It is easy to miss this step, especially when your screen resolution is such that only two program node parameters are visible at a time.
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 trying to align a barcode in the center of a defined window on an SAP Smart Form.continue reading
An SAP user is looking to fix an error with a packing slip print-out in an SAP Smart Form.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.