Skip to Content
author's profile photo Former Member
Former Member

EPCM.subscribeEvent and Web Dynpro for ABAP

Dear all,

I have e business package installed (Assets 50.3) and one of the Iviews is raising an event that I wound like to suscribe in a Web Dynpro for ABAP - can I do that?

Link:

EPCM.storeClientData('urn:com.sap.bor:BUS0010','objid','3000-PUR-PC-02');EPCM.storeClientData('urn:com.sap.bor:BUS0010','AllKeys','objid');

<b>EPCM.raiseEvent 'urn:com.sap.bor:BUS0010','select'</b>,'','/irj/servlet/prt/portal/prttarget/pcd!253aportal_content

It looks like Javascript - so can I subscribe to the event "select" in web Dynpro for ABAP - and how?

Please help

Lars

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 11:23 AM

    I can't remember if you can add some javascript coding in Webdynpro ABAP but you should add something like this on your pages in order to listen events:

    <script language=javascript>          
      function handleEvent( ) {		 
        // do tricks here	  
      }
    	
      EPCM.subscribeEvent( 'urn:com.sap.bor:BUS0010', 'select', handleEvent );
    </script>
    

    Then you should read clientdata for retrieving objid etc...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.