"In ABAP it is very convenient to run a report using a Variant. Basically a report can have several Variants linked to it. If you use a variant then the data entry time is reduced considerably and this also reduces data entry errors. The load on the ABAP processing is also reduced. To create a Variant you may need the necessary authorizations. Most of the times while testing programs you will need to run a report using a variant and hence having the authorization to create a Variant is necessary. To create a Variant go to the main reporting screen, enter the name of the report for which you want to create the variant and select goto Variants option from the menu. The system displays the initial screen for the Variants. For creating a Variant you need to enter all the mandatory fields. Also you need to give a unique name for the Variant. Follow the naming convention rules. You may have to create several Variants for a particular report. Once a Variant is created you ca also schedule to run the report in the background using this Variant. For each variant that you create you need to give a brief description which will help to explain the purpose of the variant and help to distinguish the various Variants that you have created. You may want to protect your Variant by selecting the Protect Variant option. This option enables only the person who has created the Variant to change or delete it. While Running a report directly from the menu you can use the Run with Variant option and then select the desired variant from the dropdown list. Remember that Variants are report dependant. So to create a Variant you need to first create an ABAP report (Executable Program with selection screen). Once you successfully create all the variants for an ABAP report, you will save considerable amount of time which would otherwise have been spent in entering the same data again and again."
"Radio Frequency Identification Devices are responsible for electronically capturing the data related to Materials. Once the data is captured, it is transmitted via Radio waves to the SAP server. The main use of RFID devices is in Warehouses where the data is physically moved from one location to another. It is very convenient for the warehouse personnel to make use of RFID so that all the material movement is captured automatically and the information is transferred to the SAP server. SAP Auto-ID Infrastructure is the component in SAP Netweaver that provides gateway to the RFID Data."
Variants can be used when you need to run a Report (Any ABAP Executable program) with different selection criterion. For example if you have a report that needs to be run for Western Region/Easter Region or for different company codes/ Sales Areas. It becomes tedious to enter the selection criterion again and again. Also some reports need to be run in the background. You can schedule to run the report in the back ground with a variant.
To create a variant please follow the steps given below.
Run Transaction SE38 Enter the Report Name Run the Report once the selection screen is displayed click on save.
Click on Save
Enter the Variant name and a short description.
You can create multiple variants for a single report. Once the variants are created you can then choose the variant that you wish to run and then run the report.
Please see the figure below.
Click on the Variant button
Choose the Variant
1 comment:
Anonymous
said...
hi, nice blog. but how to delete ab existing verient.
Always specify your conditions in the Where-clause instead of checking
them yourself with check statements. The database system can then use an index
(if possible) and the network load is considerably less.
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.
1 comment:
hi, nice blog.
but how to delete ab existing verient.
Post a Comment