Passing Internal table records from Driver Program to Script


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. 


 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s