cancel
Showing results for 
Search instead for 
Did you mean: 

Workitem is not opening/executing in inbox.

former_member507885
Participant
0 Kudos

Hi All,

I Have delegated the busniss object bus2081 and created methods in subtype.

in subtype method(display report) implementation i'm passing the business object key(invoicedocnumber and fiscal) and attribute(companycode) to a zreport program.

i;m accessing the attribute value through SWC_GET_PROPERTY  SELF <attribute> <attributevalue> marcro and passing the value to zreport program.

Create a custome task(asynchronus) in workflow and maintained the object method in task.But when executing the workflow the workitem is placed in inbox

and when execution it is not executing the zreport program.

The workitem is in-process state and not moving to next stage.it is not showing any error message when observed in technical details.

Message Text      : Execution interrupted.

Exception            : 0

Symbolic name    :

Erroy type           : 0

Area                   :SWF_RUN

Message           : 611.

when executing the delegated zbus object for method(display report) the control is not executing the report program and the value of attribute is not the actual value populated in zbus object...

Can any one help me on who to get the  correct attribute value in implementation method of business object.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

hI,

  As it is asynchronous so terminating event is needed to complete it.

So you make it as synchrouns then it will move to next stage.

Otherwise programatically raise a event for the terminatin

former_member507885
Participant
0 Kudos

Hi Anjan,

I have provided the terminating events in the task. The task method is executed but the

not executing the zreport program submitted in method.

Message Text         Method Z_BUS2081->DISPLAY REPORT executed successfully

Exception            0

Symbolic name

Error Type           0

Area                 SWF_RUN

Message              641

Variable 1           Z_BUS2081

Please advise...

Thank you.

anjan_paul
Active Contributor
0 Kudos

HI,

Did you test your method for zbus object in test mode from SWO1. Is it workin