Application Development 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

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

horst_keller
Product and Topic Expert
Product and Topic Expert

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

Hi,

Maybe this samples report can help you :

RSIMC000

RSIMC001

RSIMC002

RSIMC003

RSIMCTRX

RSIMCTST

Best Regards

0 Kudos

Hello Miguel,

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

Best regards
Stefan

horst_keller
Product and Topic Expert
Product and Topic Expert

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

Hello Horst,

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

Best regards
Stefan

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.