cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Request workflow - Short dump on hitting approve button SWW_WI2OBJ

Former Member
0 Kudos

Hi,

We are implementing the Leave Approval workflow on EHP 7.  We recently upgraded the system here, i am new here and have been told the  approval worked before the upgrade.

I have searched long and hard on the forums and have found nothing.  The test users have 0105 maintained. RFC connection is maintained.

WE copied the workflow 21500001 to custom one for a few changes.

Issue : When trying to approve a leave request, it gives a short dump, on portal its a RABAX_STATE error.

ST22  details as below:

Category               ABAP Programming Error

Runtime Errors         MESSAGE_TYPE_X

ABAP Program           CL_SWF_RUN_WIM_LOCAL==========CP

Application Component  BC-BMT-WFM

Date and Time          12/15/2014 10:49:32

Error analysis

    Short text of the error message:

    System error: Database table SWW_WI2OBJ could not be written to

    Long text of the error message:

     Diagnosis

         A modifying operation on the database table SWW_WI2OBJ ended with

         an error. The problem occurred with instance 000000624020.

     System Response

         The workflow system has canceled further processing and executed a

         rollback.

     Procedure

         Contact your system administrator.

     Procedure for System Administration

         Check the current status of the workflow databases and then try a

         restart.

    Technical information about the message:

    Message class....... SWF_RUN

    Number.............. 661

    Variable 1.......... SWW_WI2OBJ

    Variable 2.......... 000000624020

    Variable 3..........

    Variable 4.......... " "

I have tried to debug and found that it dumps in class   CL_SWF_REP_ITEM2OBJECT->SAVE_WI2OBJ method.

We do not have attachments in the workflow. WE are only adding comments however the system throws a short dump even when there are no comments.

As we are on EHP 7 , most OSS notes are implemented in the system.

I would appreciate any feedback on this.

Thanks,

Soumya

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

make sure, that the class to which the WF is referenced, correctly implements methods from interface IF_WORKFLOW (BI_PERSISTENT and BI_OBJECT). Mainly BI_PERSISTENT~FIND_BY_LPOR, BI_PERSISTENT~LPOR and BI_OBJECT~DEFAULT_ATTRIBUTE_VALUE.

I hope this helps!

Regards,

Vlado

StephaneBailleu
Active Contributor
0 Kudos

Hi

I am hit by the same issue could you please tell me how you solved this one ?

Cheers

Stephane

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

issue is with workitem is Variable 2.......... 000000624020? Can you check if it is occurring for all workitem ids check in SWIA