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.
Similar Messages
-
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. -
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 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 -
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. -
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. -
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 -
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. -
Container element is not being displayed in email
Hi Experts,
I inserted an element from container into email text as below
The task has been pending in inbox for more than &ins_num& days.
The value of &ins_num& in container is 9
In output I get
The task has been pending in inbox for more than days.
Please let me know what is wrong. The binding works fine. No error in workflow.
Thanks.Hi Miak,
Greetings..:-)
> I inserted an element from container into email text as below
> The task has been pending in inbox for more than &ins_num& days.
> The value of &ins_num& in container is 9
> In output I get
> The task has been pending in inbox for more than days.
> Please let me know what is wrong. The binding works fine. No error in workflow.
Check on the Following things:->
1> The Container Element has Initial Value defined, If Yes - it should symbolise in Green Colour.
If 'Not', then check the WF Log and see whether this Container Element is fetching the Values orr not.
2> If the Values are not being Fetched, then the Problem lies with the Binding of these WF Containers.
Let me know if you are still facing Issues.
Regards,
Kanika -
XML DB: is it possible to get a row for each element in a container element?
I have an XML document containing a container element (collection). If I query, using an XPath expression, the contained elements I get a row for each container element with the contained element concatenated. Is it possible to get a row for each contained element?
I run this simple query:
select extract(xmltype('<colors><color>Red</color><color>Green</color></colors>')
, '/colors/color/text()').getstringval() from dual
And get this result:
EXTRACT(XMLTYPE('<COLORS><COLOR>RED</COLOR><COLOR>GREEN</COLOR></COLORS>'),'/COL
RedGreen
1 row selected.
What I would like to have is:
Red
Green
2 rows selected.
Wishful thinking or possible? Many thanks!Sure. This is where our XMLSequence() function comes in. It allows you to treat the top-level nodes in a nodeset as if they were rows in a table when combined with the TABLE() operator. Here's an example.
First, to make the SQL look a little cleaner, I like to define a function like this:
create or replace function testdoc return xmltype as
begin
return xmltype('<colors><color>Red</color><color>Green</color></colors>');
end;.
To break out the nodeset of <color> elements as a table, we use the following query:
select value(list_of_color_elements).extract('*/text()').getStringVal() as color
from TABLE( XMLSequence( extract(testdoc(),'/colors/color'))) list_of_color_elements.
Or, using the new-in-9.2 extractValue() operator so we don't have to remember the text() part:
select extractValue( value(list_of_color_elements), '.') as color
from TABLE( XMLSequence( extract( testdoc() ,'/colors/color'))) list_of_color_elements.
Here the TABLE(XMLSequence(...)) combo produces a table of XMLType, with one XMLType object in each row of the table.
In general, if the XMLType instance were coming from an XMLType table xmltab the query would look like this:
select extractValue( value(colors), '.') as color
from xmltab x, /* Important that this table comes earlier in the FROM clause! */
TABLE( XMLSequence( extract( value(x),'/colors/color'))) colors.
And if the XMLType were instead in a column of XMLType named doc in a table xmltab, then we would have the syntax:
select extractValue( value(colors), '.') as color
from xmltab x, /* Important that this table comes earlier in the FROM clause! */
TABLE( XMLSequence( extract( x.doc ,'/colors/color'))) colorsOnce you get the hang of it, you'll see that the combination of TABLE(XMLSequence()) to "shred" XML nodes into rows, and XMLAgg() to aggregate fragments of XML across multiple rows back into a single document, is quite powerful. -
Hiding a container element from a standard applicaition
hi,
i have a requirement to remove the UI elements in a transparent container from a view of a standard webdynpro component HRRCF_C_PREFERENCES_UI. This component is being used as a sub component in a main application.
The transparent container within has a drop down list and a few buttons.
So i created a component configuration for the component HRRCF_C_PREFERENCES_UI and changed the property of the UI element in the configuration to invisible. This worked, the container element was invisible in the application. But two other containers next to the UI element that was hidden did not move to the left . No proper alignment.
Is this the standard behavior of a component configuration? i don't think so.
Now in my option, the other only possible option is to hide the button by changing the attribute in the WDDOMODIFYVIEW method of the view.
Could someone please help me how to set the attribute problematically? Is there a different way to meet this requirement?
Need some help.Thanks.
Best Regards,
SridharanHi,
Just go to enhancement mode in your webdynpro component and delete that button from UIElement hierarcy.
If you want your button back, delete the enhancement.
Regards
Vishal kapoor -
Assigning a value to container element in rule defination
I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.
Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PMi think you cannot modify the container element from Rule.
the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element. -
BPM - An empty container element was specified when sending
Hello Experts,
My BPM process looks as below:
Receive -> Loop (execute if the status of IDoc is ERROR(E))--> Mapping ---> End Loop --> Send
The message is failing in BPM workflow with the log: An empty container element was specified when sending
Container for receive and send stepe are different. IP in SXI_CACHE has process code 0.
Mapping program is defined between the abstarct msg type of receive step and abstract msg type of Send step.
Th message being processed has initial status as ERROR and after the mapping step is exceuted, it retrieves teh current status i.e SUCCESS. This ends the loop step and while tying to send the messgae to target system, this error occurs.
Pls advice if I am missing anything.
Thanks,
Elizabeth.Go to transaction SWWL , select your integration process instance and delete it
Create your process with a new name and run the scenario again
Re: Prob with Integration Process
regards
Ninad -
Error while creating container Element in WF
Hi,
I have created a container element with field vbeln, and specified an initial value. Created mail step and activated it. I have given the mail subject and content as "value given : &vbeln&". When I try to test this I couldn't find the container element in " Input Data" tab of the Test Data and getting the message as "Contnr elem. VBELN is for read purposes only. No values are assigned to it."
Could anyone suggest me to correct this, because I am new to WF.
Thanks,
AAHi AA,
You would probably need to create more than one containers.
In workflows, we have following types of containers:
1. Workflow container
2. Task Container
3. Event Container
Now, since you need the element VBELN, try the following:
1. Create a WF container for VBELN. Make it as both input and output parameter.
2. Create a container for the Mail Step, again with VBELN field as an input parameter.
3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.
Once binding is done, save it and Activate the Workflow.
Hope this helps.
Do get back in case of any issues.
Regards,
Sonal
Maybe you are looking for
-
I have two computers. One that is running windows XP and the new one that is Windows 8. I have tried several times to import my music Library from the old computer. I have installed and uninstalled Itunes. The Apple's help desk had me to re-install.
-
I want to copy my itunes libary to a SD card for playing in my car ideas?
Any ideas because the first time I copied the files by dragging them to my finder window and when I tried to play them in the car the radio said no file found. I know that some were MP3 format, and some MP4 and the radio can recognize both but did no
-
How to completly delete DFSR replication group in Windows 2008 R2?
I just relete a DFSR replication group from DFS management console. Now I need to recreate it but it says the replication group already existed. So that mean there is still trace of that replication group. How can I delete it completely (but I keep t
-
Windows 7 Freezes When Copying to QNAP NAS-TS210
I have been using a QNAP-NAS TS210 with Windows 7. It worked perfectly until HDD2 failed and had to be replaced. There were some minor issues after I replaced the drive and QNAP tech support suggested that I update the firmware. Since then Windows fr
-
Eclipse debug : watch values of static applet fields
hi, I can't see values of my applet static fields while debuging... I wonder : is this normal? Why? If not, how can I fix that (except by de-staticify my fields :P he he) thanks