SAP FIORI > Open Transaction in new tab via ABAP

Hi guys,

we have the following situation. I have an Programm in ABAP which has a button with the following coding:

 

 

CALL FUNCTION ‘Z_CALL_TCODE_IN_NEW_WINDOW’ STARTING NEW TASK ‘F110’
EXPORTING
tcode = ‘F110’.

 

 

The Function “Z_CALL_TCODE_IN_NEW_WINDOW” has the following Coding

 

 

FUNCTION Z_CALL_TCODE_IN_NEW_WINDOW.
*”———————————————————————-
*”*”Lokale Schnittstelle:
*” IMPORTING
*” VALUE(TCODE) TYPE SY-TCODE
*”———————————————————————-

CALL TRANSACTION tcode.

ENDFUNCTION.

 

 

The function is remote ready.

In SAP GUI when I press the Button it opens the transaction F110 in a new window.

In SAP Fiori it does nothing.

I also tried the following (which doesn’t work either)

CALL FUNCTION ‘COPF_CALL_TRANSACTION’
EXPORTING
tcode = ‘F110’
new_session = abap_true.

Any ideas what I have to do that in Fiori it opens transaction F110 in a new browser tab?

Thank you in advance!!

Scroll to Top