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: 
Read only

Start Transaction Asynchronous as Visible Session

Stefan-Schnell
Active Contributor
0 Likes
1,585

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
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,450

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
Read only

Former Member
1,450

Hi,

Maybe this samples report can help you :

RSIMC000

RSIMC001

RSIMC002

RSIMC003

RSIMCTRX

RSIMCTST

Best Regards

Read only

0 Likes
1,450

Hello Miguel,

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

Best regards
Stefan

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,451

Create an RFM that calls the transaction.

Call the RFM starting new task.

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

Read only

0 Likes
1,450

Hello Horst,

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

Best regards
Stefan

Read only

0 Likes
1,450

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.