Creating Variant Groups and Assigning Users (SAP Library (2024)

Creating Variant Groups and Assigning Users (SAP Library (1)Creating Variant Groups and AssigningUsers

So that users can work with variantgroups, you first need to create a variant group, then create transactionvariants with screen variants for this variant group, and finally assign theusers:

Creating a Variant Group

So that users can be assigned to avariant group, you first need to create the variant group. To do this, followthe procedure below:

...

1.Open transaction SHD0, enter thetransaction code, and press enter.

2.Choose the StandardVariants tab page, and then the sub tab page Variant Groups, and enter a group name, such as GROUP1.

3.Choose Create. Enter a short text on the Maintain Variant Group window that appears and save thevariant group.

Creating a Transaction Variant withScreen Variants

So that the usersof a variant group see the screen changes that you want them to see, you needto create the transaction variant with the relevant screen variants. Proceedas follows:

4.Switch to theTransactionVariants tabpage.

The system isalready displaying the predefined value for the name of the transactionvariant with the following naming convention:

<name ofthe variant group><name of the transaction code>

The groupname must be in the correct namespace.

Creating Variant Groups and Assigning Users (SAP Library (3)

Example:Example: you want to create a transaction variant for transaction XYZ thatbelongs to the group GROUP1. The name of the transaction variant is thenGROUP1XYZ.

5.Choose Create tocreate the transaction variant with the predefined name, and confirm themessage that this transaction variant belongs to the variant group that youcreated above.

6.Define the screenvariants.

You are leadthrough the individual screens of the transaction and can select what from thetransaction is visible for this variant group.

a.To do this, chooseCreate.

The window Confirm Screen Entries appears. In this window, you can select what from this screenis to be displayed in the transaction variant.

b.Select the desired screen elements forthe first screen and confirm your entry.

c.By choosing the back button, you returnto the Confirm Screen Entries screen, for the nextscreen of the transaction.

d.Once you have changed the screen outputin this way for the variant group for all desired screens, choose Exit and Save.

An overview of the changes to theindividual screens is displayed so that you can check yourselection.

e.Save your entries.

Every screenmust be assigned to a package and individually saved.

Assigning Users

Once you havecreated the variant group and the relevant transaction variants with screenvariants, you can assign users to the variant group as follows:

7.Return to the Standard Variants tab page, VariantGroups sub tab page.

8.Enter the name of a user that you want toassign to this variant group, and choose Assign. Amessage that this user was successfully assigned to the variant group appearsin the status bar. If you choose a where-used list for users, this user isdisplayed in the user list.

9.However, for thescreen variants of the variant group that you created above to be displayedfor the user, you first need to select SetProposal.

The user isassigned to the group and the associated transactions are started with thecorresponding variants only once you choose the SetProposal function.

If you now open the where-used listfor users again, you can see that the user is marked with a cross.

10.You can use this procedure of userassignment for all other users that you want to add to the variant group.

However, you can also enter usernames generically (*). If you then choose Assign,a selection screen appears, on which you can

Choose whether assignments or proposalsare to be changed

Further restrict the user names

Creating Variant Groups and Assigning Users (SAP Library (4)

The group in the option All Users from Group does not refer to the variant group, butrather to the user group for authorization checks from the user master record(logon data).

When you choose Execute on the selection screen, a list appears on which youcan further restrict your selection of users by selection. To save theassignments for all selected users, choose Save.

If you want to start the report inthe background, you can choose whether the list is simply displayed, orwhether the database changes are also made.

If a user is also to be able toexecute the original transaction, you need to assign him or her to the "emptygroup", that is the assignment is performed in the same way, but in this case,you simply enter nothing in the Group Namefield.

To delete the assignment of theuser to the group, choose Delete Assignment. Toreset the proposal, choose Reset Proposal.In this case, the assignmentit*elf is retained.

Result

You have created avariant group with the corresponding transaction variants and assigned users,who will see these transaction variants when they call thetransactions.

If necessary, youcan maintainthe variant groups and associated transaction variants.

11.

Creating Variant Groups and Assigning Users (SAP Library (2024)
Top Articles
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 6066

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.