cancel
Showing results for 
Search instead for 
Did you mean: 

how to call a dynpro application

Former Member
0 Kudos

Hello,

Is it possible to call a dynpro application (when deployed in portal) from an

ejb? Or maybe call a dynpro application from a method?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hello Kanwalpreet,

Thank you for the reply. I have read through the link you have provided. It seems you can call a dynpro application from a prt, because it's dependent on the portalapp.xml file.

Would this still work if the dynpro is called from an ejb method? Like the event is originating from an ejb to dynpro, not dynpro to ejb. Is this possible?

regards,

arnold

Former Member
0 Kudos

i dont think its possible....but may b u cud wait 4 others 2 reply as well coz m not sure.......

Former Member
0 Kudos

Arnold,

EJB is on the business side and WebDynpro is on the Presentation side. Why would you want to call a webdynpro from an EJB? If you're looking to re-use business logic from webdynpro, then you might consider a change in your design because webdynpro is primarily presentation-centric, with business logic concentrated in ejbs/BAPIs/RFCs etc.

If you could describe your problem more, then somebody might help you in the right way.

Regards,

Rajit

Former Member
0 Kudos

Hello Rajit,

I wanted to try this one out. My problem is, an event is coming from the ABAP side, and depending on the event, it will call a dynpro application deployed on the portal. Is this even possible this way? Thanks.

regards,

arnold

Former Member
0 Kudos

Arnold,

Webdynpro java and ABAP are two different worlds. As far as I know, synchronous communication in the form of eventing is not possible (if it is, it is complex). If you are talking something like, posting of a material on ABAP side generates an event and you want to react to it on the Java side, for example.

A common way of doing things in such cases is to create a task/notification in the user's Inbox (ABAP Workbench) and the user can action the item from UWL (on the portal side). This actioning can in turn invoke a webdynpro application and so on.

For backward communication, meaning ABAP to Java, it is possible through something similar to a RFC call to Java side (which is how things work in XI as far as I know) and I'm not much aware of its workings.

Or another option could be, a service running on the server side polling the ABAP side. OFcourse this should be your webdynpro and react accordingly. But I wouldnt suggest this path.

That's just an idea.

Disclaimer: My knowledge is not complete

Good luck,

Rajit

Message was edited by:

Rajit Srinivas

Former Member
0 Kudos

Hi Rajit,

Thank you for the reply. I look into what you mentioned. For now, I'll set my thread to answered.

regards,

arnold

Answers (0)