on 02-22-2008 6:41 AM
hi experts,
wat is the exact use of start_form.
if i writes the code like this:
call function 'OPEN_FORM'
exporting
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
* DEVICE = 'PRINTER'
* DIALOG = 'X'
form = 'ZAAA'
language = sy-langu
.
loop at itab.
call function 'WRITE_FORM'
exporting
element = 'ELE'
function = 'SET'
type = 'BODY'
window = 'MAIN'
close_form.
it is giving error like WRITE_FORM is invalid, START_FORM is missing.
why iam getting error message. if i use start_form iam getting the output.
Edited by: Alvaro Tejada Galindo on Feb 22, 2008 2:46 PM
Hi,
You have to call the 'CLOSE_FORM' function module after the endloop statement.
Cheers,
Deepthee Kasal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
There is Syntax for doing Scripts...
Open form
Start form
Write form
End form
Close form..
In that Loop can be used Only with Write form so that it can print one or more lines.. remaining is only for initialization of forms and printer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if u use OPEN_FORM then u have have to close that.that is
OPEN_FORM.
WRITE_FORM.
CLOSE_FORM.
if u have used START_FORM then u have to end that.that is
OPEN_FORM.
START_FORM
WRITE_FORM
END_FORM..
CLOSE_FORM.
<REMOVED BY MODERATOR>
Thanks,
Manjunath MS
Edited by: Alvaro Tejada Galindo on Feb 22, 2008 2:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
remove the loop and see. it will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Open_form => It assign the form and printer, It should be first.
Start_form => It start Writing mode. You can use write_form in loop to write more than one lines befor End_form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.