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.

Similar Messages

  • 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

  • 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 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

  • 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.

  • 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

  • Queue alerts container variables are not getting filled

    Hi All,
    I am referring this blog to create alerts when message struck in queues
    /people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors
    I am able to get the alert when a message struck in Queue of XI. But Container variables are not filled with actual run time values
    I have used the report as it is and container variables as described in blog.
    I have implemented Alerts for IE & AE alerts, those are looks good as expected.
    Please let me know any clue
    Regards

    Hi,
    After investigating all the things i found these
    1) We have already Integration Engine & Adapter Engine Alerts configured in landscape with separate alert categories & working fine
    2) Now i configured one more alert category for Queue error with the above mentioned Blog
    Important thing: is even though if any error occurred on Integration engine, i get 2 alerts. one with Integration Engine alert category description  & one more is with Queue alert category description
    Reason for this is, for Queue alert category i selected radio button as "No Restriction". because of this if any IE error occurred also queue alert category is also triggering along with Integration engine alert category .
    Please let me know is it possible to implement Queue alerts along with the IE & AE type alert categories
    Any one implemented IE, AE & Queue alerts in single landscape
    Regards
    vamsi
    Edited by: Vamsi Krishna on Jul 19, 2010 4:53 PM

  • Container Variable value not reflected in Alert message

    Hi All,
    In BPM, i am trying to set an Alert message which will send the message in alert Inbox. Here i have stored a value from the message in a container variable. This Container variable value is used in the Alert message in the form of &variable&. But whenever i specify container variable value, it is not reflected in the Long text of Alert Inbox. In Alert category i have also checked the Dynamic text. Still it is not coming.
    Can u suggest what is the possible solution for this.
    Thanks in advance
    Ashish

    I was able to get the Alert Message by changing container variable from "Block " to "Process". But It was containing the value of the first message.
    Actually i am having a scenario in which i am transforming a File message input into multiple messages based on its PO number using multi mapping. These messages are send as IDOCs using Parrallel for Each block, where i store the PO number in the container variable and use it in alert message. So for that i have to use this block name as container and not as a Process.
    Can anybody tell me why this Container Variable value is not reflected in the alert message.
    Thanks in advance
    Ashish

  • Alert rule container variable not getting filled up

    I  want to generate an alert if file content conversion fails. Created  an alert category with the SXMS_TO_ADAPTER_ERRTXT as a container variable of dictionary type Char70 as included it in the long text.Created an alert rule in the RWB. I am getting the alert in the inbox but nothing is filled in for SXMS_TO_ADAPTER_ERRTXT. We are on  PI7.0 SP9.
    Has anybody noticed similar problems ?

    Hi Sangeeta, I had the same problem but I couldn't fixed because there was not enough time to do it, I created my own message with almost all the XI container variables. And the messages are very helpful. I send you some links
    Container variable
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    Alert notification step-by-step
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
    Michal's weblog
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    I hope it can help you.
    Regards
    Omar Hernandez

  • ALERTS: Is it possible to create a new container Variable in Existing alert

    Hi PI Experts,
    I have a existing alert ZTEST defined in ALRTCATDEF. Now I want to create a new container variable PONUM to ZTEST in a UDF and populate it with a value coming in the payload. I have defined an alert rule for this alert and this alert will get triggered for any IE and AE msg failures for my sedner & interface combination. I tried calling the RFC SALERT_CREATE from my UDF by making RFC lookup and passed PONUM as Element and value from a fileld in Value element. If a msg failed in PI, two alerts are getting triggered. One for the alert rule I defined and other because of the RFC lookup (SALERT_CREATE). The one raised from alert rule does'nt contain the PONUM value I passed fron UDF and the one called from SALERT_CREATE does'nt contain the existing container variables defined in ZTEST (like SXMS_MSG_GUID, SXMS_FROM_SERVICE etc).
    Please let me know, how can I raise only one alert for any msg failures for my sender & interface combination. Inaddition to the usual container elements (SXMS_MSG_GUID, SXMS_FROM_SERVICE etc) my alert should also contain a variable containing the PONUM (from the incoming payload).
    Thanks,
    Raki

    Hi Experts,
    Is there a way to achive below requirement.
    Thanks,
    Rakesh

  • 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.

  • 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+

  • Alert Configuration: SMTP Error in SOST, Container variables not filling.

    Hi All,
    I have been configured in XI System following sdn and Michal's blog.ALRTCATDEF,SCOT settings have been done and  When i try to test the alerts , alerts are reaching alert inbox but not to mail. And also in alert long text container variables are missing  I have been requested my basis team to implement sap note 835031. What exact cause for this could any body explain me. And also Please suggest me what has to be done when i get error in SOST 'Message cannot be transferred to node SMTP due to connection error (final) ' Do i have to follow steps mentiond in below link:
    http://forums.sdn.sap.com/thread.jspa?threadID=558231
    Thanks,
    Aparna.

    'Message cannot be transferred to node SMTP due to connection error (final)
    have you seen below threads:
    http://forums.sdn.sap.com/thread.jspa?threadID=1564087
    http://forums.sdn.sap.com/thread.jspa?threadID=567171

  • 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.

Maybe you are looking for