Include and use custom variables in alert container.

Hi,
I want to include payload specific information in my alert mails. I am looking forward to this approach, to help my customer, directly understand the alert mail by pin pointing a few payload specific primary fields.
I have gone through a few blogs, forum threads and SAP help documents and all say that this is not directly possible in ALRTCATDEF. 
Please suggest how i can achieve this without using BPM.
Warm Regards,
Anshul

Dear Francis,
I have gone through this blog already.
To give you a jest of my scenario:
Itu2019s like ECC to PI to SQL synchronous communication. Now if there is a communication error between PI and SQL or there is an error on SQL then how can i use this UDF-RFC combination to raise alerts with payload specific information?
Would appreciate if you can give your inputs on this.
Warm Regards,
Anshul

Similar Messages

  • How do I...Mimic Replacement Path with Query using Customer Variable Exits?

    Hello SDN:
    We are on BW 3.5 SP16.
    We are currently using a replacement path Query(RP) with variables
    to populate a variable in another Query(T).
    The problem we are having is with performance.
    The entry of variables in replacement path Query(RP) is optional (This is necessary there cannot be required values)
    When results from Replacement Path Query are small performance is fine. (e.g. 10 seconds)
    When results from Replacement path query are large performance suffers. (e.g. 1+ minutes)
    Users are free to leave the replacement path variables empty resulting in a large set of data to be replaced. This is the worst performance case.
    We would like to discover a way to conditionally execute the replacement path query. That is if users do not enter values for the replacement Query(RP) variables do not execute the replacement path query(RP).
    Does anyone know if this is possible within reason and in customer exit space?
    We have reviewed the situation from all angles and the requirement for the replacement path FUNCTIONALITY and the freedom for the user to leave variable values blank remains.
    I've been searching and reading SDN and SAP notes for about a week and do not find threads which address this situation.
    We are also exploring Customer variable exits to mimic replacement path functionality
    (different topic subject="How do I...Mimic Replacement Path with Query using Customer Variable Exits?")
    Any help will be appreciated
    Many thanks
    David Schuh

    My appologies-I posted this message with the wrong subject. I will repost it with appropriate subject.
    dave schuh

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

  • Declare, Set, and Use a variable in a SQL Developer Query

    I come from the SQL Server world and am trying to do something very simple: Declare, set, and use a variable in a query. For example:
    Declare @lastPeriod date;
    Set @lastPeriod = (select max(payperiod) from table 1 where payperiod < current_date);
    Select field 1,
    Field2
    From table2
    Where payperiod = @lastPeriod
    The variable is going to be used in more areas in the query which is why I am simply not using a Sub-query in the where clause. I appreciate any assistance.

    This forum is for issues with the SQL Developer tool. You'd get more response in the SQL And PL/SQL forum.
    That said, read up on bind variables and substitution variables.
    Whenever you can you should use Bind variables (e.g. *:lastPeriod* ), as they increase performance. In sqldev, there's no need to declare as you will be prompted to enter them on execution (F9), but you do if you execute as script (F5) (e.g. VARIABLE lastPeriod VARCHAR2(30);).
    Alternatively, Substitution variables (e.g. *&lastPeriod* ) will literally be substituted in your statement before the database parses it. In sqldev, there's no need to declare as you will be prompted to enter them on execution (either F9 or F5), but you can (DEF lastPeriod='TEST'; ).
    Have fun,
    K.

  • Code hints don't work - include files using a variable

    In Dreamweaver CS 5.5 code hints didn't work properly.
    DW would not look at my code and find the include files and look at the functions inside them when using a variable to make an absolute path, which is the best way to include files in PHP (its faster and more reliable on your web server)
    Here is an example:
    ======================================
    public_html/util/util_index.php
    $DIR_MAIN            =dirname(dirname(__FILE__).'../');
    require_once "$DIR_MAIN/init.php";
    my_function(#CODE COMPLETE DOES NOT WORK HERE
    public_html/init.php
    $DIR_INCLUDE=               "$DIR_MAIN/inc";
    require "$DIR_INCLUDE/common_functions.php";
    #set up environment variables
    #connect to the database
    #etc
    public_html/inc/common_functions.php
    function my_function(param1, param2, param3) {
    =======================================
    Has this been fixed in Dreamweaver CS6 or should I wait until CS7?
    Until this works, I prefer Notepad++

    I made a full SQL Developer installation with Java included, so I suppose that the included version is used.
    After a problem with the German Version I tried to switch to English Version by using the hint:
    link: 1.5.4 export insert statements
    I changed the content of sqldeveloper.conf and now again the code templates (strg-shift-t) don't work!!!
    (I already rebooted and set the accelerators to default, but it didn't help now.)
    This is the content of my sqldeveloper.conf now:
    "IncludeConfFile ../../ide/bin/ide.conf
    AddVMOption -Dapple.laf.useScreenMenuBar=true
    AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
    AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
    AddVMOption -Dcom.apple.macos.smallTabs=true
    AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
    AddVMOption -Dsun.java2d.ddoffscreen=false
    AddVMOption -Dwindows.shell.font.languages=
    AddVMOption -XX:MaxPermSize=128M
    IncludeConfFile sqldeveloper-nondebug.conf
    AddVMOption -Duser.country=US
    AddVMOption -Duser.territory=US
    AddVMOption -Duser.language=en
    "

  • Problem deploying and using custom Tags in jar files

    I am trying to create a custom tag library of Java classes, package them in a JAR file, and use them in another web application. Here is the JAR file structure, named mytags.jar:
    META-INF
    META-INF/manifest.mf
    META-INF/taglib.tld
    mytags/FooBar.class
    mytags/Another.class
    ...Here is the taglib.tld file:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <taglib xmlns="http://java.sun.com/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
    version="2.0">
       <tlib-version>1.0</tlib-version>
       <short-name>foo</short-name>
       <uri>fooTags</uri>
       <info>My tags</info>
       <tag>
         <name>fooBar</name>
         <tag-class>mytags.FooBar</tag-class>
         <body-content>empty</body-content>
         <attribute>
           <name>name</name>
           <required>false</required>
           <rtexprvalue>true</rtexprvalue>
         </attribute>
      </tag>
    </taglib>The FooBar class has getName(String) and setName() methods.
    In the web application, I have copied mytags.jar into the WEB-INF/lib directory. I've verified that it lands in the corresponding directory for my appserver (I'm using Tomcat 6.0.10).
    Here's the header for my JSP:
    <%@ page language="java" contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib uri="fooTags" prefix="foo" %>
    <foo:fooBar name="dummy" />
    ...When I access my page, the browser sits there and spins, not able to do anything. I know that some of the content is executed, but it is not able to get to the fooTags. I have tried replacing fooTags with WEB-INF/lib/mytags.jar, to no effect.
    According to the docs, I should not need to include anything in web.xml to reference the fooTags. The tag library classes are valid, since I used them as local tags prior to moving them into a Jar library.
    Any help would be appreciated

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • Creating custom variable I/O container

    In reference to: http://zone.ni.com/reference/en-XX/help/371361J-01/lvioscanhelp/blockioaccess/
    I am attempting to optimize performance when reading/writing I/O variables through the scan engine. Since I have many variables with different data types, I cannot access the variable container directly as in the example above. However, I have variables of identical data types which exist across several variable containers which I would like to access in this method.
    My question: Is it possible to construct a variable container from muliple variable objects so that I can use the method above for optimization?

    Hi psears,
    If I understand correctly, you have I/O variables of varying data types that you would like to be able to read/write using the same code.  To do that, you would need to programmatically determine the data type associated with each I/O variable and supply it before the container is accessed.  This is unfortunately not a possibility, because the Scanned Variable Read function requires a data type input, as do all of the shared variable access methods in LabVIEW.  
    You could, however, programmatically list all I/O variables and "sort" the names of variables with like data types into arrays.  This would require you still needing to know what the data type of each variable is, but if the number and arrangement of variables do not change this may only need to be constructed once.  After you have arrays of like variable names, you could re-use the method you are looking into in an auto-indexed FOR loop to read all like variables.  I agree that this is not the cleanest method that could be conceptualized, but I thought I would offer the idea to see if it could help with your thought process.  
    Additionally, the NI Distributed System Manager should be able to tell you what the data type for each I/O variable is a fair amount quicker than searching through the hardware in the Project Explorer window of your application.  You may need to ensure that you have the NI System State Publisher installed on your hardware.  
    Let me know if that helps and whether you have any further questions!
    | Zach J. | Applications Engineer | National Instruments |

  • Import and use custom Illustrator Symbol Library in Photoshop?

    I would like to import and use my own (project-specific) Illustrator Symbol Libraries in Photoshop
    Background info
    - I create BIG amounts of assets (for UI design) in Adobe Illustrator which I save as Symbols.
    - I store these symbols in a custom symbol library so I can re-use them in a different file
    - Reason A: to be able to re-use these symbols within the Illustrator file to visualize different "interaction flows" to my clients
    - Reason B: I use vector assets because they allow me to accomodate for different screen resolutions in the future
    Wish
    A:  I would like to be able to open the same symbol library I created in Illustrator in Photoshop and drag the symbols onto my Photoshop canvas
    B:  If I change a symbol in Illustrator it should be updated in my Photoshop file
    Question
    - Does anyone know of a way to do this? A work-around, a plugin or a Script would be fine too...
    regards, Koen

    B:  If I change a symbol in Illustrator it should be updated in my Photoshop file
    Check out this Panel:
    http://www.ps-scripts.com/bb/viewtopic.php?f=27&t=3045&sid=70f368dca9bfd96f3c974ee11b798f9 7
    But that is for placed Smart Objects, and would affect changed Symbols in ai-files naturally only if there were instances of them in the document.
    Basically I find what you are asking pretty unrealistic* and would be surprised if an easy solution would be forthcoming.
    Scripting might offer possible work-arounds that use BridgeTalk to get Illustrator content over to Photoshop, but that would probably be slow and not meet what you are expecting.
    The possibly easiest approach might be to have a Script create a new Layer and place one Symbol on it for each one of the Symbols in Illustrator, then save a psd with Layers.
    Why do you need the Symbols in Photoshop anyway, if I may ask?
    Edit: *) unrealistic in terms of the functionality currently being realizable with a reasonable expenditure of resources; but I’m admittedly a layman with regard to that.

  • How to add and use custom javafx2.2.3 HTMLEditor skin .properties file

    Hallo, I'd like to know if there is a (not necessary officially supported) way to use custom HTMLEditorSkin.properties in javafx 2.2.3.
    The original file/files are located in jfxrt com/sun/javafx/scene/web/skinIf there is no way to do that, can something else be done to change languege strings and icons for HTMLEditor?

    See this thread.
    Error Installing Groupware Portlets for WLP 10.3.2
    Brad

  • Using a Meter control in LV Touch Panel, and using shared variables that are custom controls.

    I Just started using LV touch Panel module with an NI TPC-2106.
    I have two differenct problems:
    1) I was planning on using the "Meter" control quite a bit. I can set up the meter exactly how I like on the host PC, but on the touch Panel computer it seems to ignore my adjustments, mainly the start and end of the scale - i.e. I would like control to run from 0 to 360 with 0 straight up, using the entire circle. However, on the Touch panel computer it always puts 0 at about 7 o'clock and 360 at about 5 o'clock. I have also tried adding markers to no avail.
    2) I am communicating with a compact fieldpoint controller. I can creat a shared variable that is a simple double with no problems. However, I have some shared variables that use a custom control for the variable type - bascially a cluster with a couble doubles, a time stamp, and an enumeration. It lets me drag the shared variable into my diagram, but it seems to ignore it when I run it.

    Ipshita_C,
    - I am using LV 8.6.1f1and LV Touch Panel 8.6.1.
    - I have attached a simplified VI that shows how I want to use the meter. Notice that the placement of the endpoitns does not work correctly on the touch panel, and that it ignores the arbitrary markers that I placed.
    - I also have included an XY graph control that displays on the TPC with margins around the graph area that I removed from the graph control.
    - For the shared variable, it appears to be an issue related to the touch panel, not fieldpoint. I found another thread in this forum that mentioned that clusters containing Enumerations do not work in shared variables on the touch panel. I changed the enumeration to an integer and it now works fine.
    In general, there seem to be a disappointing number of limitations in the touch panel implementation. My biggest concern is that I have not found any documentation from NI that lists these limitations. I seem to have to try things out and see what works and what does not work. Can you point me to a comprehensive list of touch panel modules limitations?
    Attachments:
    test 2.vi ‏10 KB

  • Need Ideas for creating and using Custom Business Object

    Hello Guys,
    I am developing an application which uses a Request->Approve->Create approach for creating Purchase documents.
    Now I am a little puzzled about how to make use of the Business Object BUS2014.
    The application I am developing has its own unique 'Request Number'  (say REQID)  which will point to the Request for Creation of a purchase order.
    Whenever a Request is created (from a Z-Tcode) a workflow needs to be initiated and it has to be sent to the approver.
    The Purchase Document will be created once the approver approves.
    Now my confusion here is, if I use BUS2014, the object will be instantiated only during the final step of the workflow. But I need an instance during the beginning of the Requestor ->Approver negotiations as I am playing with events. These events needs an Object_key.
    How should I proceed here?
    Should I create a new logical Business Object like ZPOREQ where I have the above mentioned REQID as the key?
    And should I have an attribute of type BUS2014 inside the custom BO?
    How will I make use of the methods like BUS2014.Create etc which I may need to create the purchase document?
    Any small direction will be a huge help for me to get used to this wilderness.

    Hi,
    You should continue with the ABAP class idea. The business objects are kind of "obsolete" already, and if there is a need to create a new "object", ABAP classes are the way to go. Business objects are still useful, but I normally use them only when an existing standard business object fulfills the requirements (possibly with slight additions) which is almost never. 
    From my point of view you can use the existing class. Depending on the circumstances I normally have just one class that I use for both workflow and the possible other functionality that is required, but you have to understand that I have this goal in my mind already when starting the development process. As your class most probably has many useful features already (such as you have the header and item data as attributes etc. (if I understood correctly?), these are also useful in in workflow (class attributes will be available in WF container etc.). 
    If you are hesitant to use the same class directly in your workflow, you could also create a new class ZCL_REQUEST_FOR_WF (with the workflow interface), and then simply add your existing class ZCL_WF_REQUEST as an attribute to this new class. Then this new workflow class could include the pure workflow stuff, and your existing class the non-workflow stuff. But this most probably will not make much sense - just implement the if_workflow interface in your existing class (this is just one possibility that you might consider.)
    Regards,
    Karri

  • How to declare and use a variable in BI Publisher report

    Hi Experts ,
    I have to groups of serial numbers and both group are put in same table and same row one after another , and i have a condition that if no serial number is present in both group than the line of that table should not be appeared ,i used the condition region ,biut this condition region is working in single group case if i put both groups together ,the blaing line appears with its label ,I think if i will have have variable which can count the total present of serial number than I cant put a single condition ,would you please help me ,how can I declare a variable and how can i count the number of serials in both groups ,please find below the example
    <grp1><?SR_NUM1?><end of grp1> <grp2><?SR_NUM2?><end of grp2>
    above example is how i am printing now ,now i need a combined condition where if bot group do not contain any value then this blank line should not appear . thanks in advance.
    Thanks
    Pratap

    Hi ,
    Decalring the Varible :
    <?xdoxslt:set_variable($_XDOCTX, 'var', 0)?>
    Do the calculation :
    <?xdoxslt:set_variable($_XDOCTX,'var', xdoxslt:get_variable($_XDOCTX,'var‘)+ XML columnname)?>
    Display the Variable :
    <?xdoxslt:get_variable($_XDOCTX, 'var')?>
    Declare the varaible before your loop starts.Do the calculation part inside the loop so for each row it will be updated.
    Display the results where you want using the form field and place the display varaible syntax.
    Hope this will helpful for you.
    Thanks,
    Ananth

  • Doubt in Decode and Using Temporary variable

    I was facing the following issue,
    For example,
    The column_name if A should be stored with the value B or, with itself for which I included a statement as following,
    Case [1]
    SELECT ....DECODE(column_name,'A','B',column_name) alias_name
         FROM table_name
              WHERE condition;
    But,
    when i used a temporary variable as following i could not get the expected change,
    Case [2]
    SELECT ...column_name
         FROM table_name
              WHERE condition;
    temp VARCHAR(10);
    BEGIN
    IF column_name='A' THEN
         temp:='B';
    ELSE
         temp:=column_name;
    END IF;
    END;
    I was able to get the right output in Case[1],but failed to get in [2]. Please help and Thanks in advance.

    Without seeing your code, whatever I can say might be just an assumption. I can give an example to show that it will work.
    SET SERVEROUTPUT ON
    DECLARE
      var      VARCHAR2(10);
      col_name VARCHAR2(30);
      TEMP     VARCHAR2(20);
    BEGIN
      SELECT column_name
      INTO col_name
      FROM user_tab_columns
      WHERE table_name = 'EMP'
      AND rownum       =1;
      IF (col_name     ='EMPNO') THEN
        temp          := 'X';
      ELSE
        temp := col_name;
      END IF;
      var := 'abc '||temp;
      dbms_output.put_line(var);
    END;
    OUTPUT :
    abc X
    PL/SQL procedure successfully completed.

  • Getting the GUI to access and use changed variables

    Hi,
    I'm trying to implement a GUI which when you click the new button, a new Jframe appears on screen. The user then selects an item from a list and clicks ok. The item they select is then used as an argument to call a method from the system class. The problem is when I run the program, the GUI gets the values of the variables from the system class, before the new button and the item are selected. How can I make the Gui get the new values.?? Any help would be great as its doing my head in,
    cheers

    The problem is when I run the program, the GUI gets the values of the
    variables from the system class, before the new button and the item are selected. No idea what you are talking about.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Is it possible (without jailbreaking)  to make and USE custom Text tones?

    Anyone?? I figured out custom ringtones with itunes etc (is it me or is itunes on a windows system complicated? lol..probably me....) but can you create and add your own text tones...and also can you have different tones for text, voicemail etc?
    I am new to iPhone (had ipod touches which is very similar) prior to this just had a regular verizon envy touch phone...
    Responses appreciated y'all

    It is possible, I have custom ringtones on mine without jailbreaking using Windows 7 iTunes. Here is how to do it:
    1. Using iTunes, select which song you want to create a ringtone from.
    2. Right click the song, select Get Info, and go to the Options tab.
    3. Choose a start time for where you want your ringtone to start. Add 30 seconds to that number, and input it into the stop time (to make a 30 second ringtone). Select OK.
    4. Create an AAC version by either a) right clicking the song or b) selecting from the Advanced menu at the top of iTunes.
    5. After creating the AAC version, you should be able to see it in iTunes. Right click the song, and select Show in Windows Explorer.
    6. In Windows Explorer, right click the song and hit rename. The file will look something like "Ringtone.m4a"
    7. Change the name to "Ringtone.m4r" (Note: if you don't see the .m4a extension or can't rename it, there is an option in Windows to allow you to rename file extensions)
    8. After renaming, drag the song to your iTunes, and iTunes will automatically create a "Ringtones" folder, and will sync to your phone.
    Enjoy!
    (Don't forget to change back the start/stop times in your original song)

Maybe you are looking for

  • How do I make Merge operation into the target table case insensitive?

    Hi All, We have a target table that has a varchar 2 column called nat_key and a map that copies over data from a source table into the target table. Based on wheteher the values in the nat_key column matches between the source and the target, an upda

  • File and Making Directories on Mac

    I hope I put this question in the right place. I recently found out it is possible make directories using from the File class (.mkdir()), and I've been trying to use it in my program on my Mac, but it doesn't want to make the folder. I don't know why

  • Change of ownership and warranty

    I have bought an ipod touch registered in my friends name in december 2007 -does the apple warranty of a year still apply if I then own the ipod touch and not who it was first registered with ?

  • Abobe CS6 trial version

    I would like to rotate a letter in a text about 10-15 degrees counter clockwise ( see link below) but only have the 30 day trial version and there are limited options available in the EDIT and the free transform is unavailable. Is that all the option

  • Questions for  0B0 102 Weblogic 8.1 Portal Certification ?

    If anybody has sample questions for 0B0 102 Weblogic 8.1 Portal Certification , pls let me know. Jibu