Container problem in parallel processing with simple forms

Mike Pokraka asap at workflowconnections.com
Wed May 2 07:08:31 EDT 2007


Hi Nigel,

This is neither a problem nor a limitation but works correctly as I'd
imagine it would.

It *should* always update the entire structure including elements A B C D
E and whatever else, otherwise we might as well all go home right now.
Updates always update an entire row, that's how databases work. It would
be disastrous if it worked differntly!

Your only solution is to use speparate structures / container elements for
the two agents.

Cheers,
Mike



On Wed, May 2, 2007 1:44 am, Nigel Thurgood wrote:
> Scenario is a fork with 2 branches, each branch contains a simple form
> step. Branch A form changes container element structure 'A', branch B form
> changes container structure element 'B'.
>
> *	Agents A and B open forms A and B simultaneously, then the GT_CONTAINER
> for both forms has both structures A and B blank.
> *	Agent A enters data on form and presses 'Save';
>
> *	Function SWY_STRUCTURE_TO_CONTAINER firstly calls function
> SWY_GET_CONTAINER, which loads a local copy of blank structures A and B
> from GT_CONTAINER (ie as at when the form was opened);
> *	The container element name ('A')  is sourced, and then SWC_SET_ELEMENT
> updates structure A of the local container;
> *	SWC_SET_CONTAINER then updates GT_CONTAINER with the local container.
>
> *	Agent B enters data on form and presses 'Save';
>
> *	SWY_GET_CONTAINER loads local copy of blank structures A and B (ie as at
> when the form was opened);
>
> *	The container element name ('B') is sourced, and then SWC_SET_ELEMENT
> updates structure B of the local container;
> *	SWC_SET_CONTAINER then updates GT_CONTAINER with the local container.
>
> *	End result is that Agent A / form A changes are overwritten.
>
> Apologies if this has been vovered before / is a know problem /
> limitation. Any advice would be appreciated.
>
> Best regards.
>
> Nigel E Thurgood
>
> Senior Application Specialist
> Sanitarium Health Food Company
>
> Phone: (02) 4349-6019
> Mobile: 0416 254919
>
> This is an email from Australian Health & Nutrition Association Limited,
> ABN 63 096 452 872 trading as Sanitarium Health Food Company.
>
> THIS E-MAIL IS CONFIDENTIAL.
> Any recipient who is not the intended recipient is requested to
> notify the sender by return e-mail and erase all copies of the message
> and attachments. The sender cannot guarantee that this email or any
> attachment to it is free of computer viruses or other conditions which
> may
> damage or interfere with data, hardware or software with which it might be
> used.
>
> If you do not wish to receive commercial email messages from Sanitarium
> Health Food
> Company, please send an unsubscribe message to the sender of this email,
> or contact
> unsubscribe at sanitarium.com.au.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


-- 
Mike Pokraka
Senior Consultant
Workflow Connections
Mobile: +44(0)7786 910855




More information about the SAP-WUG mailing list