Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Start Transaction Asynchronous as Visible Session

Stefan-Schnell
Active Contributor
0 Kudos
581

Hello community,

a tiny question: I want to start a transaction asynchronously as a visible session via ABAP, is it possible and if yes, how can I do that?

Thanks for tips and hints

Cheers
Stefan

1 ACCEPTED SOLUTION

retired_member
Product and Topic Expert
Product and Topic Expert
446

Create an RFM that calls the transaction.

Call the RFM starting new task.

Don't forget to take care for security inside your RFM.

5 REPLIES 5

Former Member
446

Hi,

Maybe this samples report can help you :

RSIMC000

RSIMC001

RSIMC002

RSIMC003

RSIMCTRX

RSIMCTST

Best Regards

0 Kudos
446

Hello Miguel,

thank you very much for your answer, the example reports are very interesting.

Best regards
Stefan

retired_member
Product and Topic Expert
Product and Topic Expert
447

Create an RFM that calls the transaction.

Call the RFM starting new task.

Don't forget to take care for security inside your RFM.

0 Kudos
446

Hello Horst,

thank you very much for your answer, it works perfect.

Best regards
Stefan

0 Kudos
446

Fine, then I recommend, to introduce the RFM as follows:

DATA same_system TYPE c length 1.
CALL FUNCTION 'RFC_WITHIN_SAME_SYSTEM'
  IMPORTING
    caller_in_same_system = same_system
  EXCEPTIONS
    OTHERS = 4.
 IF sy-subrc = 0 AND same_system = 'N'.
   RETURN.
 ENDIF.