on 01-22-2007 1:10 PM
Hi,
I am using a standard print program medruck. in that it is calling an element
item_header_f twice.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = item_header_f
EXCEPTIONS
OTHERS = 01.
CLEAR SY-SUBRC.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = item_header_f
TYPE = 'TOP'
EXCEPTIONS
OTHERS = 01.
CLEAR SY-SUBRC.
In layout main i defined the element 'item_header_f' as
/E item_header_f
only the above statement.
i am getting error like 'Element Protect Window Main is not defined' in the
second call of the above write form.
Regards,
Ratna
Hi ratna,
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = item_header_f
EXCEPTIONS
OTHERS = 01.
CLEAR SY-SUBRC.
<b>here u have not mentioned the parameter
WINDOW = 'MAIN'</b>
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = item_header_f
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 01.
CLEAR SY-SUBRC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.