Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sapscript

Former Member
0 Likes
545

why do we call sapscript as a driver program.

what means by driver program.

plz give me one exact answer..

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
509

Hi,

Sapscript is not a driver program, its a layout. Here you create the layout.

There's a driver program for each Sapscript. The driver program gets the data to be displayed calls the sapscript & passes the data to Sapscript.

4 REPLIES 4
Read only

Former Member
0 Likes
510

Hi,

Sapscript is not a driver program, its a layout. Here you create the layout.

There's a driver program for each Sapscript. The driver program gets the data to be displayed calls the sapscript & passes the data to Sapscript.

Read only

former_member842213
Participant
0 Likes
509

Sapscript is used to produce a preprintable output.

Sapscript cant be run independently ,

So We need a driver program to run the sapscript.

So sapscript is different ,driver program is different.

As the program(driver prog) is invoking another object(sapscript) ,it is called driver program.

One driver should have Open form ,Write form,Close from

In driver program Open form will invoke the script ,

Write Form is used to display the contents of the field ,This will be written within loop.

Close form is used to close the form.

Read only

Former Member
0 Likes
509

Script is a layout where we can design using the required fields.

The values for the fields defined in the screipt should be passed from a report ( called driver program ). These program calls corresponding layout with passed values.

So, Script and the driver program are associated but not the same.

Cheers.

Read only

Former Member
0 Likes
509

Hi

Sapscript is only a layout where you will design the screens, you cannot run a script directly, so in order to run the script there should be some program, that program is called as driver program.

Why it is called as driver program is, as it is the only source to run the script and display the output may be it is called as driver program.

Regards

Haritha.