Wednesday, April 9, 2008
Creating a Variant for ABAP Program
Creating a Variant for SAP ABAP Programs/Reports
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
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
Subscribe to:
Post Comments (Atom)
ABAP TIPS
|
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