Alert container element in UDF
Along with the BPM container element there is the containar element and specific variables maintained in ALERTCATDEF also while declearing the Alert, is it possible to access these variables in UDF.
Hi,
Kidly refer to the Divya's thread for the alert related container variables. Also you can go through this:
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Regards,
Sanjeev.
Similar Messages
-
BPM Alert Container Elements Not Filled
Hi All,
Another problem i am facing when i am raising alert from BPM.
In inbox i see alert message being raised but with no text.
I have also subscribed to email alerts.
In the email the subject is Process 000000008058
and the content is the first alphabet of the AlertMessage container element.
Ex : In BPM my container element is AlertMessage and the message assigned is <i>Error</i> . Then in email message i only get E. where as in alert inbox i get nothing.
ps : im using XI 7.0 SP 9. there are no notes which are applicable for this release.
Regards,
Rahul
Message was edited by:
Rahul JainHi Bhavesh,
<i>>When you select Dynamic text in the Alert category, the Container tab will no longer be available in ALRTCATDEF for your Alet Category.!</i>
the container tab is available but the Long& Short text tab is disabled.
I did not mean that..
What i meant was see next to the Properties tab in Alert Category defination there is a Container tab where we define our own container elements.
Do i need to define the names there..or i can directly use in the BPM?
Regards,
Rahul
Message was edited by:
Rahul Jain -
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
DiviaHi 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. -
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,
NavneetHi 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. -
Container Element in the Mapping UDF
Is there any way that to access the BPM container Element in the Mapping UDF. Can some one share the UDF code for this
Hi,
Refer BPM Container Element and Container in UDF Relation
BPM Container Element and Container in UDF Relation
Creating the container Object In Java Mapping
Thanks
swarup -
HI Experts,
why we need to create a Container element in Alerts and there are some standard elements like SXMS_MSG_GUID, SXMS_RULE_NAME etc. wht is the purpose of these std. elements and mostly where they are applicable?
Pts will b rewarded.
Regards
FaisalHi,
Container element is just a element which hold the values.
its like a strucutre which is used to hold the values in this case SXMS_MSG_GUID will hold the SAP message ID.
Some of the example are:
Have u created data type in XI what u do is u give some name to data element and then specify the type now that element will hold the value which is coming to XI.
Similarly for IDOC strucutre.
chirag -
BPM Container Element and Container in UDF Relation
Hi,
I am creating a BPM with container elements. Can I access this container variable value in a Java based mapping User Defined Function. If so, can you please let me know how can I do that.
Thanks,
-PadmajaHi Padmaja,
q1 -Is the target message same in all the cases with different values?
q2 - Also, after this message(with different content based on the where it is created from) is created is sent out or is it used some where further again in the BPM?
i am also assuming you are above SP16..
If the answer is yes to q1 and no to q2, you can achieve this quite easily.....from each of the 3 places(success,failure and deadline)....have a send step each with the source message...in the send step you should have the "ConversationID" field filled with values which distinguishes the place from it is is send....now in the interface determination attach one mapping and in that mapping using a UDF you can access the Conversation ID from mapping variables....and you can manipulate your output message..
I have made lots of assumptions without knowing your scenario..check it out if it helps...
Thanks & Regards,
Renjith -
Alert inbox - Alert Categories - Container elements
Hi all,
I have configured alerts in alrtcatdef tcode. I am able to receive the alerts in the alert inbox. But the container elements are filled in. When tried <b>with checking the Dynamic Text</b> there is no long text in the alert received in the alert inbox.
We r on SP 17.
Did any one try this.
reg,naveen
If u had typed the container elements then u may need to delete those and again insert thru the std option (an icon where you can fetch it). Also check the corresponding data type for the container element. If you are using a wrong data type, which is not valid for that container element, you might face problems.
Check Note : 947738 to solve this issue. Also check Troubleshooting Note specifically 913858. -
Elements from BPM in alert container. Possible?
Hi!
Is it possible to define container elements in TCODE ALRTCATDEF and fill them with values from a BPM? I have read about this and it seems to be possible when coding an abap application, but can it be done from the BPM at runtime?
Thanks!
regards PavelHi Pavel,
If you are using the fault message's to get the errror details.
It is possible to trigger the alert ...with all the information which inturn is coming in the fault message.
Do an RFC call in the fault message mapping to RFC - SALERT_CREATE.
If not then the easy option
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Which doesn't suites your requirement...
Sunil. -
Alert Container "XI_ERROR_MESSAGE"
Hi All,
I want to raise descriptive alerts from BPM. I had gone through the Blog [/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi|/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi] which suits my requirement. but while trying to create the Container element XI_ERROR_MESSAGE (Multiline), i dont know what data type i should select for it. Can anybody please help in this regard. For you info, I'm on PI 7.1
Any help would b highly appreciated.
Regards
Anilif I am not wrong XI_ERROR_MESSAGE is just the name given to the alert container variable...you can even give some other name and make changes accordingly in the UDF mentioned in the blog....
The ABAP Dict Data type used seems to be CHAR70 ... applicable for PI7.1 also
Regards,
Abhishek. -
Hi All,
can anybody have a idea about say while creating a new container element by clicking CREATE button in container we have several options like
Element:
name:
short descreption:
object type :
ABAP dict reference:
structure:
field:
ABAP dict datatype:
table name:
what details i need to fill here .........(as i am trying to send alert using BPM for this i am configuring all Alert steps in RWB)
Regards,
AzeezHi chirag,
can i have ur email id so that i can explain in breif about my sceanrio and kind of errors i am looking for it would be very help full .....my email id
thanks for the reponces.
Regards,
Azeez
Please read the Forum's Rules of Engagement,
i.e.,
[/thread/117188 [original link is broken];
and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
SDN PI/XI Forum Moderator
Edited by: Kenny Scott on Mar 3, 2008 6:09 PM -
Get the value of Container element in message mapping
Hi,
Is it possible to read the value of container elements(bpm) in a UDF defined in message mapping. If yes, please tell me how?
Thanks and regards,
SijiSiji,
Refer thread - Creating the container Object In Java Mapping
Regards,
Geetha -
Hi,
I am able to trigger the alert through the BOR. I have defined an alert category and contianer elements. every thing is working fine till the triggering of ALert.
The issue is when i try to pass the data from alert conatiner, dynamically. I am able to see the alert but not able to see any container element data in the alrtibox.
How do we pass the data to alert conatiner from check functin module?
regards,
Vijay.
Edited by: vijay alluri on Oct 15, 2008 9:09 AMHi,
in function module include <cntn01>.
then to set container element
swc_set_element
lt_event_container
'ZDATE' DATE.
swc_set_element
lt_event_container
'ZEMPNO' wa_req-pernr.
to fill table means multiline container element.
swc_set_table
lt_event_container
'ZUSER' zagents.
all container elements is case sensitive
so to avoid errors always use CAPS on.
ZDATE ZEMPNO ZUSER IS CONTAINER ELEMENT in above case.
Hope magic works,
Regards,
Purvesh Patel. -
TIMESTAMP container element in ALRTCATDEF
I have tried to use with the below mentioned container elements from alrtcatdef but nothing was getting displayed in alerts
I need the timestamp container element in alrtcatdef to configure as longtext/shorttext, where it can carry the alert triggered timestamp
1. &TIMESTAMP&
2. &TIMESTAMPL&
3.&/ISCER/TIMESTAMP&
ThanksHi,
have a look into this document, you will get the answer.
http://sapdocs.info/wp-content/uploads/2009/01/alert-configuration-in-xi.pdf
Regards
Aashish Sinha -
Error while accessing container element _ALERT_LOGICAL_SYSTEM
Hi,
Getting below error in SLG1 T.Code, I, am getting E-Mail but without any ALERT ID, MESSAGE ID and Interface name pls suggest for the same to solve.
"Error while accessing container element ALERTLOGICAL_SYSTEM" ERROR IN SLG1
Rgds,
MFHDid you checked this thread: Alerts problem and log
Regards,
Abhishek.
Maybe you are looking for
-
Experts, In one crystal report, there are more than 20 pages. Now in first page data coming fine, but in most of the pages, the lines (column lines, vertical lines) are not ending or not touching the horizontal line which really looks very odd. Pleas
-
Error # -2093 after installing and running latest Quicktimeplayer 7.3.0.70
On my Toshiba Satellite 1550CDS laptop which has been upgraded with a K6-III+ CPU @ 500Mhz, 160MB ram and running WinXP Pro+SP2 with all latest updates, I've installed and deinstalled several times already and always I get Err # -2093 about 5 minutes
-
SRM Integration in Universal Worklist (UWL)
Hi SRM freaks, I've one question concerning SRM integration in Universal Worklist (UWL). Currently we have integrated our SAP SRM4.0(SRM_SERVER 500) solution in the SAP Enterprise Portal6.0, and after installation from an additional Business Package
-
Enquiry about adding new field in SAP transaction vl10c
Hi, requirement: I want to add additonal field after executing SAP transaction vl10c. help me pooja
-
Is there a way i can create a membership form so i can restrict customers access to my site unless they are members, i want to migrate my site to a HTML5 version and the new version doe not support the current membership widget. ithe problem is some