on 03-31-2008 7:31 AM
Hi experts,
I am currently developing a driver program that calls 13 different sapscript forms (which are also customized - has n existing standards). so basically, the whole program and the forms are all from scratch.
I've already executed the call function open, write and close forms, but everytime i test the program in the QAS, (the part where you can choose the print preview and the output device)
and press the print preview button, a dialog box appears telling me:
WRITE_FORM is invalid, OPEN_FORM is missing.
But i clearly stated that in my program.
Can anyone tell me how am i suppose to write the call functions that will let me see the print preview?
Also, at this moment, i'm not passing anything yet from the program to the form, i just want to check if the form is being called.
Thanks,
Frank
hi,
Order of calling OPEN_FORM,WRITE_FORM,CLOSE_FORM
is CALL FUNCTION 'OPEN_FORM'.
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM' .
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'.
You know this order.Now as you are calling more than 1 form
we should call every form between
CALL FUNCTION 'OPEN_FORM'.
CALL FUNCTION 'START_FORM'.
- - - - - - - - - -
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM' .
ENDLOOP.
- - - - - - -- - - -
CALL FUNCTION 'END_FORM'.
CALL FUNCTION 'CLOSE_FORM'.
regards
dilip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Franklin,
Order of calling OPEN_FORM,WRITE_FORM,CLOSE_FORM
is CALL FUNCTION 'OPEN_FORM'.
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM' .
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'.
You know this order.Now as you are calling more than 1 form
we should call every form between
CALL FUNCTION 'OPEN_FORM'.
CALL FUNCTION 'START_FORM'.
- - - - - - - - - - -
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM' .
ENDLOOP.
- - - - - - - -- - - -
CALL FUNCTION 'END_FORM'.
CALL FUNCTION 'CLOSE_FORM'.
Try using this.
Regards
Lakshman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.