‎2012 Jan 25 1:45 PM
Hi Experts,
My requirement is -- In a Zreport, 3 radiobuttons are there, user want a tcode for which only one Radiobutton got selected rest two are disable.
Its easy if i touch the code, but i want to do it using transaction varient, because code is already in prod and user dont want to edit anything inside the code.
I tried a lot using transaction varient, still not found anything.
Any ida or any document can be helpfull.
Note: all the example i found in google is transaction varient for standard tcode, My one is custom tcode.
thanks,
jo
‎2012 Jan 27 3:15 AM
Hi Jo,
First create a selection screen variant with name starting with 'CUS&' by disabling the radio buttons using protect field option. it will be saved as system variant.
Then go to se93 and create the tcode with option " Program and selection screen (report transaction) ". Enter dthe above create variant 'CUS&' in 'Start with variant option' and save.
Regards
KP
‎2012 Jan 25 2:19 PM
Hi Jo,
These are the steps through which you can acheive the functionality using variants.
<< Moderator message - Cut and paste response from removed. Plagiarism is not allowed in SCN >>
In this process whatever radiobuttons you want to disable you can do and when the variant is selected only one radiobutton will get select and the rest will be grade out.
Hope this will solve your problem.
Regards,
Jhings
Edited by: Rob Burbank on Jan 25, 2012 9:21 AM
‎2012 Jan 25 2:20 PM
Hi,
By using SHDO tcode we can set the variants for custom tcodes also.
Regards,
Ravi
‎2012 Jan 25 2:23 PM
Hello Jowar,
You can create a variant & in the variant attributes mark the two radio buttons as "protect fields". Create a transaction & give the variant name in the "Start with Variant".
You don't need to create a transaction variant(SHD0) for custom report!
BR,
Suhas
‎2012 Jan 26 1:54 PM
Hi Jo
You can create variants for each scenario and then define a transaction based on "Transaction with Variant"
In this new transsaction you can call your transaction setting a specific variant to start this.
You can check image attached
Best regards
‎2012 Jan 27 3:15 AM
Hi Jo,
First create a selection screen variant with name starting with 'CUS&' by disabling the radio buttons using protect field option. it will be saved as system variant.
Then go to se93 and create the tcode with option " Program and selection screen (report transaction) ". Enter dthe above create variant 'CUS&' in 'Start with variant option' and save.
Regards
KP