How to open fragment screen inside button and tabsheet

HI team,
Need your kind advise.

QUESTION:

  1. I have created a button inside the main screen. When I click this button, it should open a fragment screen as a window tab. How to program this.

  2. I have created a tabsheet inside the main screen. When I click this sheet, it should open the fragment screen. How to program this.

Hi Jenanikanipar!
I would like to ask some clarifying questions:

  1. Do you want to open the fragment in a new window tab? It’s impossible, because the fragment is an independent part of the screen. The fragment is not a screen.

  2. Am I correct that you want to click on some part of TabSheet to open a new tab?

Regards,
Elena