Trigger portal event from 3:d party application

Hi,
I have a Web Dynpro project with an iView containing a 3:d party application.
This application posts data (a few MBytes) to an URL (the URL is configurable), and I want a Portal Event to be triggered whenever this data is posted. Is it possible? Or is there another way to do this?
Regards
Emil Sandin

Hi, and thank you for your quick reply.
Here is a more detailed desciption of the project:
I have a Web Dynpro application which is supposed to use a 3:d party application to sign data.
This 3:d party application isn't at all related to SAP. The 3:d party application uses a Java Applet.
The 3:d party application works like this:
1) Receive data
2) Launch an applet
3) The applet posts the data to some url. I can choose which url to post to by configuring the 3:d party application.
The posted data can be a few MBytes.
I don't know yet exactly how to implement this, but this is my plan:
Include the Java Applet as an iView.
The applet posts the signed data, and somehow this triggers a Portal/Client event that sends the signed data back to the portal.
The portal handles saving the signed data.

Similar Messages

  • Raise event from 3:d party application in iView

    Hi, I have two iViews that should communicate with each other, one is a Web Dynpro app, the other is a 3:d party application not at all related to SAP.
    The 3:d party app is hosted on a different server within the same domain as the portal.
    My question: Can I make the 3:d party app raise an event so that the portal can forward data to the Web Dynpro iView?
    The portal has the url:
    http://saputv02.company-out.local:51300/irj/portal
    And the 3:d party app:
    http://s5721.company-out.local:8080/
    I included this in a JSP page on the 3:d party app:
    <script src="http://saputv02.company-out.local:51300/irj/portalapps/com.sap.portal.epcf.loader/script/optimize/js13_epcf.js?6.45000804"></script>
    <script type="text/javascript">
              EPCM.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", "Raise this text", null );
    </script>
    But I get the javascript error message: Access Denied.
    Is this possible to achieve?
    Regards
    Emil Sandin
         </script>

    In other words, the 3:d party app sends an event like this:
    <script src="http://saputv02.company-out.local:51300/irj/portalapps/com.sap.portal.epcf.loader/script/optimize/js13_epcf.js?6.45000804"></script>
    <script type="text/javascript">
              document.domain = "company-out.local";
              EPCM.raiseEvent( "company-out.local","myEventName", "a text");
         </script>

  • Calling Portal event from ABAP class

    Hi Experts,
    I need a following clarificatrion, Please help,
    1. Is it possible to call a webdynpro method from a normal ABAP class?
    2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    3. Is there any ways with which we can call portal event from ABAP class?
    Thanks,
    Shabir

    >1. Is it possible to call a webdynpro method from a normal ABAP class?
    I wouldn't necessarily recommend this approach. You shouldn't try to trigger events or any of the standard WDDO* methods from outside the WD Component itself.  That said, you can pass the object reference (like the WD_COMP_CONTROLLER object reference or the View Object Reference) into methods of normal classes.  Be careful if you are finding yourself calling a lot of your added methods from outside WD.  This is probably a sign that these methods should be in the Assistance Class or some other Class functioning as a Model Object.
    >2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    What exactly do you want to do here?  Do you just want to get the relaxation script?  For what purpose?  You should never need to inject the relaxation script into WDA. 
    >3. Is there any ways with which we can call portal event from ABAP class?
    To what purpose.  Do you just want to delegate the triggering of the event that is inside WD Component to be called from a class?  If so you can pass the portal API object reference into a class from the WD Component.  However this only works while running within WD.
    How is this class used?  Are you running in WD?  Are you trying to generate some HTML code that runs in the portal independent of WD?

  • Need a call a portal iView from a WebDynPro ABAP Application

    Hi,
    I have to call a portal iView from the WD ABAP application.
    The iView root is e.g.
    folder1/folder2/check_workset1/iView
    How can we call it using Absolute navigation or Relative Navigation.
    I just want to call this path.
    Can anyone provide me with a code snippet.
    Best Regards
    Sid

    Hi ,
    I am calling the following method in my action call of a Webdynpro ABAP View
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
      EXPORTING
        NAVIGATION_TARGET   = 'Roles://portal_content/xxxx._and_remuneration'
        NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL
       WINDOW_FEATURES    =
       WINDOW_NAME        =
       HISTORY_MODE       =
       TARGET_TITLE       =
          CONTEXT_URL       = 'http://xxx.xxx.adsint.biz:50000/irj/portal'
       POST_PARAMETERS    = ABAP_FALSE
       USE_SAP_LAUNCHER   = ABAP_TRUE
       BUSINESS_PARAMETERS =
       LAUNCHER_PARAMETERS =
    But it is still noot opening the page for me from the WD ABAP application.
    Can anyone let me know , what can be the reason.
    Best Regards
    Sid

  • How to call the RFC's from the third party applications or Non SAP applicat

    Hi,
    For calling RFC's from the wedynpro , SAP has provided the modeling concept.
    In the same way, if i want to access or call the RFC 's from the third applications or Non SAP applications what is the procedure and what is the methodoligy.
    As per my knowledge, we need to expose those RFC's as webservices . Then we must be able to acces in hetrogeous environment from any third party applications..
    Please revert back soon, It is very urgent.
    Regards
    Vijay

    Ayyappa Raj,
    Thanks for the reply.
    Please let me the detailed information for implementing.
    AS you said . I need expose the RFC's as webservice. This point is clear to me.
    2) Use tthe JCo to connect and create client proxy.
    Can u please elabrate the above point?
    If u have any steps created in the document or url to refer. Please forward it to me.
    Please forwar the document to this id "vijay00" in yahoo.
    AS the sdn is not allowing to give  the maill id i have given only the id details in yahoo.
    I am new to this procedure.
    Regards
    Vijay

  • Hey good day. i recently made a back up on my phone. then i took some pictures and videos. i accidentally restored the phone. some pictures and videos including pictures from my third party application were all gone. can i still have those back?

    hey good day. i recently made a back up on my phone. then i took some pictures and videos. i accidentally restored the phone. some pictures and videos including pictures from my third party application were all gone. can i still have those back?

    No. If you restored the device to an older backup, then the device was brought back to that date and time, which was before those photos were taken. When you restored the device, it deleted everything off the phone and replaced it with the earlier information.

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How can I trigger an event from an ABAP Program

    Hi everyone,
    I have a requirement, where I have to create an ABAP program, that has to execute (trigger) an event which belongs to a Process Chain. when I run the program, the Process Chain has to run.
    So, how can I do it?
    Thanks for your help, Federico

    HI ,
    The program can call function module BP_EVENT_RAISE to raise the event. you can create vent in sm64 and sm62 .There you give the parameter of the event same as what you will define in the event of start variant of your process chian ..
    Regards,
    shikha

  • Trigger DATA_CHANGED event from triggered DATA_CHANGED event in second ALV

    Hello,
    I do have 2 ALVs (class CL_GUI_ALV_GRID) in a Splitter-Control.
    Both ALVs do have registered the event DATA_CHANGED in seperate handler methods.
    If there is a change in first ALV(line insertion with values), there will be inserted a new line with values in the second ALV.  After handling the event at first ALV, I call CHECK_CHANGED_DATA of the second ALV and REFRESH_TABLE_DISPLAY of the second ALV. I would expect that the call of CHECK_CHANGED_DATA would trigger the event DATA_CHANGED, but it does not trigger the event DATA_CHANGED of the second ALV.
    The problem is maybe that the input at the data is not made by the user(UI).
    What could I do to trigger this event and check the new data at second ALV?
    Yours Joerg

    Hello ,
    yeah thats correct , but in your case what you can do is
    g_grid1(first alv) >CHECK_CHANGED_DATA( Importing E_VALID =  l_Valid )>in the implementation method of this ..update global variable g_second = 'X' in order to refresh ALV2.
    g_grid1(first alv) -->Refresh_table_display( ).
    if g_second = 'X'.
    g_grid2-->SET_TABLE_FOR_FIRST_DISPLAY. so it will refresh the second alv contents.
    endif.
    regards
    Prabhu

  • WD Abab - Portal Events from Employee Search

    Hi guys,
    I want to get the PERNR selected in Employee Search.
    I have two ivews,
    Employee Search and WD Abap.
    I´m using this source to subscribe the portal event.
    method WDDOMODIFYVIEW .
    data l_api_component type ref to if_wd_component.
    data l_portal_manager type ref to if_wd_portal_integration.
    l_api_component = wd_comp_controller->wd_get_api( ).
    l_portal_manager = l_api_component->get_portal_manager( ).
    data l_wd_view type ref to if_wd_view_controller.
    l_wd_view ?= wd_this->wd_get_api( ).
    call method l_portal_manager->subscribe_event    exporting
          portal_event_namespace = 'urn:com.sap.pct.hcm.orgmanagement:CurrentObject'
          portal_event_name      = 'objectChanged'
          view                   = view
          action                 = 'PORTAL_EVENT'.
    endmethod.
    What´s the action I have to implement ?
    And How I could get the PERNR selected ?
    Best Regards,
    Silvio Galery

    Do i understand you correctly that you are not getting the portal event ?
    This can be several reasons ?
    Both portal system and WDA server has to be in same domain and same proptocol to communicate with Portal event.
    Please check in that direction and search posts on this topic.

  • How to get Portal user from a standalone Java application

    Hi,
    I have a standalone Java application from where I need to fetch the Portal User Information like userid and email id.
    I am using the below line of code
    iUser = UMFactory.getUserFactory().getUserByLogonID("e017939");
    I have included the jar file com.sap.security.api , But it was giving me the below exception
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:55)
         at com.am.wcas.java.mailscheduler.kmaccess.FetchDataFromKM.getiUser(FetchDataFromKM.java:29)
         at com.am.ScheduleEmails.main(ScheduleEmails.java:89)
    and I am getting a pop Up message from the Java Virtual Machine Launcher, saying a Fatal Exception has occured and the Program will exit.
    Then I went throught he SDN threads and they asked me to include the
    logging.jar and com.sap.security.perm.api .
    I Included them, then also, it is giving me Exception
    java.lang.NoClassDefFoundError: com/sap/engine/lib/logging/LoggingHelper
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:56)
         at com.am.FetchKMData.main(FetchKMData.java:30)
    Exception in thread "main"
    and I am getting a pop Up message from the Java Virtual Machine Launcher, saying a Fatal Exception has occured and the Program will exit.
    Kindly let me know if it is possible to access the User info using UMFactory in a standalone Java application. If yes kindly let me know where i am going wrong.
    Regards,
    Shilpa B.V

    Hi Shilpa,
    1. Check that you have added com.sap.security.api within the Your Project>Libraries folder (under navigation tab) and also added jars in the build path of the Your Project under project>properties>Build Path.
    2. In case you have a DC instead of Web Dynpro Project then you have to add the com.sap.security.api under Your DC>Used DCs and have compile time and runtime dependency added.
    Here java.lang.NoClassDefFoundError is caused basically due to only build time dependency added and reference to the jar missing at runtime. Rest the code to retrieve the current user id using UME API and getUserByLogOnID("....") method with/without portal environment would not be an issue at all.
    Regards,
    Tushar SInha

  • Invoke an awt event from outside the swing application

    Is it possible to invoke an awt event triggered from outside the swing app? I am trying to implement a use case where i have to open a new tab in an already running swing app when a user clicks on a browser link.

    I have a desktop application that was invoked via webstart. The java webstart process started when the user clicked on a link that downloaded the swing application and now it runs in the clients JVM. Each browser click downloades and launches the application that performs a certain function. Now lets say, the user clicks on another link, then i don't want another java application to be launched. I want the same application that executes the function in lets say a new tab.
    Its kind of like you click on a link that somebody sent you in an outlook email. When you click on it and if firefox is already running, the link opens up in a new tab on an already running firefox browser. If firefox was not running, it starts a new firefox process.
    Hope this makes sense

  • Transfer of data from a third party application to SAP R/3 using PI

    Hi experts,
    I have a scenario where am supposed to transfer data from an application already developed to SAP R/3
    Just wanted to confirm if the following approach is right
    SOAP>PI>SAP R/3
    we would have an RFC defined on SAP. this would be exposed as web service on PI which means i define the outbound interface to be exposed to as web service. Source system calls up the webservice.
    Issues
    1. Authentication mechanism to be used
    2. type of adapter to be used between source system and PI. Assume either of SOAP or WS adapters would work
    Valuable inputs are appreciated
    Regards,
    Kalyan

    1. Authentication mechanism to be used
    Check this help section to know about the authentication mechanism:
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Check the Inbound Security Checks and the Security Parameters section.
    2. type of adapter to be used between source system and PI. Assume either of SOAP or WS adapters would work
    SOAP adapter should suffice...WS may not be needed.
    Regards,
    Abhishek.

  • Data ingest into Primavera from a 3rd Party application

    Dear Primavera community,
    Does any one know if a data ingest form a third party timekeeping application into Primavera 8.2.1.22 is possible.
    I was told that there might be a limitation and an upgrade to Primavera 8.3 is needed before being able to make any data ingests.
    Is that true?
    If not what capabilities in regards to data ingest exist for version 8.2.1.22
    Many Thanks
    chkl0003

    Hi,
    Bringing 3rd party data into P6 is certainly possible - they have exposed a few ways to do this. Primavera Web Services, Primavera Integration Programming Interface, Primavera Software Development Kit, Primavera Gateway or even just excel imports through the client.
    You can either code an integration interface yourself, get someone to code one for you or use an off the shelf tool such as Legare that takes the hard-work of coding away so you can just map the data.
    The one thing you can't do is just insert the data directly into the interface.
    Unfortunately I can't answer the one key question you might have which is can you insert the raw hour per activity per day - i'm not sure if this gets exposed through any of the interfaces, you can certainly add the data at an activity level but possibly not at the timesheet level like you would get if you were using the Primavera timesheet application (Progress Reporter).
    Regards
    Alex

  • How to trigger a event from simplet gui ?

    I have a very easy mainGUI whi extends JFrame          
    JPanel pnl = new JPanel();
    Container guiFlate = getContentPane();
    guiFlate.setLayout(new BorderLayout());
    guiFlate.add(pnl, BorderLayout.CENTER);
    setSize(300, 300);
    setVisible(true);
    setBackground(Color.blue);If the user clicks left arrow, rigth arrow or space on the keyboard, I want something to happen. I dont quite get where to put the keyListener. Ive tried adding it to the JLabel and the class itself, put I never get a outprint
    guiFlate.addKeyListener(new KeyListener() {
                   public void keyPressed(KeyEvent p) {
                        System.out.println("KeyPressed");
                   public void keyReleased(KeyEvent r) {
                        System.out.println("KeyReleased");
                   public void keyTyped(KeyEvent t) {
                        System.out.println("KeyTyped");
              });

    For a KeyListener to do anything, the component for which it is associated needs to have the input focus. So my guess is that your guiFlate thingy doesn't have the input focus when you're pressing the keys.

Maybe you are looking for

  • Using bind variables in user defined reports

    How do I go about using a bind variable in a user defined report? Here's a trivial example in SQL*Plus: var ublocksize number begin select value into :ublocksize from v$parameter where name = 'db_block_size'; end; select :ublocksize from dual; This c

  • How to Perform Failover When GAP on Standby

    hi , i want to activate my standby in read/write but i can't..i don't have archivelogs and i can't restore standby from incremental backup ALTER DATABASE ACTIVATE STANDBY DATABASE ALTER DATABASE ACTIVATE [PHYSICAL] STANDBY DATABASE (work) Begin: Stan

  • Document Icons

    I have MS Office 2004 installed on my MacBook and also the iWork '08 suite. I really like Pages and would prefer to use that for my Word Documents. I've selected a Word Document (.doc), opened the File Info, and changed the "Opens with" to be Pages.

  • ITunes store and the "Album Only" stuff

    Come on iTunes. Why do you have these ridiculous "album only" offerings. THE WHOLE point of iTunes is to be able to pick one song from an album if that is all you want. Why should I be forced to buy a whole album for ONE song? Who do I complain to??

  • Does Photoshop Elements 13 operate on a mac with Mac OS X Yosemite Version 10.10.1?

    Does Photoshop Elements 13 operate on a mac with Mac OS X Yosemite Version 10.10.1? Tech specs says "10.8 through 10.9. What does "through" mean in this situation?