on 10-29-2007 10:57 AM
Hi Experts,
In Do_request we usually write the code lke,
data : firstview type ref to if_bsp_page.
dispatch_input( ).
firstview ?= create_view( view_name = 'FIRST.HTM').
call_view( firstview ).
endmethod.
Here what is <b>?=</b> . What is the use of this Operator?
Thanks,
Poits assured.
Hi,
It is the <i>cast</i> operator.
When the returned object does not have the same type as the object you want to assign it to, but is <b>compatible with it</b>, then have to use this operator.
Best regards,
Guillaume
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for more on this check the following link (read sub heading <b>Casting</b>)
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5f54f411d194a60000e8353423/frameset.htm
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.