‎2007 Sep 10 4:33 PM
Hi all,
I have a requirement that i have to create 2 transactions(ZT01 , ZTO2) for the Same screen Number(9000). But the screen contains different functionality. i.e. the GUI Status and the Title are different.
How to do this??
‎2007 Sep 10 4:44 PM
Hi,
Create two transactions ZT01 , ZT02 using Transaction SE93. In the module set_pfstatus of screen 9000, write following code.
CASE sy-tcode.
WHEN 'ZT01'.
SET PF-STATUS 'STAT1'.
SET TITLEBAR 'TITLE1'.
WHEN 'ZT02'.
SET PF-STATUS 'STAT2'.
SET TITLEBAR 'TITLE2'.
ENDCASE.
<b><REMOVED BY MODERATOR></b>
Regards,
Mukul
Message was edited by:
Alvaro Tejada Galindo
‎2007 Sep 10 4:44 PM
Hi,
Create two transactions ZT01 , ZT02 using Transaction SE93. In the module set_pfstatus of screen 9000, write following code.
CASE sy-tcode.
WHEN 'ZT01'.
SET PF-STATUS 'STAT1'.
SET TITLEBAR 'TITLE1'.
WHEN 'ZT02'.
SET PF-STATUS 'STAT2'.
SET TITLEBAR 'TITLE2'.
ENDCASE.
<b><REMOVED BY MODERATOR></b>
Regards,
Mukul
Message was edited by:
Alvaro Tejada Galindo
‎2007 Sep 10 4:45 PM
You can add Authority object in Transaction code and check authorization in your report. Depending upon authorization you can activate/deactivate screen elements.
‎2007 Sep 10 4:51 PM
Hi,
Create 2 transaction codes, then in the PBO of 9000 you need to write the below logic
CASE sy-tcode.
WHEN 'ZT01'.
SET PF-STATUS 'ZT01'.
SET TITLEBAR 'ZT01'.
WHEN 'ZT02'.
SET PF-STATUS 'ZT02'.
SET TITLEBAR 'ZT02'.
ENDCASE.
Regards
Sudheer