Application Development and Automation 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: 
Read only

tcode using transaction varient

Former Member
0 Likes
996

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
863

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

5 REPLIES 5
Read only

Former Member
0 Likes
863

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

Read only

Former Member
0 Likes
863

Hi,

By using SHDO tcode we can set the variants for custom tcodes also.

Regards,

Ravi

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
863

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

Read only

former_member214857
Contributor
0 Likes
863

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

Read only

Former Member
0 Likes
864

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