cancel
Showing results for 
Search instead for 
Did you mean: 

Through Enhancement, how to call a Webdynpro method from another webdynpro?

joo_mariano2
Participant
0 Kudos

I have a standard page with 2 iViews with a standard abap webdynpro in each.

The first webdynpro needs to refresh the second webdynpro.

Through enhancement, I tried to follow the solution below:


first of all in the child component's component controller method(which you want to expose to another component) must be checked in the interface column.

Double click on the webdynpro project(parent component)->In the used components tab, in the column of component type the child project name(whose method you want to call) and in component usage column give any name->save the project.

goto the controller(VIEW or COMPONENT) from where you want to call the method->click create controller usage->select the interface controller of the child component->save the project.

click the code wizard->select method call in used controller->select the child component interface controller ->select the method you want to call.

Link of thread:

But this solution doesn't worked because in this standard webdynpro is not possible to check the method as Interface.

Is there other way to do this?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

saravanan_narayanan
Active Contributor
0 Kudos

Hello,

you can refer the following documentation for portal eventing

http://help.sap.com/saphelp_nw70/helpdata/en/f6/7d6f4151dc5758e10000000a1550b0/frameset.htm

Br, Saravanan

Former Member
0 Kudos

If they are iViews then they have to communicate with Portal eventing, In a page they run on their own session and they do not have knowledge about each other . So the one option i think of is the Portal evening.