Using events between EP iView and WD iViews

Hello all,
I'm sending an event from EP iView to WD iView.
it is working fine except i can't pass a parameter between them.
Does anyone know how to pass the parameter?
Thanks, Adi.

Hi,
> Is this documented
More or less, see http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/epcf_toolbox/com/sapportals/portal/prt/service/epcftoolbox/package-summary.html
> he can try "parameter1" instead of "dataObject"
> ...
> it basically a EPCF event
That's what I wanted to say, also this script generator cannot generate other JS calls than the JS-API provides. That's why I advise to check the generated code, to get an idea how these "registered parameters" work (if they do).
Hope it helps
Detlev
PS: If it doesn't help, just let the toolbox go and create the JS by yourself. If you really want more than one parameter, encapsualte them into one string like "myfirsparam=123;mysecondparam=456".

Similar Messages

  • EPCF between BW Report and Par IView

    Hi,
    Can anyone please let me know how can I pass some value from a BW reoprt to another iView which has been developed using JSPDynpage.
    Thanks,
    Vivek

    Hi Sharma -
    You are correct in guessing that you need to modify
    the BW Query template code. You need to incorporate
    Java Script in it. I am providing a sample code from the
    how-to document here.
    3.1 Example Code of the Sender iView <!-- BW data source object tags -->
    <object>
    <param name="OWNER" value="SAP_BW">
    <param name="CMD" value="SET_PROPERTIES">
    <param name="TEMPLATE_ID" value="IDES_BW_ABC_SELECTION"> TEMPLATE PROPERTIES
    </object>
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
    <TITLE>BW Web Application</TITLE>
    <link href= "MIME/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet">
    <script language=javascript>
    <!-- function raiseEvent(value) {
    EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWSetABCClassification", value, null );
    --> </script>
    </HEAD>
    <BODY class="SAPBEXFlexBoxFormBg">
    <form name="myform">
    <select class="SAPBexDdl" name="myselect" size="1" onchange="raiseEvent(document.myform.myselect.options[document.myform.myselect.selectedIndex].value);">
    <option value="PMC_ABC_L" > ABC Classification Vendors </option>
    <option value="PMC_ABC_M" > ABC Classification Material </option>
    </select>
    </form>
    </BODY>
    </HTML>
    There is a how-to document for integrating portal iviews
    and BW iviews using EPCF. Search in SDN with "BW", "Eventing"
    and "Portal" as search strings.
    If you need, I can send you some of the work I have done
    on the similar lines, if I can know your email address.
    Hope this helps,
    Prasad Nutalapati
    SAP America

  • Difference between IAC iview and Transaction iview

    HI Experts,
    Difference between IAC iview and Transaction iview................
    Higher points will be rewarded for useful inputs.......
    Thanks in Advance,
    Shakthi

    Hi Shakti,
    Transaction Iview is to navigate to required transaction eg se80 etc of backend ,it can be used for various purpose for eg to test weather SSO is properly configured or not if yes Transaction Iview should navigate user to mentioned transaction in the iview with out asking for user id and password.
    and IAC Iview is Internet Application Components
    please go through this link
    <a href="https://service.sap.com/~sapidb/011000358700000473342002E/">check</a>
    Internet Application Components(IAC) are complete business solutions for linking mySAP.com components to the Internet. With IACs users can access business information in mySAP.com components by starting SAP transactions, function modules or reports from a Web browser.SAP IAC is a productive way to programm to prgramm backen transactions in html
    for creation of IAC Iview ckeck this link.
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/6898dddb7afd44b07ca4e3bb15f676/frameset.htm.">creation of IAC IVIEW</a>
    Hope this works
    Please allot points if helpfull.
    Regards
    Vinit.

  • Standard iview and custom iview

    Hi,
    Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview?
    There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deals with this scenario.
    Please share your experience on the integration of Standard iview and custom iview.
    I have already gone through the sdn article on "Integrating MDM Item Details iView into a WebDynpro Application".
    Thanks and best regards,
    Arun prabhu S

    Custom Event Name - EPCFgetRecordByIds
    Any name will do here, so this is fine
    Event Type - EPCF ; Record Event
    Correct again
    Target (URL or Event Name) - getRecordByIds
    Again,... Any name will do here (this is what you will use in the wdDoInit to subscribe to)
    Namespace - urn:com.sap.pct.mdm.appl.masteriviews (?. not sure abt this)
    Though it should not cause an issue I would use something else, this might interfere with the standard iViews events (though they will probably have different event names). You should be able to just come up with your own namespace here
    Auto-Fire on Row Select - Yes
    Correct
    Parameter Format - Standard
    Correct
    Mapped Field - Record ID
    Here you select all fields you like to know the values of in the action-method of your webdynpro. Most likely this is record id or some other unique identifier of the record.
    Parameter name - ?
    Just give any parameter name. You will use this name to find that specific parameter in the string of your action method.
    I want the MDM record id of the selected record as an input.
    This is in the string if you configured the iView as above. Just print it to the screen on the action method.
    Can you please help me tell me how the record id gets passed from standard iview to custom iview?
    That should already happen by the subscribing to the event you did in the wdDoInit. Welcome to the wonderful world of eventing
    Jurjen

  • Portal eventing between WD java and BSP popup

    Hi guys,
    I have a WebDynpro application that opens a BSP popup like that :
    WDPortalNavigation.navigateAbsolute(
              wdContext.currentURLElement().getEvaluationURL(),
              WDPortalNavigationMode.SHOW_EXTERNAL,
              "directories=no location=no menubar=no resizable=yes status=no toolbar=no",
              "evaluationdeformation",
              WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
              urlParam.toString()
    When the popup is closed, I want to update the content of my webdynrpo application. I tried using portal eventing but it didn''t worked because the popup doesn't seem to know its opener....
    Is anybody have an idea ?
    Thanks in advance.
    Julien.

    Hi Julien,
    have you made sure that your BSP application is using EPCF? There is a flag you need to set to X in your BSP app for this to take effect. Also, you can not add javascript to a WD app, so calling the window.opener will not make any difference. However, you can subscribe to an event raised by another application in your WD app. It is possible to raise events between windows, one being a bsp and the other a WD or portal application. Check the following threads.
    [Portal Eventing: EPCMPROXY calls between two browser windows;
    [Client side eventing between MSS teamviewer and BSP application;
    Cheers,
    Dion

  • After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad. I need help

    After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad.
    Please help!

    After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad.
    Please help!

  • Can i display My application iview and transaction iview in single page ?

    Hi,
    I am new in web dynpro and portal. i am doing one approval application through web dynpro. Now i need to attache sap inbox to application. For that some budy suggested me about transaction view. So my questions are as folloes.
    1.> How i attached my application to iview ?
    2.> How i created Transaction  iview ?
    3.> Can i attache my application iview with transaction iview if it is possible then how ?
    4.> Can i display My application iview and transaction iview in single page ?
    Please guide me in this procesure.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    1.> How i attached my application to iview ?
           You can attach your application to web Dynpro IView, for this login into portal, in the Content Management tab right click on a folder, then New --> IView. Select WD java Application. Select your application and create an Iview.
    2.> How i created Transaction iview ?
           Similarly, instead of selecting WD java Application, select iView template, you will get a list of available templates, and in this you will find template for Transaction Iview, in this template define the Tx for which you want to create the template.
    3.> Can i attache my application iview with transaction iview if it is possible then how ?
          No, I dont think you can attach your application to transaction Iview. but, you can attach both IViews on single page.
    4.> Can i display My application iview and transaction iview in single page ?
          Yes, you can attach  both IViews on single page. Again in Content Management tab, crate a PAGE; Then right click on created IViews and select  add IView to Page ßß: Delta Link.
    Hope this helps.
    Regards,
    Amit

  • How do i set up apple account on iphone to use icloud between my iphone and ipad

    how can i set up apple account on my iphone 4 so i can use icloud between my iphone and ipad

    To set up iCloud on the iPhone and iPad, ensure your software for these devices is up to date.  Once it is, see the following article - http://www.apple.com/icloud/setup/

  • Is there any way I can use continuity between an iDevice and a Lumia? (The iDevice being an iPad or iMac)

    Is there any way I can use continuity between an iDevice and a Lumia? (The iDevice being an iPad or iMac)

    Continuity requires OS X and iOS. At least one of the devices you mention is lacking those... So no.

  • Can I use iSync between Address B and my mobile without .Mac?

    Can I use iSync between Address B and my mobile without .Mac?

    Yes, if you have an iSync supported phone.
    For 10.4+ see here:
    http://www.apple.com/macosx/features/isync/devices.html
    plus all the models supported by Phone Plugins from here and here.
    However, for your 10.3.9 Mac, your choices are severely limited:
    http://docs.info.apple.com/article.html?artnum=301039

  • Eventing between iView and nested iView

    I try to make an Event between an iView and an nested iView. I followed the instruction on page 164 in the reference guide and tried some other things, but it doesn´t work. I make an output Port on the one side, there i could select the fields to be displayed. But when I compose the Input Port , there are no field to see.
    So what make I wrong?

    Hello Marcus,
    the main thing about the desired eventing seems to be that when you have placed your data service in the nested iview you have to create a signal-in port<b> by pulling a data connection out of the input port of the data service</b> to create the input-port of your nested iView. Only this way, the port is filled with the input data of the data service.
    Back in your main iView you can connect the data flow to the newly created port of your nested iView the same way as you connect to a data service. You then should see the input fields of the data service that you placed in the nested iView and be able to assign values to the input fields.
    Hope that helps
    cheers
    Gerhard

  • MDM Custom Iview and Standard Iview Portal Eventing

    Hi
    I'm trying to develop a custom iview which updates a Standard MDM Result Set iview:
    I found this documentation:
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87cfd43e56f75e10000000a1553f6/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e39d4
    So i created an iview which raises this event
    WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews","updateSearch","ID=115551&RefreshSearch=True");
    Then i upladed my code in the portal, created a new iview and put it in the same page with a Result Set iview. During testing when i rise the event form the custom iview, the standard Result Set catch this event but instead of update it gives the following error:
    Error occurred: Error performing search. com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter,  com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter (see log for details)
    In SDN there is a thread with the same problem (Search Standard iView + Search Custom iView) which is not solved.
    Can somebody help me ?

    sorry, I have same task and tried same code for my alias, table and field.
         WDPortalEventing.fire("urn:com.sap.pct.mdm.appl.masteriviews",
                   "updateSearch",
                   "MDMSystemAlias=NSI_PRODUCTION_ALIAS&MDMTableName=Assets&R3Code=411000000000000006&RefreshSearch=True");
    I fire event  (for my alias, table and field)
    but not any resultset or Current Search on page is catching this search.
    please provide which options  must be set made for views on page so that result set to be updated,
    I hope this may help
    does it need to add some custom event to result set?
    thanks
    Edited by: Ivan Ivanov on Aug 21, 2009 3:49 PM

  • Connectivity between "SAP Connector and Java Iview".

    hi Experts,
    I have written a Java iview, and trying to connect r/3 by the java Iview, i am not able to track where i am goin wrong ?? Please help.
    Is there anyway to check whether the connectivity is been established or not.I am really confused.
    Code is :-
    package com.rr.ess.DynPage;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.metadata.functions.IFunction;
    import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
    import com.sapportals.htmlb.Button;
    import com.sapportals.htmlb.Form;
    import com.sapportals.htmlb.GridLayout;
    import com.sapportals.htmlb.Image;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.TextView;
    import com.sapportals.htmlb.Tray;
    import com.sapportals.htmlb.enum.InputFieldDesign;
    import com.sapportals.htmlb.enum.TrayDesign;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.resource.IResource;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sun.corba.se.spi.legacy.connection.Connection;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    public class TestDynPage extends PageProcessorComponent {
      public DynPage getPage() {
         return new TestDynPageDynPage();
      public static class TestDynPageDynPage extends DynPage {
          Tray mytray;             
          Image Logo;
          InputField myinputfield;
          Button mybutton;
          Button defaultbutton;
          TextView text;
          GridLayout mygrid;
          String message;
          String Str = new String();
          * Initialization code executed once per user.
         public void doInitialization() {
              IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("mymessage");
              if(this.message=="")
                   this.message = profile.getProperty("defaultmessage");         
          * Input handling code. In general called the first time with the second page request from the user.
         public void doProcessAfterInput() throws PageException {
         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();     
         InputField myinput = (InputField)getComponentByName("input");
         if(myinput != null)
              message = myinput .getValueAsDataType().toString();
         try{
              getConnection(request,"P35");
         catch(Exception e)
         public IConnection getConnection(IPortalComponentRequest request,String alias)
                        throws Exception {
                   IConnectorGatewayService cgService =
                   (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                   ConnectionProperties prop =     new ConnectionProperties(request.getLocale(),request.getUser());
                   IConnection connection = cgService.getConnection("P35",request);      
                   getSAPdata(connection);                              
                        return cgService.getConnection("P35", prop);                    
         public void getSAPdata(IConnection client) throws Exception {
                        /* Start Interaction * */
              try{          
                   IInteraction ix = client.createInteractionEx();
                                  IInteractionSpec ixspec = ix.getInteractionSpec();               
                                  ixspec.setPropertyValue("Name", "HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              Create IFunction instance
                                  IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
                                  IFunction function = functionsMetaData.getFunction("HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              CCI api only has one datatype: Record     
                                  RecordFactory recordFactory = ix.getRecordFactory();
                                  MappedRecord importParams      = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
    //                              Set scalar values
                                  importParams.put("PERNR", "1012");
    //                              Get scalar values               
                                  System.out.println("Invoking... " + function.getName());
                                  MappedRecord exportParams = (MappedRecord) ix.execute(ixspec, importParams);
                                  String scalar = (String)exportParams.get("URI");
                                  Str = scalar;     
                finally {
                   if (client != null) {
                        try {
                        client.close();
                        //("* Iview: Closing connection ok.");
                        client = null;
                              } catch (Exception e) {
                          //     logMsg("* Iview: Error closing connection.");
          * Create output. Called once per request.
         public void onPersonalise(Event event) throws PageException
         IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();
         profile.setProperty("mymessage",this.message);
         profile.store();
         public void onDefault(Event event) throws PageException
              IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("defaultmessage");
              profile.setProperty("mymessage","");
              profile.store();
         public void doProcessBeforeOutput() throws PageException {    
           // create your GUI here....
           IPortalComponentRequest  req= (IPortalComponentRequest)getRequest();
           //IResource rs = req.getResource(IResource.IMAGE,"images/CAR1.jpg");
           IResource rs = req.getResource(IResource.IMAGE,Str);
           Logo = new Image(rs.getResourceInformation().getURL(req),"Logo");
           Form myForm = this.getForm(); // get the form from DynPage      
           myinputfield = new InputField("Input");
           myinputfield.setDesign(InputFieldDesign.STANDARD);
           mybutton = new Button("mybutton");
           mybutton.setText("Personlise");
           mybutton.setOnClick("Personalise");
           defaultbutton = new Button("Default");
           defaultbutton.setText("Default");
           defaultbutton.setOnClick("Default");
           text = new TextView("fgfdg"+Str);
           mytray = new Tray();
           mytray.setDesign(TrayDesign.BORDER);
           //mytray.addComponent(Logo);
           form.addComponent(Logo);
           mygrid = new GridLayout(3,2);
           mygrid.setCellPadding(2);
           mygrid.addComponent(1,1,myinputfield);
           mygrid.addComponent(2,1,mybutton);
           mygrid.addComponent(3,1,defaultbutton);
           mygrid.addComponent(3,2,text);
           mytray.addComponent(mygrid);
           myForm.addComponent(mytray); 
    Points would be awarded to helpful answers.
    Regards,
    Sanjyoti.

    hi Prashant,
    Thanks for your reply.
    I am able to see the Iview with all the components(textfield,buttons).
    But the image is not displayed. and I am not able to check whether the connectivity is been established.
    in this part of code
    text = new TextView("fgfdg"+Str);
    I am assigning the value of "Str", which i get from R/3 to "text",
    but in the iview the value of "Str" is not displayed.
    Regards,
    Sanjyoti

  • ABAP Iview and BI iview

    I have ABAP webdynpro iview and BI 7.0 ivew(created in WAD) on page in portal.
    How can i send command(for sample REFRESH) or raise event from ABAP iview to BI iview?

    Thanks for all.
    I read your links and trying.
    1. I created simple web dynpro with one action (button):
    DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
      LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
      CALL METHOD lo_portal_manager->FIRE
        EXPORTING
          PORTAL_EVENT_NAMESPACE = 'urn:com.tkr.integr'
          PORTAL_EVENT_NAME      = 'REFRESH'
    *      PORTAL_EVENT_PARAMETER =
    2. I created script element in my webtemplate with ALERT command:
    EPCMPROXY.subscribeEvent( "urn:com.tkr.integr", "refresh", window, "setVarSequence");
    function setVarSequence(eventObj)
    aler('Hello world');
    3. I created iviews on page
    ID: com.tkr.integr.z_wda_abap
    ID: com.tkr.integr.url_bex_web_template
    But javascript ignore when i run action on abap.
    What am I doing wrong?
    I have a second question.
    Can I call sapportals:pagebuilder events in web dynpro?
    CALL METHOD lo_portal_manager->FIRE
        EXPORTING
          PORTAL_EVENT_NAMESPACE = 'urn:com.sapportals:pagebuilder'
          PORTAL_EVENT_NAME      = 'help'
          PORTAL_EVENT_PARAMETER = '{Id:null, Window:self}'
    Edited by: Konstantin Khrushchev on Aug 25, 2009 11:21 PM
    Edited by: Konstantin Khrushchev on Aug 28, 2009 8:42 AM

  • Single Sign on using SAML between JWS application and Web Application

    Hi,
    We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one let us know how to do this?
    Thanks,
    Rama

    Thanks. But it is based on two WEB applications deployed on two different weblogic domains. What I am looking for is one application which is launched using Java Web Start(JNLP) and other a web application. The Java Web Start application uses its proprietary authentication implementation and the web application used DefaultAuthenticator of weblogic. Hope this detail will help you to answer my question better. I should have given this information earlier.
    Thanks.
    Rama

Maybe you are looking for

  • Metro Apps All Crash On Startup - I have read the other threads on this

    UPDATE: I AM UPDATING THIS FIRST POST AS PEOPLE KEEP INCORRECTLY MARKING OUR ISSUE AS ANSWERED WHEN THEY HAVE NOT READ THE THREAD PROPERLY. AS SUCH I WILL START BY SAYING IF YOU ARE COMING HERE AND USING AVAST THEN YOUR SOLUTION WILL BE TO TURN OF TH

  • Printing problem on Deskjet F2280 connected to JetDirect en3700 (Scanning works)

    Hi, Recently acquired a JetDirect en3700 and after updating it to the latest firmware release (V.28.22.FF?) hooked up my trusty Deskjet F2280 to it. The printer is detected by the print server and I can scan pages using the Web UI but I can't print a

  • Verizon Internet Security Suite - says subscription ended but account is active

    After several attempts with Verizon reps to get our online backup increased from 50gb to 150gb, Verizon finally figured it out and now we have more backup memory.  However, in the process of doing that, Verizon went and terminated our internet securi

  • Version 9 for Mac Refuses to Open

    Hi, after having used this software for literally months, it now will not stay open.  Every time I attempt to open a new project, I get a brief spinning ball followed by a "Sorry a serious error has occurred that is forcing Adobe to shut down".  I ha

  • Header column row query

    Hi Generally when we query: select employeename, employeeaddress from employee Out come is: a1 b1 a2 b2 a3 b3 I have to write one query, in which i should be able to insert a header row. like: employeename employeeaddress a1 b1 a2 b2 a3 b3 As in abov