on 01-07-2008 6:42 PM
Hi ,
I have added new element in the main window 'AFFI' and activated. The elelent is defined properly i.e. /E .
In driver program I am calling it as -
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'AFFI'
FUNCTION = 'SET'
TYPE = 'BODY'
window = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
OTHERS = 9
.
IF sy-subrc <> 0.
ENDIF.
While executing it gives error like -
"Element AFFI window Main is not defined for form (name of the form )
Message no ID 427.
Please help.
Hi,
First you need to call the function modules in the below order.
OPEN_FORM.
START_FORM. " Incase of changing the start page
WRITE_FORM.
END_FORM. " If you use START_FORM
CLOSE_FORM
If you want to pass multiple number of records then WRITE_FORM should be kept in loop - endloop of the internal table.
Regards,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.