cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters from One component to another

Former Member
0 Kudos

Hi All,

I have creted webdynpro application. I have two components and two applications the second application is being called in an external window.

Now my problem is that I have to pass some parameters from the first application to second application.

I have gone through the example of WD_Eventing and implemeting the same way But I have passed the values first comp to second comp ComponentController and those values displaying in the first application only Not to move the second application.

Here we are using two context attributes what are parameters are coming those are captured and setting in the secondcomp Component Controller Context.

These second comp compcontrollercontext values not coming to the sec comp View I mean to say we are passing these values as input to the BAPI that BAPI output would be generated in New Window with values.

Here My BAPI When I am hardcoded then Out would be coming in New window with values But When I am using this passing params I am not able to get the values.

Please suggest me

Thanks

Kris.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi gopi,

use the Portal navigation method to call other application(iView). Through that you can pass the value from here to there.

The code is given below,

String appParams = "ApplicationParameter=<paramName>=" + <paramValue>;

WDPortalNavigation.navigateAbsolute(

"ROLES://portal_content/<location of iview2>",

WDPortalNavigationMode.SHOW_INPLACE,

"",

"",

WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,

"",

"",

appParams,

null,

true,

true);

you can get the parameter and values in other application

regards

karthik

Answers (2)

Answers (2)

Former Member
0 Kudos

closing the message

Former Member
0 Kudos

Hi

See this Thread

Kind Regards

Mukesh