Container Variable for Alert Category

Hello,experts!
Is there standard container variable to add a name of Alert Category to the text of alert?
BR,
Vika

Hi,
You can try with SXMS_RULE_NAME-Description of the alert rule with which you can get the alert rule but not category I think....
Please refer this http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00e97ba2-85ce-2b10-20bc-bc05cd172154
Regards,
Priyanka

Similar Messages

  • Container for alert category could not be loaded

    Hi All,
    I am having very strange issue with container(Variables).
    I defined Alert category, created container elements and I was using them in long and short text. They were working fine, but now if I open Alert category and click on container tab, its says: Container for alert category could not be loaded and I dont see container elements that I created before. Same thing happened before and I re-created those container variables. But now I have many Alert categories. Is this an existing issue? or does any body having similar situaltion? Can anybody please provide information on this.
    Thank you,
    Indrasena

    Hi Moorthy,
    Thanks for your quick reply . We are on WAS 6.40,SP16, but SAP note 656488 is released on 01.09.2003 for 620, it should have been implemented alreay. Do you think we still need to implement that???
    Thank you,
    Indrasena

  • Container variable for softw component/version in alert configuration

    Hi Experts,
    I am unable to find the container variable for SWC/SWCV in the sap help..
    do we have anythign for this?
    I have used all the other variables like msg ID, sender/rcvr interface etc.
    Pls share ur thoughts
    Regards,
    Teja

    I am unable to find the container variable for SWC/SWCV in the sap help..
    do we have anythign for this?
    you dont get a variable for SWCV....if your alert is related to a process X and if process X is related only to SWCV_A then you can hardcode the same into your alert Long/ short text which you define in the alert category.

  • Container Element in Alert Category

    Hi,
    Any one can tell me what is the use of container element in Alert Category.
    While creating a container variable there is an drop down for Object type.When we go for each of these object type.
    When i selected the object type as 'XML object type '  i could be able to see all the abstract interfaces and the fields that are created in the IR.I am able to select that field in the long text tab also.
    But the value of the field is not getting reflected when an alert message is triggered.
    Am I in a right track or doing anything wrong?Can i directly access this field in the long text?
    Regards
    Divia

    Hi Sreedivia Narath,
    Go through this blog for alert configuration by Michal. Its a beautiful blog and explains about the container variables:
    The specified item was not found.
    Thanks and Regards,
    Sanjeev.

  • Container Variable in Alert Cat

    Hi,
    I have a FTP To FTP scenario, where I have to handle alerts if any error occurs in PI. For Example FTP Password is changed in the Target system and not updated in the Receiver Channel. Obviously the Adapter throws an error saying the Password is wrong.
    My motto is to send an alert mail to External ID with the details of the Error occurred in the XI and the name of the file for which this error occurred.
    As the Container Variable are limited in the Alert Category, how can I catch the file name for which the error occurred.
    Could some throw light on it.
    Thanks
    Azias

    You can use this link to see How to raise Alerts with variables from the messages payload XI:
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    USE THE FOLLOWING UDF TO GET THE VALUE OF THE SOURCE FILENAME AND STORE THE VALUE OF THIS SOURCE FILENAME IN AN EXPORT PARAMETER NAMED "exportParam" declared under the Signature tab of message mapping:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    GlobalContainer gc = container.getGlobalContainer();
    OutputParameters params= gc.getOutputParameters();
    if(params.exists("exportParam") == true)
              params.setString("exportParam", ourSourceFileName);
    return ourSourceFileName;
    Then use the value of this export parameter exportParam to raise an alert in BPM control step where you can easily use the value of this parameter in the short or long text of alert.
    For this, you need to create a container variable in BPM of category SimpleType and Type as xsd:string  with some name say "param".
    Then in the alert text, you can make use of this parameter as &param& to get its value in alert short or long  text.
    Thanks
    Biswajit
    Edited by: 007biswa on Feb 12, 2011 11:07 AM

  • Multiple alert rules  for alert category?

    Hi,
    I have created Alert Categories and assigned Alert Rules for them. <b>Can I assign multiple Alert rules for the same alert category?</b> I mean RTW--> Alert Configuration lets me do it. But when I test it by running report RSALERTTEST, I could get only error for one alert rule, even though I defined multiple alert rules. I haven't tested with real error out scenarios. Any update on this would be helpful.
    Thanx&Regards
    Navin

    Hi Navin,
    1) the report requires authorization object S_XMB_AUTH with area MONCONFIG and activity 02. It's actually part of the standard role SAP_XI_ADMINISTRATOR_ABAP.
    2) sorry, don't know that, but you might want to check SAP Note 913858 for troubleshooting the alerting. it contains the following statement:
    <i>Q10: Why are sometimes certain error categories (e.g. SXMS_TO_ADAPTER_ERRTXT) not filled?
    A10: This is due to an error in the Business Object Repository when the value of a container variable exceeds 255 characters. Please implement the correction described in note #947738.</i>
    3) You can configure alert rules for the way from the sender to the BPM and from the BPM to the sender. If anything happens in that communication you will get an alert. However as far as i know, the only way to trigger an alert for something that happens within the BPM is by using an according control step.
    Regards
    Christine

  • Container variables in Alert monitoring

    Hello
    I am having interfaces without BPM and I am trying to use container variables facility for that. I defined the container variable in the transaction ALRTCATDEF in which I gave element name same as one of the element from payload.
    My alerts are getting generated but I could'nt see the value populated inside that variable. Does anyone know how to populate that variable. I checked on help.sap.com but there they have mentioned about populating container varaibles through workflow.
    can we use those in normal interfaces i.e. without BPM?
    Thanks in advance.
    Regards
    Rajeev Patkie

    Hi Rajeev,
    Generally, only a certain number of variables' values can be used in the container and text. This list is given here:-
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    But, I think you will be able to give even application specific values in the alert message. Just check with the following two documentations, also take care of the naming conflicts:-
    1. http://help.sap.com/saphelp_nw04/helpdata/en/53/02153cdcf89e56e10000000a11405a/frameset.htm
    2. http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm
    Regards,
    Sushumna

  • Container Variable in Alert

    Daer Experts,
    I m trying to configure Alert and in the Long Text, I want to pass  the value of an element in the pay load.
    What I believe that, I have to create a container variable .
    I think that while creating container variable, under D.TYPE Tab, the radio button "Object Type" is to be selected and Object Type should be  "XML OBJECT TYPE" . When I m clicking on F4 button,I am getting a list of Objects. How I'll include mine in the list?
    Pls let me know, is there any other way to do?
    Please give some  solution.

    Hi,
    check the following links
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    list of standard container variables:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    check these too..
    1. http://help.sap.com/saphelp_nw04/helpdata/en/53/02153cdcf89e56e10000000a11405a/frameset.htm
    2. http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm
    I don't think we need to create container variables...we can make use of the existing ones.
    Thanks,
    Vijaya.

  • Variable values in Alert Category

    Hi Experts ,
    I have all the Alert Category and the respective configuration set.
    I am also getting email for the error.
    But the standard variables like
    SXMS_FROM_SERVICE
    SMXS_TO_SERVICE
    SMXS_FROM_INTERFACE
    SXMS_FROM_NAMESPACE     are not gettng populated.
    Please suggest what could be the error or anythng tht could be the reason for this.
    Thanks in advance.

    Hi thomas,
    Did you are using a BPM design to trigger the alert,
    if yes ..
    You cannot use these container variables for alerts of the Business Process Engine (BPE).
    Please refer the link..
    http://help.sap.com/saphelp_nw70/helpdata/EN/d0/d4b54020c6792ae10000000a155106/frameset.htm
    Hope this helps you
    Sunil.

  • Using Standard Container Variables in Email Alerts from BPM

    Dear All
    While creating alert categories from ALRTCATDEF we have a Long Text Tab where we can use Container  Variables like  SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT , SXMS_ERROR_CODE etc create the mail contents.  We can also display the message passed by the BPM by using the variable
    ALERTDYNAMIC_SHORTTEXT , ALERTDYNAMIC_LONGTEXT .
    In my case when I call the alert category from the BPM , the message passed by the BPM is displayed through the ALERTDYNAMIC_LONGTEXT in the alert inbox , but I am not able to utilize the other container variables (like SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT ) for displaying the messageid ,error category etc. Using these variables for alerts invoked from BPM results in Blank Values for all the container variables.
    If the alert is not invoked from BPM these variables are getting populated.
    My question is is there a way by which we can utilize these variables for Alerts thrown from BPM.
    regards
    Nilesh .

    hi check the below links for reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    http://rant03.ranffm.de:50000/rwb_mdt/detailsservlet?objectName=name=is.00.rant03,type=XIIntegrationServer&rwb=true&XIDomain=domain.00.rant03&archive=false&selectMessage=%SXMS_MSG_GUID%
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Alerts framework container variables

    Team,
    I am using the "SXMS_xyx" container variables for my alerts.
    There must be more than that ... I need to display the payload, alert rules description, etc.
    Where can i get more info on that topics ?
    Merci ! A+

    Hi Guys,
    Yes, i am aware of the online help. But it does not say that much ...
    I am already using the "sx..." variables. If there are no others containers variables that exist, I think that I need to understand much more how (in the ALRTCATDEF) the container works. It seem that we can use some ABAP classes.
    I would like to display some details about which alert rules (description) that has been fired.
    Thank in advance for you hints
    A+

  • Container Element in ALERT

    Dear Experts,
    Can you plz explain, when it is required to create a CONTAINER ELEMENT in Alert Configuration.?  As we can use the System Defined Variables like  SXMS_ERROR_CODE, SXMS_FROM_INTERFACE etc, what is the need for the container element?
    The System Defined Variables are filled by the System during Runtime, when such an error happens. But who ‘ll fill  the Customized Container Variable and how??
    Also while creating a Container Element for ALERT, the data type can be of OBJECT TYPE/ ABAP DICT.REFERENCE/ABAP DICT DATA TYPE. What is the significance of each?
    Plz explain.
    Regards,
    Navneet

    Hi Navneet,
    The container element contains all the control information required at run time in the form of constants and object references.
    To inform the WF which object was created in the step via the method the reference to the bus object is passed via the binding definition from the task container to the Wf container. An appropriate element was therefore created automatically in the WF container with the correct data type.
    The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.
    If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.
    For more info pz go through the link given below,u will get the useful info regarding creation of container element and much more .
    http://****************/Tutorials/Workflow/Workflow.htm
    Reward points if this helps
    Regards
    Vani.

  • Add 2 container variables in control step BPM

    Hi All,
    I have a scenario where I need to add 2 container variables in control step under AlertMessage and I am using under exception branch
    Control Step
    StepName: XXXX
    Action      : XXXX
    AlertCategory: XXXX
    AlertMessage: ?
    I am successful putting one container variable in alert message with &AAAA& but I want to add another variable values &BBBB& as well.
    When I tried to keep variables as &AAAA& and &BBBB&..I can return code 99 in sxi_cache.
    How can I achieve this with BPM..I am using sap pi 7.0

    may be i need to explain more clearly..
    I have 2 container variables with simple type which holds 2 different payload values.
    Under exception branch I have a control step to throw alert. In this I need to pass alert messages with these 2 varaibles.
    As I said earlier I am able to pass successfully one container variable value but when I insert the second variable it is not picking up and when I check sxi_cache the IP return was 99 which means some error occured while assiging these values.( I tried in different ways)
    But when I inserted has &AAAA& and &BBBB& then reuton code was 0 but whn I run scenario it is not populating both values
    Can anyone please help me how I can populate 2 variable values in alert message under control step.

  • Intenal table  as container variable in the alert category

    Hi
    Is it possible  to create   internal table as Container Variable in the alert category. If it is possible how can we pass the data to this internal table in the Run time to the funtion module SALRT_CREATE_API.I have tried this to pass the data to the container parameter
    it_container ,but i was unable to achive it .If anyone has come across this please guide me .
    Thanks and Regards,
    Venkat

    You can use the Forms "From Clause Query" as the datasource for the data block. Then you can change the QUERY_DATA_SOURCE_NAME using set_block_property, so you can use any SQL statement you like. Of course you must name/alias the columns in a consistent manner so that the number of database items on the block matches those being queried.

  • Problem using multiline container in Alert Category

    Hello, experts!
    Could you please suggest me how to solve the following issue.
    I have userdefined multiline container MY_CONTAINER with two elements FIELD (stores name of field) and VALUE (stores value of field). This container is filled in runtime by means of BADI extension. So in transaction ALRTDISP filled container looks like:
      MY_CONTAINER
          MY_CONTAINER[1]
              FIELD    SystemCode
              VALUE    42
          MY_CONTAINER[2]
              FIELD    Key
              VALUE    0292383728232
          MY_CONTAINER[3]
              FIELD    State
              VALUE    1
          ...and so on. Number of filled elements of container is unknown.
    I need to add the contents of this container to Long text of Alert Category in form of:
          SystemCode: 42
          Key: 0292383728232
          State: 1
    ...and so on.
    I added MY_CONTAINER on the Containers tab of my alert category. And in Long text included the following expression:
          &MY_CONTAINER[].FIELD[]&: &MY_CONTAINER[].VALUE[]&.
    But in long text it looks like:
          SystemCode Key State ...: 42 0292383728232 1 ...
    If the expression is like
          &MY_CONTAINER[].FIELD& - &MY_CONTAINER[].VALUE&
    then long text contains only the first element:
          SystemCode: 42.
    Does anybody know how to solve this problem?
    I think I need to use expressions (something like FOR-loop) for filling Long Text in Alert Categories. Is it possible?
    BR,
    Vika

    Hi Experts,
    still trying to work out but couldn't understand the behaviour.
    <b>If the Long text :</b>
    Error: &SXMS_ERROR_CODE& <b>of category &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE&  <b>and  Interface &SXMS_FROM_INTERFACE&</b>
    to test I am running the program <b>RSALERTTEST</b>
    <b>Msg got thru E-mail is </b>
    Error:  and category:<b> &SXMS_ERROR_CAT&</b> was found in a message  from the service  and Interface
    <b>
    And when I change the Long text</b>
    Error: &SXMS_ERROR_CODE& <b>and &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& and Interface &SXMS_FROM_INTERFACE&
    After running the program <b>RSALERTTEST</b>
    <b>
    E-mail msg</b>
    Error:  and was found in a message  from the service  and Interface <b>&SXMS_FROM_INTERFACE&</b>
    coudn't able to understand why it is displaying the container variable as is in the mail.
    checked all the Alert Framework configuration, Everything looks good.
    Thank you,
    <b>MK</b>

Maybe you are looking for