Skip to Content

Problem, that asynchronous method call opends up a new session

Dear Workflow Experts,

I have a problem, when calling an asynchronous method from another BOR object instance, as that always opens a new session and it's not processed with the same Workplace' session. So I need some help, if anyone has ideas, how to solve it.

Problem Description

Called method: BUS2081.edit() which is defined as "dialog" and "asynchronous"

Calling method: ZWFINV.edit() which is also defined as being "dialog" and "asynchronous"

Within the calling method, there's a switch, which business object is to be called, so subtyping the BUS2081.edit() method is not an option here.

The coding within the ZWFINV.edit() method is as following


* ... some other stuff here

swc_call_method_asynch bor_2081 'EDIT' container.


Now what happends, when I use a Workflow-Task, defined for ZWFINV.edit-Execution (also asynchronous dialog task) the workitem execution always opens a new session, in which the BUS2081.edit() method is processed.

Requested behaviour

I'd like to use the current session for the method execution.

Further information

A task that directly executes a BUS2081.edit() method is working fine, and no additional session is execute.

When I change the algorithm from within the ZWFINV.edit() method in a way, that the BUS2081.edit() method is called synchronously, I get another problem.


* ... some other stuff here

swc_call_method bor_2081 'EDIT' container.


Now instead nothing happends: A double click on the workitem does not execute the BUS2081.edit() method at all.

I also have no opportunity for a system-wide delegation, as the BUS2081 object is used at a different project, so I cannot extend or subtype it.

... and yes, I usually use ABAP-OO-Workflow, where all these problems don't exists ... and there're other one in return :-)

Are there any ideas how to handle that?

With the very best wishes


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 03, 2014 at 11:34 AM


    I don't know, but please in ZWFINV.edit() , write the code

    Call transaction MIR4 (it is written in BUS2081.EDIT)

    and check it is workin or not

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.