Need Time Delay for Tables to be updated

NAGPAL,RITU (HP-Roseville,ex1) ritu_nagpal at hp.com
Thu Jul 11 12:15:47 EDT 2002


Hi,
 
A thought....Would the following resolve the issue?:
1. Make the estimated cost was an attribute of the object.
2. In the method that does the change order, add a refresh object at the end
of the method.
3. In the condition, check attribute estimated cost against $1000.
 
Thanks,
Ritu
 
-----Original Message-----
From: Gordon Blackmore [mailto:gordon.blackmore at sasktel.sk.ca]
Sent: Thursday, July 11, 2002 8:51 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Need Time Delay for Tables to be updated
 
 
I created a Workflow for authorization of PM order. I have included a
condition that test the "Estimated Cost" on a created PM order if <$1000
it can be authorized by inscope staff. > $1000 to be released by a
manager. If an Order is <1000 an inscope staff can change the order or
release or reject. If the Estimated amount is changed to >1000 it will
loop back. However it is not going to the manager, it is returning to the
inscope staff.
 
OSS Reported
 
The reason why the Condition 'Est Cost Test' is not correctly tested when
the est cost value is changed to > 1000 is that the update to the tables
involved has not happened when it reaches the Condition step and so it
still has the original value that is lower than 1000. Hence, it is
returned to the user once more rather than the manager.
 
 Field in Order Screen:
 Structure: CAUFVD (Dialog structure for order headers and items)
 Field: USER4
 Description: Estimated total costs of order
 
 Field in Condition/Object Type
 Database View: VIAUFKS (PM Order Selection)
 View Field: USER4
 Description: Estimated total costs of order
 
 
You need to in some way delay the workflow in order for the update to
occur so the condition can function correctly.
 
If a counter loop is used, that would container is available to holding
the value?
 
_____________________________
Gordon Blackmore
Technical Assistant (SAP Analyst)
SaskTel
10th Floor, 2121 Saskatchewan Drive
Regina, SK  S4P 3Y2
Phone (306) 777-3416
Cell (306) 539-7451
 


More information about the SAP-WUG mailing list