Skip to Content
avatar image
Former Member

Issue with wait step (Invoice Parking Workflow)

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 16, 2008 at 09:21 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Oct 21, 2008 at 06:05 AM

    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....

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Manish,

      I tried the same, then FV60 is working fine. Also, if i remove the wait step the transaction works fine. Its only when i add the wait step the FV60 transaction holds up till the time specified in the wait step. Please advice.

      Regards,

      Ashu Arora

  • avatar image
    Former Member
    Mar 04, 2009 at 07:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded