Skip to Content
avatar image
Former Member

Hide variant button in a popup window

All,

I am using CALL Transaction to open tcode FEBA from custom report.

It opens in a popup window with Execute, Check Input, Get Variant, Save Variant buttons.

How can I hide buttons Check Input and Get Variant?

I have tried below code but did not work.

Append 'NONE' To IT_UCOMM.

Append 'SPOS' TO IT_UCOMM.

Call Function 'RS_SET_SELSCREEN_STATUS'

Exporting

p_status = sy-pfkey

Tables

p_exclude = it_ucomm.

Thanks

Thruna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 21, 2015 at 01:29 AM

    Hi Mr. Shanmuga,


    here is a thread with some ideas to help with your problem.


    https://scn.sap.com/thread/2149420

    best regards.

    Mauricio Carrara

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2015 at 03:10 AM

    Hi Thruna,

    Seems you need set the program name and status of FEBA, not current your zprogram.

    Also you could using SHD0 to create a transaction variant to deactivate that two menu button.

    Call new transaction variant in your zprogram.

    regards,

    Archer

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Archer,

      Thanks for your reply.

      If it is a dialog transaction then I can use SHD0 to hide the buttons.

      But it is a report (module pool program) so we can't do it using SHD0.

      Report Ztest.

      Data Declarations...

      CALL Transaction Tcode...

      Regards

      Thruna