cancel
Showing results for 
Search instead for 
Did you mean: 

Pass parameter in EPCM.doNavigate

Former Member
0 Kudos
85

Hello!

I have JSPDynpage the button, that have OnClientClick:

addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication', 1, 'width=400,height=500');");

It's open WebDynpro page in new window.

How can I pass parameters into opening WebDynpro page?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Found solution.

Write doNavigation with parameter qqq=test:

addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication? sap-qqq=test ', 1, 'width=400,height=500');");

In Object property of WebDynpro page iView fill field "Parameters to Pass from Page Request" with value qqq (without sap-)

Than in WebDynpro page get parameter:

WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter( "sap-qqq" )

Former Member
0 Kudos

Thank you Pual for your solution.