Skip to Content
avatar image
Former Member

Hiding Variant in My Report Program

Im trying to Hide the Variant in our Program (Z_program_Name) using SHD0,

I am not able to hide, or de-activate. when you enter the value and press enter, a pop up should appear with the following Values ( Hide, Required, output only) . But it was not working as expected.

I have followed the step by step guide for SHD0 mentioned

http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation

but I could not get the Pop-up screen for disabling the Variant.

Does SHD0 work only for Standard programs & Tcode ? How can I hide my Variant using SHD0 .

Edited by: abhishek nms on Jul 1, 2010 11:22 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 01, 2010 at 06:06 PM

    Which variant are you talking about? Report Selection Screen Variant? Or ??

    Add comment
    10|10000 characters needed characters exceeded

    • Thx Abhishek for the feedback, now that's clear what you want to do.

      But I wonder how you could create a screen variant for the selection screen, as SHD0 triggers error message MS445 "No screen variant can be saved for & & (selection screen)". How did you do that? Or maybe it's not a selection screen...

      Note that you can either call the program without displaying the selection screen using SUBMIT ... AND RETURN, or hide the button ("GET" function code) by calling RS_SET_SELSCREEN_STATUS function module in the PBO (though executing "GET" manually is allowed in my 7.0!!)

      sandra