Container problem in parallel processing with simple forms

Nigel Thurgood Nigel.Thurgood at sanitarium.com.au
Tue May 1 20:44:26 EDT 2007


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070502/3f78cfd5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 7559 bytes
Desc: Forest Floor.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20070502/3f78cfd5/attachment.jpg


More information about the SAP-WUG mailing list