on 05-05-2008 4:53 AM
Dear experts
what is the difference between start_form and write_form
can anyone give me a form in which all the function modules are used(open,start,write,close,end)
if my data is flowing to multiple pages how can i use start_form...
is it is mandatory or optional????
regards
somesh
Hi,
Basically u hav to use 3 FM to run a form i.e., OPEN_FORM, WRITE_FORM,CLOSE_FORM.
OPEN_FORM-> it is nothng but u r just passing the form name ie., ur initialting tht this form has to be opened.
WRITE_FORM-> In write form ur just printing the layout and with the help of LOOP AT ITAB at the begining of the form u can pass the values into the layout that u hav declared in the form.
CLOSE_FORM-> no need to pass anythng just give the function module.
Now START_FORM.
start form is that if u r going to run more than one form in ur program then u hav to use START_FORM and END_FORM .
In this u just give OPEN_FORM and don't pass the form name here.
after that u give START_FORM and in this FM just pass the form name and then WRITE_FORM and then END_FORM. then START_FORM give 2nd form name and then WRITE_FORM and then END_FORM like this u can give for other forms and at last CLOSE_FORM.
Thanks,
Aeunprasad.P
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.