cancel
Showing results for 
Search instead for 
Did you mean: 

Server side eventing in WebDynpro DC

Former Member
0 Kudos

hi

I have to do server side eventing between two webdynpro DCs

do anyone have document for this ?

regds

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Try portal eventing

AM

Former Member
0 Kudos

Anoop

is it not possible in server side ?

regds

former_member189631
Active Contributor
0 Kudos
Former Member
0 Kudos

dear ram,

thanks for your reply.

I checked that pdf.

But i want to know how to do eventing between two DC projects.

Two components in same webdynpro project is what i know how to do.

Two components in two different Webdynpro DC project is what i need to do now.

regds

kanthiah

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kanth,

for sure, that's possible. You must expose the Component firing an event in a Public Part of its embedding DC. In the other DC comprising the component subsribing to this event you must define a DC-usage relation to the other DC. Then you can just define the event subscription as if both WD components are stored in the same DC.

Regards, Bertram

Former Member
0 Kudos

hi

thanks a lot for giving me a head start !

I tried the same

1: Added the Event firing component (EventSender) as the DC's public part (API)

2: In DC Definition of the subscriber , i added that DC (with public part) as used DC

3: when i am trying to add EventSender in "used webdynpro components" in the subscriber component , i am not able to see it in the available compnents list

am i missing any step or anything i need to redo ?

regds

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kanth,

your must trigger a DC Build not only a Web Dynpro Project Build. The Public Part Archive gets only created with a DC Build.

Regards, Bertram

Former Member
0 Kudos

hi bertram,

i did the DC build first time itself.

stilll i cant see the interface contoller of EventSender Component inside the Embedder component !

what might be the reason ?

Do i need to give Public Part as SDA instead of API ?

regds

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kanth,

1) Define a Component Usage releation to the event source component in the event sink component

2) Define a controller usage relation to the interface controller of the used event source component in a (e.g.) component controller of the event sink component.

3) In the component controller of the event sink component define an event handler which subscribes to the event of the event source component.

Regards, Bertram

Former Member
0 Kudos

hi bertram,

I am not able to do the first step bcos event source comp is not visible in the event sink comp

if it is possible then i know how to do the eventing.Bcos i have already tried my hands in webdynpro server side eventing (without DC) from help.sap.com.

thanks for your patience

regds

Former Member
0 Kudos

hi

Even after declaring Event Source DC (PP with API) in used DCs of Event Sink DC , its components are not visible inside Event Sink DC's Components.

what might be the problem ?

is it anything to do with DC dependency Type ?

(I gave build time and Runtime)

Any guess ?

regds

Former Member
0 Kudos

Hi,

Have you got solution for this. i am also facing the same problem?

Regards,

Pratik

abhijeet_mukkawar
Active Contributor