If you need to tailor any SAP transaction or report, understanding how to create a variant in SAP is crucial. Variations, whether for transactions or reports, allow customization of standard SAP transactions to align with your company’s business needs. Transaction variations enable you to hide screens, menu functions, and fields, while report variations are used to store choice field values. Now, let’s delve into the process of “How to Create Variant in SAP” to master this essential customization skill.
Driving Business Worth Through UC – Sap-digital book pennant
You ought to figure out how to make a variation in SAP whether or not you need to use report variations or exchange variations. The best methodology is figure out how to do both so you can utilize whichever you favor when the need emerges.
How to Create Variant in SAP in 10 steps?
Before asking How to Create Variant in SAP you start the most common way of making an exchange variation, you want to characterize the determination screen for the program in which the variation will be made. Assorted types with the exception of S are considered the program you plan to utilize. You can utilize the exchange code SHD0 to make the exchange variation.
1. You want to get to the Underlying Screen of the ABAP Proofreader. You can then make the name of program in which the variation is to be made.
2. When you select the program, select the Variations choice, and afterward select Change.
3. The Variation Support Beginning Screen will then, at that point, come up. You can then include the name of the variation that you plan to make. There is a show for naming variations, which you should follow. To start with, you can utilize a name that has up to 14 alphanumeric characters. However, it would be ideal for you to never utilize % as one of the characters. The main time you can utilize and inside the characters is the point at which you need to make a framework variation. This variation takes into consideration programmed transportation of the program and the variation.
4. When you input the variation name, you ought to choose the Make choice.
5. To make a variation has just a single choice screen, then, at that point, that screen will show up. In any case, in the event that a program has more than one screen of this sort, a screen task exchange box will show up with a rundown of the accessible determination screens.
6. You then, at that point, need to choose at least one determination separates which the variation will be made.
7. After screen choice, you want to choose the Proceed with choice. This choice shows up on the last determination screen in a program where you have numerous determination screens.
8. From that point forward, you really want to include the determination esteems that you want. These qualities can incorporate dynamic and different determinations.
9. Subsequent to contributing the expected qualities, select the Proceed with choice.
10. The ABAP: Save Variation outline screen will then, at that point, show up. You will be expected to save the properties of your variations prior to saving them.
Retrieve a Variant
Click the Get Variety Button
Include the Variety you wish to use
Click Actually take a look at Imprint
The report will be populated with the Determination Standards.
Delete a Variant
While in ANY SAP Report Select GoTO > Variations > Delete
Feature the Variation you need to erase
Click OK
In the following SAP spring up
Select the “main in current client” radio button. (All Clients choice will erase the variation across ALL clients)
Click Proceed
Variation is erased.
Variant attributes: what are they?
Numerous variation credits exist. You want to guarantee that you select the right ones while making variations since they will assist with characterizing their qualities.
You should enter a short Portrayal of the variation. It should be significant.
On the off chance that you believe that your variation should be prepared to use for foundation handling however not in a discourse mode, select the Just for Foundation Handling field.
In the event that you don’t believe different clients of the framework should change your variation, then select the Safeguard Variation field.
Assuming that you believe that the name of your variation should be shown on the variation list, select the Main Showcase in Index. In any case, this choice will keep the clients from seeing the name showed assuming they utilize the F4 help esteem, so remember that.
On the Kind area, you can demonstrate whether a field is a Choice (S) or Boundary (P) type.
For you to compose safeguard specific fields on the choice screen; you really want to choose the Safeguarded segment for individual determinations that you need to make. From that point onward, no client can make any data sources or changes to your safeguarded variation.
On the off chance that you select the Undetectable segment, the chose fields on the determination screen will be concealed by the framework.
The Choice Variable characteristic permits the determination esteem at runtime to be set in a unique manner.
There are other variation ascribes. Be that as it may, the above recorded are significant and might be chosen or not during the formation of a variation. After they have been set, the variation can then be saved, and utilized later on.
Making Report Variants
While figuring out how to make variation in SAP, remember that report variations can be made even before a report has been made. You can decide to utilize an exchange code:/nzstm, or follow the right route way
1. You really want to utilize the accompanying route way: Client menu>Role ZMIT>Reports
2. At the point when you select Reports, you want to choose the sort of report for which you are making a variation.
3. When you select the report, you really want to enter the qualities that ought to go into the different fields of the report.
4. Select the Save as Variation choice. An ABAP window will show up.
5. On the ABAP window that seems input the variation name that you want. The name should follow every one of the important shows.
6. You really want to enter a Depiction property. The depiction ought to make it simple for different clients to recognize the variation that you have made.
7. Acknowledge the default choice in the field: Made for Determination Screens.
8. You can likewise choose the Safeguard Variation trait choice to keep unapproved clients from having the option to change your report variation.
9. Click on the Save choice and the variation will be saved.
Conclusion
Condensing that hefty chunk of information, here’s a concise conclusion: Learn how to create SAP variations, be it for transactions or reports. For transaction variations, define the selection screen, name your variation, choose screens, input values, and save. Retrieve, include, or delete variants as needed. Consider variant attributes like description, display preferences, and safeguarding. For report variations, navigate through the user menu, choose the report type, input values, and save the variant with a meaningful description. Mastering both types of variations empowers you to tailor SAP to your business needs effectively.
You may be interested in:
Performance Optimization in ABAP on HANA: Uniting CDS and AMDP