2007 Sep 17 7:10 AM
Hi All,
Can anybody please explain me the parameters used in WRTE_FORM with an example.
Thanks in Advance.
2007 Sep 17 7:13 AM
Hi,
U can use this FM for the Other Windows also by the following Means,
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ELEMENT1'
type = 'BODY'
window = 'WINDOW1'.
So here your window name is "window1". So what ever you wrote in window is Displayed in the SAPscript form.
Thanks,
Reward If Helpful.
2007 Sep 17 7:24 AM
Thanks for your quick response. What are the values used in parameter 'TYPE'.
2007 Sep 17 7:33 AM
in type u specify Window area in MAIN window..default value is 'BODY'
2007 Sep 17 7:14 AM
Hi
<b>WRITE_FORM</b> (to output the general text and data in the main window)
<b>
Syntax Description</b>
CALL FUNCTION WRITE_FORM
EXPORTING
ELEMENT = ..
TYPE = ..
FUNCTION = ..
WINDOW = ..
EXCEPTIONS ..
reward if usefull
2007 Sep 17 7:17 AM
Text
SAPscript: Output text element in form window
The specified element of the layout set window entered is output. The element must be defined in the layout set.
The specified element of the layout set window entered is output. The element must be defined in the layout set.
The specified element of the layout set window entered is output. The element must be defined in the layout set.
Parameters
PENDING_LINES
FUNCTION
ELEMENT
TYPE
WINDOW
Exceptions
WINDOW
TYPE
UNOPENED
UNSTARTED
ELEMENT
BAD_PAGEFORMAT_FOR_PRINT
CODEPAGE
FUNCTION
SPOOL_ERROR
2007 Sep 17 7:41 AM
hi,
write_form : writes the data in the form
u can use this fun module : call function 'write_form'
in exporting
element = 'emat'.
type: body
window : 'main".
emat is group name that u give it in main window.