<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Paul/Mike<BR>
&nbsp;<BR>
thanks for&nbsp;your replies, sorry for the delay getting back, we've been discussing this internally.<BR>
&nbsp;<BR>
I agree with you both that storing outside of workflow&nbsp;on&nbsp;either SAP or custom tables&nbsp;is the best approach. <BR>
&nbsp;<BR>
Storing the data in SAP Master Data and using statuses is an obvious way to go, but it not an option here for legitimate but annoying reasons I won't go into.<BR>
Storing in Z tables, is too complex&nbsp;as it will effectively mean replicating&nbsp;SAP Material Master.<BR>
&nbsp;<BR>
So we're are going to take approach of storing in the deep struc in&nbsp;the container. I've done some anaylysis of SWWCNTP0<BR>
I did a simple test with a container with 1 basic element, it takes up approc 1 line (1024 chars). My deep struc unfilled takes up 3,700chars, and filled takes up 10,000chars.<BR>
&nbsp;<BR>
Is this alot of space for a WF container are there any guidlines on this? Or is it all down to system size etc.<BR>
&nbsp;<BR>
I've read that if this table gets too large&nbsp;there could be&nbsp;performance issues, so our intention is that in PRD we'll just have to archive more frequently. <BR>
&nbsp;<BR>
Is this the main potential impact on performance or could there be others associated with passing&nbsp;alot of data between containers?<BR>
&nbsp;<BR>
Would like to hear your experience.<BR>
&nbsp;<BR>
Mark<BR>
&nbsp;<BR>
&nbsp;<BR>
&gt; Subject: Re: Deep Structures in container<BR>&gt; To: sap-wug@mit.edu<BR>&gt; From: Paul.Bakker@osr.treasury.qld.gov.au<BR>&gt; Date: Tue, 19 Apr 2011 08:06:12 +1000<BR>&gt; <BR>&gt; Mark,<BR>&gt; <BR>&gt; Your approach sounds a lot like the workflow 'forms' concept, where a form<BR>&gt; full of data is passed to various users for completion (and approval), and<BR>&gt; is then committed to the database. But I think 'forms' can only handle flat<BR>&gt; structures.<BR>&gt; <BR>&gt; Generally it is not best practice to pass large amounts of data in a<BR>&gt; workflow. Imagine how the container database table would blow out in size,<BR>&gt; if the data was replicated for each workitem..!<BR>&gt; Instead, pass a unique key to the data.<BR>&gt; <BR>&gt; So in this case, you could store all this to-be-approved Material data in a<BR>&gt; custom (nested) database table. The table could have a GUID key, which the<BR>&gt; workflow can refer to.<BR>&gt; <BR>&gt; Or.. does Material Management have the concept of a 'parked' material, that<BR>&gt; can be stored in standard tables, pending approval?<BR>&gt; <BR>&gt; cheers<BR>&gt; Paul Bakker<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; From: Mark Daley &lt;mark_daley@hotmail.com&gt;<BR>&gt; To: &lt;sap-wug@mit.edu&gt;<BR>&gt; Date: 18/04/2011 10:59 PM<BR>&gt; Subject: Deep Structures in container<BR>&gt; Sent by: sap-wug-bounces@mit.edu<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Hello folks,<BR>&gt; <BR>&gt; I am building a Material Master Data Request workflow (ECC 5.0) and I would<BR>&gt; like your input on storing large amounts of data in deep structures in the<BR>&gt; workflow container.<BR>&gt; <BR>&gt; The business requirement is to gather the material data from several agents<BR>&gt; concurrently/parallel(via custom screens) and once all tasks are completed<BR>&gt; the Material request is sent for approval. If all is well the data is<BR>&gt; posted to SAP (via BAPI). Each agent enters unique data pertaining to their<BR>&gt; role in the business eg R&amp;D, Finance etc.<BR>&gt; <BR>&gt; In the workflow, I am storing this data in a single container element(deep<BR>&gt; structure) containing 18 sub structures eg MARA, MARC etc and 9 tables eg<BR>&gt; MAKT , MARM etc.<BR>&gt; <BR>&gt; The intention of using a single deep structure is to reduce maintenance on<BR>&gt; the number of wf bindings. The interface to the FM that calls the various<BR>&gt; custom screens uses this same deep structure.<BR>&gt; <BR>&gt; Could passing a large deep structure data element between task and wf cause<BR>&gt; issues eg performance/storage/archiving? There will be approx 2000<BR>&gt; workflows a month.<BR>&gt; <BR>&gt; Given the data gathered from the agents must be approved before being<BR>&gt; posted in SAP, is there any other way I could be doing this other than<BR>&gt; using a deep structure to store the data in the workflow?<BR>&gt; I don’t want to explicitly add a data element for each piece of material<BR>&gt; data in my wf container plus all the bindings!<BR>&gt; <BR>&gt; I’d appreciate your input/experience especially if you have any experience<BR>&gt; of workflow handling large amounts of data in the container or with deep<BR>&gt; structures.<BR>&gt; <BR>&gt; Thanks<BR>&gt; Mark_______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; *********************************************************************************************<BR>&gt; Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments. Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.<BR>&gt; <BR>&gt; The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright. If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments. Queensland Treasury uses virus scanning software. However, it is not liable for viruses present in this e-mail or in any attachment. <BR>&gt; ***************************************************************************************************<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>                                               </body>
</html>