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

Variant Groups

Former Member
0 Likes
835

Dear Experts,

Using SHD0 I have created two variant groups ZG1 & ZG2 and created variants ZG1MIGO & ZG2MIGO

I have assigned the first variant to user1 and the second variant to user 2 ..

The problem is that there are no effect on the transction for the two variants .. it looks like they are not activated or some thing

Please Advice

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
767

Hi ,

For assigning individual user in SHD0 you need to log in that particular user.

In SHD0 transaction you first need to add the user1 in the group G1 Logging in user1 .

Similarly for User2 you need to - -

log on User2 and then you need to SHD0 transaction.
Fill the transaction name and the variant name.
Then click  in the Variant Groups Tab 
In the group name Field give the G2 and in User field write USER2  and hit the " Set Proposal " Button

This will resolve the issue .

Regards

Pinaki

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
767

I made a simple test with my user, I simply initialized Header text, logged out and in to be sure, and it works well. Check SAP notes maybe.

Read only

Former Member
0 Likes
767

Thanks for your quick reply ..

can you explian how did you " I simply initialized Header text" ??

And please test it with two users not just one

Thanks a lot

Read only

0 Likes
767

The field "header text", I put a default value for the test. It would be surprising that it doesn't work with 2 users, in that case this would be a bug. Please check SAP notes.

Read only

Former Member
0 Likes
767

I think that Idid understand Transaction Variant wrong ..because i thought i could make more than variant for the transaction and assign a group of users to every variant and when the user run the transaction the system see which variant is assigned for him

Please tell me if there is any way to execute what I want

Thanks

Read only

0 Likes
767

I'm not sure to understand what you say, but I think you are correct. Maybe it is my fault, I was not clear.

Let me explain how it works with my words, and please confirm if you agree.

For a given transaction T1, if you want user 1 to start it with transaction variant 1, and user 2 to start it with transaction variant 2, then you MUST use variant groups :

If variant group to be assigned to user 1 is named ZVG1, then transaction variant 1 must be named ZVG1T1, which means that when user 1 runs transaction T1, as user 1 is assigned to ZVG1 (a user can be assigned to only one variant group at a time), then the transaction variant ZVG1T1 will be used.

If variant group to be assigned to user 2 is named ZVG2, then transaction variant 2 must be named ZVG2T1.

Read only

Former Member
0 Likes
768

Hi ,

For assigning individual user in SHD0 you need to log in that particular user.

In SHD0 transaction you first need to add the user1 in the group G1 Logging in user1 .

Similarly for User2 you need to - -

log on User2 and then you need to SHD0 transaction.
Fill the transaction name and the variant name.
Then click  in the Variant Groups Tab 
In the group name Field give the G2 and in User field write USER2  and hit the " Set Proposal " Button

This will resolve the issue .

Regards

Pinaki