Query on alerts in SAP UI5

Hello,
Could someone let me know how we can capture the value/text in the alert message in SAP UI5 coding?
I am able to capture the key but not the value.
The requirement is when I navigate from one tab to another within a shell control, I would like to get the text value shown in the alert message.
Best Regards,
Mohit

hi,
Setting up alerts
Setting up alerts in RZ20
Alert Management
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
Alert Notification
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
regards

Similar Messages

  • SAP UI5 Chart using SAP MII Query template

    Hi All, I am new to SAP UI5. I am trying to create SAP UI5 chart using SAP MII Query template. could anyone please tell me how to pass the Query Template as input to the SAPUI5 Chart? If possible please share sample code for doing so Regards Praveen Reddy

    Hi,
    If you want to embed UI5 objects in an IRPT here is a very simple code snippet:
    <HTML>
    <HEAD>
      <TITLE>TestUI5</TITLE>
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
      <SCRIPT>
      var Grid = new com.sap.xmii.grid.init.i5Grid(SpecifyDisplayTemplateHere, SpecifyQueryTemplateHere);
      Grid.setGridWidth("640px");
      Grid.setGridHeight("400px");
      Grid.draw("div1");
      </SCRIPT>
    </HEAD>
    <BOD
      <DIV id="div1"/>
    </BODY>
    </HTML>

  • Creating a search help with SAP UI5 and js?

    Hello com,
    I am trying to create a search help, collecting data from a table.
    Is there something similar to the typical ABAP search help in SAP UI 5?
    ABAP:
    PARAMETERS: lv_alias TYPE dsh_alias MATCHCODE OBJECT dashboard_alias_f4,
    I found this in the Demo Kit:
    // create a simple SearchField
    var oSearch = new sap.ui.commons.SearchField("providerSearch", {
            searchProvider: new sap.ui.core.search.OpenSearchProvider({
                    suggestType: "json",
                    suggestUrl: "/demokit/suggest?q={searchTerms}",
                    icon: jQuery.sap.getModulePath("sap.ui.core", '/') + "mimes/logo/txtonly_16x16.ico"
            search: function(oEvent){
                    alert("Search triggered: " + oEvent.getParameter("query"));
    //attach it to some element in the page
    oSearch.placeAt("sample4");
    But how can i connect it with the specifiy data table?
    Thanks,
    Domenik

    Hi,
    you need to create OData service which will retrieve (search) the required information and then need to create UI5 application to consume it.
    you can refer this blog How to Implement Value Help (F4) with SAP UI5 which covers both parts.
    if you are having SP08 version of SAP Gateway then creating search help is very simple. refer my blog Creating OData service based on Search Help
    Regards,
    Chandra

  • Query Through Alerts Managments For Due AMount

    Dear All
    Hoew to create Query through Alerts Managments for due amount after completion of Due date of AR Invoice
    Edited by: tjoshi1982 on Aug 26, 2010 2:16 PM

    Dear tjoshi1982,
    May I ask you why you need this query?
    In SAP Business One there is the opportunity to use the Dunning Wizard. If the information regarding the dunning information for every customer are set, when the Dunning Wizard runs it will tell inform which customer is late and which document s/he has not paid yet.
    Please, let me know if this alternative is interesting for you and if not, please let me know why you need this query.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Query based alerts

    Hi All,
    Like every company we have a situation where we buy item a and item b individually but sell as sets or stand alone as the customer requires. A major problem we have in our current system (not SAP B1) is that the min-max would never trip since it would consider the CURRENT / LIVE / OPEN Purchase orders.
    I want to set up a query based alert which tells me to
    1) buy item b every time I buy item a, and the quantity should be at least same or more.
    2) trip min-max keeping in mind that we need as many item b as the quantity of item a + a buffer stock quantity decided by us.
    Any guidance?
    Thanks!!
    Regards,
    YP.

    Hi Augusto,
    We do not have any links set up for the items. Just by our business dealings, we know that item A needs to be sold with item B, but the customer can choose to buy individually also.
    I want to avoid multiple part numbers for same item to cater for different scenarios. Only issue occurs when we are trying to manage the inventory levels and hence the question of query based alert.
    Our customer requires us to reflect "item a" and "item b" as part numbers on invoice, so we refrain from introducing a 3rd part number which will be the sales BOM made by using item a and item b as child parts.
    Hope I have clarified.
    Regards,
    Yash

  • Create Deep Entity in SAP UI5 - oData Model

    Hi,
    I am doing a CRUD project and want to perform a deep entity creation. I've an entity Student and another is Enrollment. A Student can have multiple Enrollments. For this, I've created Association b/w these 2 entities.
    Now from SAP UI5, i want to call create operation in which while creating Student record, i also want Enrollment records to be inserted into DB.
    I am trying to use the following code to create the required Data object.
    oNewEntry.StudentID = "000";        // Will be generated
    oNewEntry.StudentName = "Xyz";
    oNewEntry.Course = "ABC";
    oNewEntry.Age = parseInt(25);
    oEnrollment = {};
    oEnrollment.StudentID = "000";
    oEnrollment.CertificateID = "SAPUI5";
    oEnrollment.EnrollDate = new Date(2014,03,30,00,01,00);
    oEnrollment.CreateDate = new Date(2014,03,30,00,01,00);
    oEnrollment.Status = "X";
    oNewEntry.Enrollment = oEnrollment;
    oModel.create("/StudentSet",
      oNewEntry,
      null,
      function()
       alert("Student record created successfully!");
      function()
       alert("Student record creation failed!");
    I am trying the above code, but it always throw the following error.
    The following error text was processed in system GW1 : Specified value is not a valid value for the type of an XML document                                                                                                                                                                                           The error occurred on the application server XXXXXX. The termination type was: RABAX_STATE.
    Am i doing any mistake while creating oNewEntry object ? As I am able to create entity StudentSet & EnrollmentSet  individually but not as Deep Entity in one go.
    Please Help.

    you can refer this thread discussion Deep insert using Model.create()? which talks about parent-child entity relationship.
    also please mention navigation name as mentioned in the thread.
    Regards,
    Chandra

  • Unable to create a new view for SAP UI5 in NWDS

    Hi UI5 Profis,
    I'm just getting started with SAP UI5 and wanted to create and run my first application using the UI5 Tools wirh NWDS. After having installed NWDS and the UI5 Tools
    I create new SAP ui5 project, but the wizard always run into error, when I want to create new view.
    Did someone already have the same issue?
    Thanks in advance,
    BR,
    Berenger

    Hi Berenger,
    Which is your NWDS version?
    It seems there is a bug on view creation with 1.8.8 version:
    1814417 - Patched version 1.8.8 of UI Development Toolkit for HTML5
    http://service.sap.com/sap/support/notes/1814417
    Kind regards

  • How to configure alerts in SAP R/3 System.

    Hi,
       We have R/3 system installed in our system.Now i want configure alerts to display for users.How can i configure alerts in that R/3 System.Send me the realted information and links.
    Regards,
    Kiran.

    Hi Bhogi,
    The Alerts in SAP XI can be raised for error happening in:
    1. Adapter Engine
    2. Integration Engine.
    1. These Alerts are system generated in case anything happens in either of the component.
    For this you need to:
    1. Create ALert Category in the Trnasaction ALRTCATDEF
    2. Create Alert rules in Runtime Workbench--> ALert Configuration and associating these rules to Alert category.
    If you want you can do it without a BPM
    and throw an exception in case any of the values is missing:
    have a look at this weblog on how to throw exceptions
    in a nice way:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Also just go through Raising Exceptions in SAP XI Mapping and see if it helps you solve the problem.
    Also go through these links:
    Forwarding Alerts to Alert Management (ALM)
    Alert Management
    XI: Alerts - Step by step
    XI: Alerts - Troubleshooting guide
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f2243d711d1893e0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/f2bbc8142c11d3b93a0000e8353423/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/2166e6a91d11d188de0000e8216438/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/05/bb223905b61b0ae10000000a11402f/content.htm
    For a Simple case with BPM refer:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    To send an EMAIL, assign an EMAIL ID to the corresponding user in the transaction SU01 and then set up SCOT and you can send emails when the ALERT is triggered..
    Once you have configure Alerts, you will get the Alerts into ALERT INBOX in RWB of the user. To also get the email, the following needs to be done,
    1. In SU01 -- Assign the Email ID for the Recipient of the ALERT.
    2. In , RWB>ALERT INBOX> PERSONALIZATION--> Time Independent Delivery and Email are selected.
    3. Finally, SCOT needs to be set up to send Emails. Check this for the same. You can ask your BASIS team to do this step.
    http://help.sap.com/saphelp_nw04/helpdata/en/23/1edf098ea211d2b47300609419ed29/frameset.htm
    Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
    I hope it helps.....
    Reward points if this helps
    Regards
    Vani.

  • How to customize alert in sap PI 7.0

    Iam able to generate alerts using standard Alert configuration.
    In our environment , we have different namespaces for different scenarios.
    Now based on the error message, we need to categorize the mail to specific receipients.
    As I browsed through forums, I have got SALERT_CREATE rfc.
    But I didnot understand How to use that.
    Could any one helpout of it.

    Hi
    Check these documents. I think those will be help for you
    Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR
    Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 2 – ID
    Michal's PI tips: Component-Based Message Alerting

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

  • SAP UI5 is useful to create a website ?

    Hi,
    I am planning to learn SAP UI5. I have some doubts in this,
    1. Is SAP UI5 is used to create websites ? If yes, we need to use SAP is the backend support (database) for that ?
              I mean, we can use HTML to create any kind of websites, SAP UI5 is also works like that?
    2. What are the required softwares we need to run SAPUI5 ? Let me know where I can get that softwares?
    3. What is River RDE? How/Where we need to use this in SAPUI5 ?
    Give me any other suggestions to improve my knowledge on this ....
    Thanks in advance.
    Regards,
    Pavan A.
    Message was edited by: Pavan A

    Hello,
    Have a look into this link, it may helps you.
    Get to Know the UI Development Toolkit for HTML5 (aka SAPUI5)
    Regards,
    Murali Krishna.

  • CSS styling in xml in sap ui5

    Hi All,
    I am trying to apply css styles to xml views in sap ui5.
    I am successful in changing the font size of a text or changing the color of a label..
    But i am not successful in changing the style of  number and number unit in Object Header.
    <html:style>
          .myFont1 {
             font-size : 15px;
    </html:style>
    <
    <Page
      title="{i18n>DetailTitle}"
      showNavButton="{device>/isPhone}"
      navButtonPress="handleNavButtonPress" >
      <ObjectHeader  class = "myFont1" 
      title="{SoId}"
      number="LB0406S6GB 2.5 SLC 400GB Flash Drive"
      numberUnit="SDLB6S-400G-3103" >
      <attributes>
    <Page
      title="{i18n>DetailTitle}"
      showNavButton="{device>/isPhone}"
      navButtonPress="handleNavButtonPress" >
      <ObjectHeader  class = "myFont1" 
      title="{SoId}"
      number="LB0406S6GB 2.5 SLC 400GB Flash Drive"
      numberUnit="SDLB6S-400G-3103" >
      <attributes>
      <ObjectAttribute  text="{BuyerName}" />
    cc: Chandrashekhar Mahajan

    Hi Jose,
    Thanks for your reply
    I have declared my css style as you had suggested
    <html:style>
          .myFont1 .sapMOHNumber{
              font-size : 15px;
      </html:style
    and have called the css class this way
    <ObjectHeader 
      title="{SoId}"
      class = "myFont1.sapMOHNumber"  number="LB0406S6GB 2.5 SLC 400GB Flash Drive"
      numberUnit="SDLB6S-400G-3103" >
      <attributes>
      <ObjectAttribute  text="{BuyerName}" />
    But I am getting an error like :resource sap/ui/demo/myFiori/view/Detail.view.xml could not be loaded from
    ./view/Detail.view.xml. Check for 'file not found' or parse errors.
    Any clue pls?

  • Getting Java error while connect BEx query to WebI report (SAP BI4.0 )

    Not able to connect BEx query to WebI report (SAP BI4.0 ) . Below is the error I get while creating a new BEx connection to BOBJ WebI report .
    Please find the below error and help me ,
    "Select a BW Bex query window box "  displayed "Nothing to display " and server error as mentioned below
    Java.uti.concurrent.executionException: Com.sap.sl.sdk.repository.service.repositor******
    at Java.uti.concurrent.futuretask (Unknown source )
    at java.swing.swing.timer.fireactionperformed(Unknown source )
    at java.awt.event.invocationEvent.dispatch(Unknown Source)
    Thanks ,
    Pradeep Gorpadu

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • How to query an Infoset using SAP JCO APIs

    Hi
    How can I  query an Infoset (on SAP ECC) using SAP JCO APIs?
    Thanks

    Hi,
    Please use the DDIF_FIELDINFO_GET (standard) Function Module to retireve the details which you have mentioned.
    Thanks,
    Arun

  • Table creation in sap ui5

    Hi,
    I am new at SAP UI5 and i am trying to create a table.
    I used the code given on the sap ui5 demokit but when i am running the application the table is not displaying.
    can anyone help me with this.
    Thanks in advance.
    var aData = [
              {lastName: "Dente", name: "Al", gender : "male"},
              {lastName: "Friese", name: "Andy", gender : "female"},
              {lastName: "Mann", name: "Anita", gender : "female"}
      //table creation
      var oTable = new sap.ui.table.Table({
      title: "Guest House list",
      visibleRowCount: 3,
      firstVisibleRow: 2,
      selectionMode: sap.ui.table.SelectionMode.Single,
      //column creation
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Last Name"}),
      template: new sap.ui.commons.TextView().bindProperty("text", "lastName"),
      sortProperty: "lastName",
      filterProperty: "lastName",
      width: "200px"
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "First Name"}),
      template: new sap.ui.commons.TextField().bindProperty("value", "name"),
      sortProperty: "name",
      filterProperty: "name",
      width: "100px"
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Gender"}),
      template: new sap.ui.commons.ComboBox({items: [
      new sap.ui.core.ListItem({text: "female"}),
      new sap.ui.core.ListItem({text: "male"})
      ]}).bindProperty("value","gender"),
      sortProperty: "gender",
      filterProperty: "gender"
      //data collection
      var oModel = new sap.ui.model.json.JSONModel();
      oModel.setData({modelData: aData});
      oTable.setModel(oModel);
      oTable.bindRows("/modelData");
      //Initially sort the table
      oTable.sort(oTable.getColumns()[0]);
      oTable.placeAt("table");

    Hi Anshul
    it should be
    press: function() {
       oTable.setVisible(true); // or false
    am I right?
    -D

Maybe you are looking for

  • Key Stuck - *EVEN WHEN NO KEYBOARD CONNECTED*

    Hello The up cursor on the keyboard is stuck on. But it stays stuck even when no keyboard is connected at all. i.e. if you use the mouse to open a menu, the options will highlight from the bottom up. If you type a document the cursor will keep flying

  • Number of photos in ABOUT is different from actual number of photos in gallery

    Hello. I've been trying to save space on my iPhone 5. And it said on the 'usage' that my photo library is taking up 1.5Gb of the memory. That sure is big, so I deleted some photos. There were only a few that I deleted, and only a few left now. But in

  • How to view the certificate that a component has been signed with?

    Hi all, Been using java webstart deployment for a while so understand how to sign and deploy java applications. Question I have is how to view the certificate that was used to Sign a jar. For example, if I signed a jar "myComponent.jar" how can I the

  • SSID not visible (EA6500)

    Just installed my new router, and got a problem with the SSID for 2.4ghz. It's setup in this way that this is visible (at least according to the control panel) but none of my non-5ghz devices "see" the SSID. I have to input it manually. It does show

  • My phone screen keeps jumping?

    my iphone keeps jumping to where the screen is doubled and glitching?