‎2005 Jul 13 3:39 PM
hi,
I was trying script program for single page. so when I was calling the function 'open_form' ...i mean when i double clicked on it....i was taken to the module page....after executing it i am not getting the module code into my source program......what cud be the possible error.
I get something like this in the module result screen
"close_form is missing for the layout".
‎2005 Jul 13 3:48 PM
Are you closing the form?
basis program code should look like this.
call function 'OPEN_FORM'
exporting
device = 'PRINTER'
dialog = ' '
form = print_co-forml
language = print_co-spras
options = itcpo
exceptions
canceled = 01
device = 02
form = 03
options = 04
unclosed = 05.
call function 'START_FORM'
exporting
startpage = 'PAGE1'
exceptions
others = 7.
call function 'WRITE_FORM'
exporting
window = 'MAIN'
exceptions
others = 9.
call function 'END_FORM'
exceptions
others = 4.
call function 'CLOSE_FORM'
exceptions
others = 01.
Regards,
Rich Heilman
‎2005 Jul 13 3:48 PM
Are you closing the form?
basis program code should look like this.
call function 'OPEN_FORM'
exporting
device = 'PRINTER'
dialog = ' '
form = print_co-forml
language = print_co-spras
options = itcpo
exceptions
canceled = 01
device = 02
form = 03
options = 04
unclosed = 05.
call function 'START_FORM'
exporting
startpage = 'PAGE1'
exceptions
others = 7.
call function 'WRITE_FORM'
exporting
window = 'MAIN'
exceptions
others = 9.
call function 'END_FORM'
exceptions
others = 4.
call function 'CLOSE_FORM'
exceptions
others = 01.
Regards,
Rich Heilman
‎2005 Jul 13 4:06 PM
‎2005 Jul 13 5:13 PM
hi rich,
Therez something like element in the WRITE_FORM.
I know that i am supposed to define the element in the layout set.....but i donno where to and how to define....
can u plz guide me
Regards,
scien
‎2005 Jul 13 5:19 PM
‎2005 Jul 13 7:09 PM