2017 Sep 04 11:36 AM
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
2017 Sep 04 12:22 PM
Create an RFM that calls the transaction.
Call the RFM starting new task.
Don't forget to take care for security inside your RFM.
2017 Sep 04 12:18 PM
Hi,
Maybe this samples report can help you :
RSIMC000
RSIMC001
RSIMC002
RSIMC003
RSIMCTRX
RSIMCTST
Best Regards
2017 Sep 04 1:08 PM
Hello Miguel,
thank you very much for your answer, the example reports are very interesting.
Best regards
Stefan
2017 Sep 04 12:22 PM
Create an RFM that calls the transaction.
Call the RFM starting new task.
Don't forget to take care for security inside your RFM.
2017 Sep 04 1:07 PM
Hello Horst,
thank you very much for your answer, it works perfect.
Best regards
Stefan
2017 Sep 04 1:33 PM
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.