on 01-13-2009 10:38 AM
Hi,
Can anyone help me how can we know if a particular link is clicked in portal (The link in portal is a iVIEW for the WDA component)?
In the sense, is there any method to know if the link is clicked in Portal?
Thanks,
Prabhu
Hi,
You can get the client environment whether its from portal or R/3 through the following code.
DATA: lr_application TYPE REF TO if_wd_application,
l_client_environment TYPE i.
lr_application = component->get_application( ).
l_client_environment = lr_application->get_client_environment( ) .
IF l_client_environment = '4' ."if_wd_application=>co_client_environment-nwbc.
*The action is from the portal
ENDIF.
Thanks,
Rajkumar.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don know what is your exact requirement but there is a similar operation i have handled in my application.
I have a main component where it has, create request, create planning buttons.
If i click create request button then it calls the request component using the following,
DATA: MR_WINDOW_API TYPE IF_WD_WINDOW_CONTROLLER,
l_api_component TYPE REF TO if_wd_component,
lt_bo_params TYPE wdy_key_value_table,
ls_bo_param TYPE LINE OF wdy_key_value_table.
l_operation TYPE string.
l_operation = 'gotorequest'.
l_api_component = wd_this->wd_get_api( ).
CASE iv_operation.
WHEN 'REQUEST'.
ls_bo_param-key = cl_fitv_navigation=>gc_param_tripcmp..
ls_bo_param-value = cl_fitv_navigation=>gc_value_component_request.
INSERT ls_bo_param INTO TABLE lt_bo_params.
ENDCASE.
CALL METHOD cl_fitv_navigation=>navigate_to_object
EXPORTING
component = l_api_component
window_api = wd_this->mr_window_api
operation = l_operation
business_parameters = lt_bo_params
thanks,
Rajkumar.S
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.