‎2007 Jul 09 9:56 AM
Dear All!
For SAP-Script is this below shown FM very important and elementary.
Who can say to me how can I call a window type -> var (not main)
with this FM.
Worlds all examples about sap script show how it works with
main but never an example with other window types like var or constants ?
I can't almost see this line -> WINDOW = 'MAIN'
I hope you have insight for my nervousness.
Regards
Ilhan
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'INTRODUCTION'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
‎2007 Jul 09 10:03 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'.
Regards,
Padmam.
‎2007 Jul 09 10:03 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'.
Regards,
Padmam.
‎2007 Jul 09 3:01 PM
Hi,
I understand your problem, suppose you want to display address of the vendor in constant window, so, you can write text element in constant window like this:
/E: ELE1
In write form FM:
Call Function 'Write_Form'
Exporting
Element : 'ELE1'
Function : 'SET'
Type : 'BODY'
Window : 'Const' (Window name)
.....
Regards,
Bhaskar