on 03-25-2009 6:35 AM
I need to navigate to 2nd application with passing parameter.
It should open 2nd application and pass a parameter (WF_USERID=' 'yy029672'). as below coding
I set a parameter in the 2nd application as WF_USERID, and use it in the HANDLEDEFAULT in 2nd application window.
but it give me an error Insufficient Shared Objects Memory Available
How i can solve it.
ONACTIONPROCESS
lr_ref TYPE REF TO ig_ZEP_SHP_ROL_ADP_WIND,
str TYPE string.
*Get the URL of the Application
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = WF_APPL_NAME
IMPORTING
out_absolute_url = str.
*Reference of Window
lr_ref = wd_this->get_ZEP_SHP_ROL_ADP_WIND_ctr( ).
* Fire Exit Plug
DATA: l_ref_zep_shp_rol_adp_wind TYPE REF TO ig_zep_shp_rol_adp_wind .
l_ref_zep_shp_rol_adp_wind = wd_this->get_zep_shp_rol_adp_wind_ctr( ).
CONCATENATE str '?' 'WF_USERID=' 'yy029672' into str.
l_ref_zep_shp_rol_adp_wind->fire_go_exit_plg(
url = str " String
).
ENDMETHOD.
there is another importing parameter IN_PARAMETERS for the method construct_wd_url
it is an internal table fill the parameters in this table ..
ls_httpnvp-name = 'WF_USERID'.
ls_httpnvp-value = 'yy029672'.
append ls_httpnvp-value to lt_httpnvp.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = WF_APPL_NAME
-
IN_PARAMETERS = lt_httpnvp
-
IMPORTING
out_absolute_url = str.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.