cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Passing parameter to other applicaiton

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

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

Former Member
0 Kudos

hi Abhi,

Thanks for reply.

I the 2nd application how i get the parameters there, and where i should get it(window or application)?

BR,

Ali

abhimanyu_lagishetti7
Active Contributor
0 Kudos

In the Window, HANDLEDEFAULT method just add importing parameter withe same name which is passed..

and it will be automatically passed to this method, you can access the importing parameter just like any other.

Abhi

Answers (0)