on 02-07-2009 11:20 AM
hi all,
i m getting an error while calling a form in sapscript from se38.
the error is "WRITE_FORM is invalid, START_FORM is missing".
my write form code is as follows...
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN1'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
thnks n regards,
Mukesh
hi,
try once to write write_form in between star_form and end_form function modules.
did you write ur script name in the open_form function module, if not write form name in open_form.
regds:
rajesh.k
Edited by: nacl nacl on Feb 7, 2009 4:57 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
before using WRITE_FORM, you have open and close form by using function module OPEN_FORM and CLOSE_FORM.
Hope this gives you some hint to solve your problem.
Thanks........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you declare any text element ?
Make sure u give the text element same in element of function module
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN1' ( give text element )
FUNCTION = 'SET' ( give append )
TYPE = 'BODY' ( comment it )
WINDOW = 'MAIN'
try this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Make sure the write_form is being executed on Opened or a started form.
In your case it might be that you closed a previous form and trying to write without actually opening the form
Thanks
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.