on 10-16-2008 8:33 AM
Hi Experts,
I am using a workflow for approval of FI Invoices entered through transaction FV60.
I have a wait step of 2 min. as the first step of the workflow.
I have used this wait step as I want to provide time to system to update the VBSEGS table, from which I am fetching the cost center and GL account of the line item of the invoice. This fetching of data is below the wait step.
Now, my problem is that when I change an existing document and click 'save-as-completed', the FV60 screen hangs till 2 min and hence the table VBSEGS is not updated in time. And when the data is fetched, it picks up the old value.
This problem does not occur while creating new document. But while changing the document this error occurs.
I tried to increase the time of the wait step, but the hang time of screen FV60 also increases proportionately.
Please advice.
Regards,
Ashu Arora
Contacted SAp for this and they provided the solution. I had used an user exit to raise a ZEvent for change. The parameters passed through that was making the event as aynchronous. This was causing the issue.
Thanks & Regards,
Ashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ashu, On a different note try the following.
Disable the event linkage and/or the workflow. and then run FV60. See if its hanging. Maybe the problem is somewhere else and....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is too synchronous.
Try inserting another step.. let say a 'dummy' container assignment before the wait step and then see if its still holding up the screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashu,
Since, your changes/actions are completed in FV60 and you are in separate LUW, use COMMIT WORK command, which will commit all the database changes of the current LUW. You use the Commit statement before your SQL select.
By this you will be having your data for retrieval and it is not necessary to wait for updating the tables.
Thanks,
Sudhir.
Hi Charan,
When I cange a document in FV60 and do 'save-as-completed'. It deletes the older instance of the workflow and starts a new one. However, as it reaches the select query, the table VBSEGS for the FI doc is not updated.
Hence, it is picking the old value from VBSEGS.
Please advice.
Regards,
Ashu Arora
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.