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 fields in variant in custom transaction

pinakiroy86
Explorer
0 Kudos
675

Hello,

I have created a custom transaction for a report and it will be executed with a variant which I created by hiding few fields in the report selection screen. Now, when I execute the transaction it's showing the selection screen with hidden fields, which is fine but it's also showing the 'select all field' icon beside the execute button. Is there any way we can remove this icon? I was able to remove it using code , but can I achieve it without writing any code?

5 REPLIES 5

pinakiroy86
Explorer
0 Kudos
457

Hello Sandra,

A selection screen GUI Status is standard and can not be changed. How can I deactivate the function code ?

Sandra_Rossi
Active Contributor
0 Kudos
457

Screen Variant and Transaction Variant can be used (transaction code SHD0). You can find examples how to create them in the forum.

pinakiroy86
Explorer
0 Kudos
457

Hi Sandra,

This is a custom report and custom transaction . How transaction variant works on custom report selection screen?

Sandra_Rossi
Active Contributor
0 Kudos
457

Sorry, "No screen variant can be saved for <program> <sel-screen-num> (selection screen)" (Message no. MS445 Diagnosis You want to create a screen variant for a selection screen. You can only create screen variants for "normal" screens, dialog boxes, and subscreens...)

So the answer is no, you can't.

Sandra_Rossi
Active Contributor
0 Kudos
457

No, only the program can disable a function code in a selection screen.

NB: it's not possible to use screen variants to disable function codes because "No screen variant can be saved for <program> <sel-screen-num> (selection screen)" (Message no. MS445 Diagnosis You want to create a screen variant for a selection screen. You can only create screen variants for "normal" screens, dialog boxes, and subscreens...)