on 07-27-2012 1:13 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.