Tuesday, 11 November 2014

SCRIPT: Passing Internal table records from Driver Program to Script Text Element


Step1. We have the script ZSCRIPT_WORK1 with window MAIN . Select the window MAIN and click on the TEXT Element button .












Step2. Previously we have the below text.













Step3. Now Add some more lines and one Text Element (/E) and under that put some variables inside && as a place holder. The variables inside && receives value from the Driver program.
















Step4. We want to pass some information from the below table.



















Step5. In the program, select records from the DB table and in a loop call the function WRITE_FORM and pass it to the text element TXT_ELEM_1. Execute the program.
























Step6. So here we have the output. 


































---------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname