Container Element
Hi Guys
What is use of container element in Work flow(swdd).I used it for small scenario,but which scenarios we use it.
Appreciate your answers.
Thanks
Hi,
The main advantage of the STD_TEXT object is that it can print container elements as text symbols.
Each container element can be printed as follows:
&ContainerElement&
If the container element is an object, each attribute can be printed as follows:
&Object.Attribute&
If you want to print employee data, a container element of type EmployeeT must be included. This element enables each employee data record (defined as an attribute of EmployeeT) to be printed. If the documents are country-specific, it is a good idea to define the container element as EmployeeXX (ISO country key = personnel country grouping), which includes all of the international and country-specific attributes.
STD_TEXT can make distinctions between object attributes up to a third level, which means you must define utility objects in the container if higher levels are needed to make more distinctions.
STD_TEXT cannot make distinctions for the following expression:
Employee.PersonnelArea.LegalPerson.ActivityText.
For this reason, you must define a utility container element of the type PersonnelArea:
PersonnelArea<==Employee.PersonnelArea
Using this container element, the activitytext attribute can be printed in the text as follows:
PersonnelArea.LegalPerson.ActivityText.
If the document requires additional information from other object types, you must define the elements as container elements in the standard task.
Reward if useful.
Regards,
Pranathi.
Similar Messages
-
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 -
The hard drive on my laptop that contained Elements just died. Can I get a second copy for installation on my new PC?
The iPhone is not a backup device.
Restore the iTunes library from the backup that should be kept of your media and other important files.
Syncing the iPhone to a new library (in this case, it will be a new library unless you have a complete backup of the iTunes folder pre-crash) will result in the media on the device being removed and replaced with content from the new library.
As for iOS5, we really do not know until Apple officially releases it. -
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. -
Container element in BPM of type integer
if i make a container element of type integer in my BPM, does it initiallize to some value
Hi Pankaj,
Check this out,
http://help.sap.com/saphelp_nw2004s/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
Go to Assigning Values
<i>At runtime, you can assign a value to a container element, for example to increase a counter or to append a message to a list of messages.</i>
Also refer this
http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/frameset.htm
<i>[Reward if useful]</i>
Regards,
Prateek -
BPM error:Container element in step transformation is not initialized
Hello Experts,
I am new to the concept of BPM.
I'm trying to create an integration process in which I'm taking an Idoc and processing it in many ways. The process contains many transformation steps. There two such transformation steps which have been placed in block step in a fork. And i get this error: Container element XXX in step transformation is not initialized
What could be the problem?
Regards,
AkhilHi
if u are getting the messaga with red sigh then it means it will craete the error while running the scenario.
but if it is in blue then i think it will not create any error.
the meaning of that statement is that the container u have defind is not used anywhere. it is just giving u a warning message.
Thanks
Rinku -
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 -
Error while using container element _WF_PARFOREACH_INDEX in workflow
Hi All,
I am using internal container element WFPARFOREACH_INDEX in internal table so that i can use it as index to read table row one by one..but in binding i am getting error "Container element '_WF_PARFOREACH_INDEX' does not exist" in form of an example.
Can someone tell me that how to get rid of this error in binding? I am using this element variable to achieve parallel branching in workflow.
Regards,
SumitHi 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 -
BPM: How to return the total number of lines in Multiline Container Element
Hi all:
I am trying to follow the following blog to do message splitting:
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
In the blog, total number of messages for Message1 was returned to Count in Message 2.
If I do not want to create message 2, if there any way to return total number lines in multiline elements ? Because this number need to be used to specify in loop condition:
While Indxe != TotalNumberOfLines
Thanks
LiangHi, Matias:
For the loop block option, your answer is passing message count in different message type is best option !
I really do not know why SAP does not deliver a build-in function to return the number of items in multiline element at run time ?
Now the question for the second option: ForEach block:
When I leave current line of block properties empty, the compile does not pass
I have to input a another element (Var_Cur) in current line
Inside my block, I have one send step, it will send Var_Dest[Index], followed by a container operation step to increment Index by 1.
With above setup, I compile it, compile passed, but it says:
"Container Element Var_Cur in Step Block1 is initialized but not used"
then I added another containter operation step in block:
Var_Cur = Var_Dest[Index]
I modified send step to send Var_Cur rather than Var_Dest.
Up to now, I can compile it without any warnings.
But when I send message to IE, the message pass pipe line, but it seems does not pass the BPE.
When I go to SXI_CACHE, to check the return code for my Integration process is 0, means no error.
But my message does not reach my target system.
Where do you think I made wrong ?
Thanks
Liang -
How to Initialize Container Element in BPM..No Payload found
Hi All,
How do we initialize a container element in BPM if that container element is a message Interface.
I am doing exception handling in BPM, so whenever a exception occurs i need to send a mail.
So in the exception box i have a transformation step and a send step.
In the transformation step what will be my source message?
How do i initialize that source message?
What i have done right now is created a dummy interface(abs) for source and then mapped with the target abs interface.
When i execute the schenario,in the monitor i find in the Transformation step the following error
<i>No payload found.</i>
Regards,
SumitHi Pinto,
I too agreee. Lemme try to explain witha example.
In my first transformation, MI_MAIL_TEMP_ABS is there along with 3 other interfaces. Each one is getting mapped i can see that in monitoring.
Now in the exception branch in transformation step,
i am mapping MI_MAIL_TEMP_ABS to MI_MAIL_ABS.
Now in the send step im giving MI_MAIL_ABS as the interface name.
Do you see anything wrong with this?
<i>>>>>>>>Did you try to do outbound interface -> inbound interface mapping in the exception branch? Just to try to make your scenario work. Then you can investigate further on why the abs message is not being carried away.</i>
Which outbound interface & inbound are you talking about?
Regards,
Sumit
Message was edited by: Sumit Khetawat -
Starnge problem while creating container elements in BPM
Hi All,
I am trying to create Container element of category Abstract Interface in BPM. While I try to give Type as the abstract interface created, it not populating the my abstract interface and says: No obects found.
Kindly, What could be the reason?
Thx
NavinHi,
You can use abstract sync inteface in the async-sync bridge (sender), using the async abstract interfaces as request and response to the sync abstract interface in the BPM sender properties configuration.
Regards,
Bill
Maybe you are looking for
-
How to put subtitles on my movies
Hello there! I see and guess this question has been asked too many times but i dont see a clear or "easy" action! I understand how to change subs when on an itunes movie but i dont see a solution on a one i added myself! So how do you put subtitles o
-
How to delete objects in edit mode but in previous session?
Hi, While editing a communication channel power went off and the next time when I try to edit the same I get the error communication channel is being edited by user zzz. Because of this I am unable to activate the standard change list for other objec
-
What is the problem with the printer dialogue?
I am running OS X 10.4.11 on a G5 Powermac w 1.5 GB RAM, and Photoshop CS3. For as long as I can remember, printing anything from Photoshop has produced the dialogue box: "The image is larger than the paper's printable area and some clipping could oc
-
Time machine backup from damaged MacBook Pro
I was at a party on Saturday and a friend spilt some lager onto my MacBook Pro I quickly turned it upside down and left it over night I switched it on next day and it worked but now it won't switch on I suspect the main board is damaged. If I take my
-
I had so many problems with IE,so I decided to try firefox.But now I cant find my"favorites" or my Zynga gamebar.Please let me know what to do....Thank you Sara