Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide variant button in a popup window

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

Hi Mr. Shanmuga

best regards.

Mauricio Carrara

ArcherZhang
Advisor
Advisor
0 Kudos

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

0 Kudos

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