on 11-12-2008 2:01 AM
Hello Experts,
I copied the standard print program RFFOUS_C since I need to add new windows and routines. But when I
inserted my 'WRITE_FORM' to call the element in the new window it has an exception of '1' which I think it does not
recognize the custom elements in the new windows. Below is my code:
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'CHECK'
function = 'APPEND'
TYPE = 'BODY'
window = 'PAYEE'
IMPORTING
PENDING_LINES =
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
codepage = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
So I added the window 'PAYEE' and the code above was inserted in the routine 'SCHECK'. Hope you can help
me guys. Thank you and take care!
r u using the ' check' text element in your script window?, if u don't delcare in the script window than only this kind of error will come.
Thanks,
Tirumal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.