on 04-12-2007 8:15 AM
hi all,
if we do write all code in forms only so what is the basic purpose of driver program..
Hi Amit,
The flow of control is as follows.
When you save a transaction, the output type triggers the Driver Program.
The Driver Program will get all the data that is to be printed and also calls the Script or smartform layout.
In Short, the Driver program has two responsibilities.
1) To get all the data that needs to be printed.
2) To Trigger the layout(Designed by smartform or script).
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello and welcome to sdn,
I'll be short and will be explaining in layman terms, as i am at work.
A SAP Script is outputted by calling diff functions i.e 'START_FORM', 'WRITE_FORM', etc , so for that you will need a driver program to call the functions for writing in the script and outputting. On the other hand, SAP SmartForm is nothing more than a function module , so in order to output a smartform you need to call that function module and for doing that you will need a driver program where you can attach your scripts.
Regards,
Shehryar Dahar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the purpose of driver prog is for interface purpose. in case u want to pass values or set some values in ur form.. u can do so with ur driver program.
Regards,
Viji.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
basic purpose of driver program is to make interface(connection) between your forms and print(driver program).
please reward with points if helpful.
Regards
Santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
just think about basic law.. u awant print smartform even thiugh u wite the copmlete code to retrive the data in the smartforms.. somhow u ahve trigger the smartform right?
to initiate the smartform we have use the driver prgram from where we call the smartform to start..
eg.. u ahve an abap program u ahve to run this. wht u do?.. u goto se38 and enter the program name and u will press F8. or u directly call Tcode of the program to initiate the call..
in the same way driver program is used to initiate the call of the smartforms (if u want u can write the dataextraction logic in driver program.
it is clear now, let if u have more clarification.
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.