You are on page 1of 3

Creating Variant Groups and Assigning Users

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

Creating a Variant Group

So that users can be assigned to a variant group, you first need to create the variant group. To do this, follow the procedure below: ... 1. Open transaction SHD0, enter the transaction code, and press enter. 2. Choose the Standard Variants 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 the variant group.

Creating a Transaction Variant with Screen Variants

So that the users of a variant group see the screen changes that you want them to see, you need to create the transaction variant with the relevant screen variants. Proceed as follows: ... 1. Switch to the Transaction Variants tab page. The system is already displaying the predefined value for the name of the transaction variant with the following naming convention: <name of the variant group><name of the transaction code> The group name must be in the correct namespace.

Example: you want to create a transaction variant for transaction XYZ that belongs to the group GROUP1. The name of the transaction variant is then GROUP1XYZ.

. 3. Every screen must be assigned to a package and individually saved. However. this user is displayed in the user list. Save your entries. You are lead through the individual screens of the transaction and can select what from the transaction is visible for this variant group.2. you return to the Confirm Screen Entries screen. Define the screen variants. 2. e. Variant Groups sub tab page. By choosing the back button. An overview of the changes to the individual screens is displayed so that you can check your selection. Choose Create to create the transaction variant with the predefined name. If you choose a where-used list for users. In this window. you can select what from this screen is to be displayed in the transaction variant. for the next screen of the transaction. choose Create. 3. Assigning Users Once you have created the variant group and the relevant transaction variants with screen variants. and choose Assign. c. a. you first need to select Set Proposal. A message that this user was successfully assigned to the variant group appears in the status bar. and confirm the message that this transaction variant belongs to the variant group that you created above. Return to the Standard Variants tab page. 1. you can assign users to the variant group as follows: . The window Confirm Screen Entries appears.. Select the desired screen elements for the first screen and confirm your entry. b. for the screen variants of the variant group that you created above to be displayed for the user.. d. choose Exit and Save. Enter the name of a user that you want to assign to this variant group. Once you have changed the screen output in this way for the variant group for all desired screens. To do this.

you simply enter nothing in the Group Name field. When you choose Execute on the selection screen. If you want to start the report in the background. To reset the proposal. you can see that the user is marked with a cross. but in this case. the assignment itself is retained. you can choose whether the list is simply displayed. 4. choose Delete Assignment. If you then choose Assign. choose Reset Proposal. To save the assignments for all selected users. who will see these transaction variants when they call the transactions. that is the assignment is performed in the same way. To delete the assignment of the user to the group. a list appears on which you can further restrict your selection of users by selection. choose Save. you can maintain the variant groups and associated transaction variants. you can also enter user names generically (*). In this case. . a selection screen appears. on which you can ○ ○ Choose whether assignments or proposals are to be changed Further restrict the user names The group in the option All Users from Group does not refer to the variant group. Result You have created a variant group with the corresponding transaction variants and assigned users. If you now open the where-used list for users again.The user is assigned to the group and the associated transactions are started with the corresponding variants only once you choose the Set Proposal function. If a user is also to be able to execute the original transaction. you need to assign him or her to the "empty group". However. but rather to the user group for authorization checks from the user master record (logon data). You can use this procedure of user assignment for all other users that you want to add to the variant group. or whether the database changes are also made. If necessary.