cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro & EPCF

Former Member
0 Kudos

Hi All,

I am kind of confused with EPCF.

Is EPCF eventing only for JSP Dynpage & HTMLB or is it used in Web Dynro ?

Does Web Dynpro has feature to replace or supplement the EPCF method of client side event handling ?

Thanks,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi reddy,

<u><b>Client-side Eventing...</b></u>

Purpose

The Enterprise Portal Client Framework (EPCF) provides an infrastructure for scripting used in iViews and by the portal.

To keep the application design simple and maintain compatibility to different browsers, Web applications usually avoid scripting. However, there are tasks that make it necessary to use scripting, such as:

· Increasing user acceptance for example with context sensitive entry helpers

· Enhancing response time of the application for example through validation of input values

When a business application uses more than one iView, you need the EPCF service to transfer data between the iViews. The EPCF service provides:

· Mechanisms for eventing between iViews.

· A Java object, called a client data bag, that serves as transient data buffer on the browser.

The EPCF implementation itself is based on JavaScript and Java applets.

see the following link also

http://help.sap.com/saphelp_nw04/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm

regards

-

-


sunil

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Kumar,

some restriction for using portal event in web dynpro.

Portal Events in webdynpro:

In the SAP Enterprise Portal, different application types in specific iViews can be arranged on one page. To communicate between the different iView types the portal provides the Enterprise Portal Client Framework (EPCF), also known as client-side eventing.

Restrictions:

Several Web Dynpro applications running on one portal page can communicate using client events. It is recommended, to use client-side eventing only for “occasional” communications between Web Dynpro applications. For Web Dynpro applications that have to interact more frequently, a “full-screen” Web Dynpro application containing all the components has to be implemented.

Regards

Suresh

Former Member
0 Kudos

Thanks for your replies.

I am still not clear on the relationship between Web Dynpro and EPCF.

Could some one tell me if we can avoid EPCF , i.e. the functions like subscribing to event, in Web Dynpro and use the concept of Context Mapping ?

Thanks for your time,

Kumar

achim_hauck2
Active Contributor
0 Kudos

Reddy,

if you want to use EPCF (Client-side eventing) within a WebDynpro application, you can do it with the WDPortalEventing helper class (as described at http://help.sap.com/saphelp_nw2004s/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm).

The WDPortalEventing class is the "interface" between the EPCF and WebDynpro.

Context Mapping has nothing to do with it.

kr, achim

Former Member
0 Kudos

Thanks Achim.

I got your point. Here I got a small question. Can we have more than one application in a Web Dynpro project ?

How does it work ? Do we get a new iView created for every application in the project ? Or do we normally do not use more than one application in a project ?

Kumar

achim_hauck2
Active Contributor
0 Kudos

Reddy,

you can have as much applications in a wd-project as you want. and then you can create for each application an extra iView in the portal.

in my projects, i ususally have many applications. but sometimes it makes sense to put all information in one application for that is created an iview (then you don't need portal eventing, you can use wd-eventing except of it)

kr, achim

Former Member
0 Kudos

Thanks Achim,

I wonder if we have two projects with two different applications. Can we have client side eventing between those two applications (I mean, does it matter if the applications belong to same project ? )

Thanks,

Kumar

achim_hauck2
Active Contributor
0 Kudos

Reddy,

wether the applications belong to the same project doesn't matter. but you have to make sure, that the corresponding iviews for the apps are placed on the same page in the portal (this is a prerequisite of portal eventing)

kr, achim

Former Member
0 Kudos

Thanks a lot Achim. I will work on the examples.

Kumar

Answers (1)

Answers (1)

phildeane
Participant
0 Kudos

Hi all

I assume that the Employee Search iView (replacement for the Team viewer in MSS ) uses the EPCF framework – has anyone managed to write an iView that interacts with it ?

And.. Has anyone successfully managed to use the EPCF between the ABAP and Java dynpro technology?

You may have guessed our plan is to have some custom components that subscribe to the standard Employee Search iView in MSS.

Cheers

Phil