on 07-24-2007 10:51 AM
Is there an easy way to determine whether my WD ABAP application runs standalone or within the EP iView?
Thanks for the hint, but this was not my question. I have successfully deployed WD ABAP in iViews. But I have an application which runs
a) either standanlone or
b) in the portal.
I am kindly asking for a a line of ABAP code / ABAP snippet which gives my the information whether I do run in the EP or standalone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From Comp controller get API.
Get a ref to the PORTAL manager,
Check the attribute version
Cheers
Phil.
data: lo_portal_mgr TYPE REF TO IF_WD_PORTAL_INTEGRATION .
DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
lo_COMPONENTCONTROLLER = wd_this->get_componentcontroller_ctr( ).
DATA lo_api_componentcontroller TYPE REF TO if_wd_component.
lo_api_componentcontroller = lo_componentcontroller->wd_get_api( ).
lo_portal_mgr = lo_api_componentcontroller->get_portal_manager( ).
if lo_portal_mgr->M_PORTAL_VERSION is initial.
" not portal
endif.
hi,
this is the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f81cfe63291bc9e10000000a11466f/frameset.htm">documentation</a> for the portal,
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.