"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."
"The flow of a program is determined by a sequence of screens in a dialog transaction. The screens that are called within a transaction, must belong to a single ABAP program, usually a module pool (Type M). You have to use the transaction maintenance transaction (SE93) to create a dialog transaction. Once you have entered a transaction code and a short description, chose transaction type program and screen. Then enter data on the next screen as required. The transaction code in a dialog program must be linked to the number of its initial screen. Finally enter this number in the screen number field."
To find User Exits in SAP please follow the steps given below.
1) Run Transaction SE81 2) Select SD 3) From the Menu Click on Edit 4) Select the option ‘Select Subtreee +/-‘ 5) From the Menu bar click on Information system 6) From the R/3 Repository information System open the Envir option 7) Select Exit Techniques 8) Select Customer Exits 9) Double click on Enhancements 10) Press F8
See the screen shots given below. Run Transaction SE81.
Select SD and then from the Edit menu click on Select Subtree
Click on Information System or press Shift+F4
Menu for 'R/3 Repository Information Sys' opens up
Follow the menu path Envir-----> Exit Techniques----> Customer Exits----> Enhancements
Click on the Execute button or press 'F8'
The following list is displayed.
Follow the above mentioned steps to find user exits for other modules.
1 comment:
Anonymous
said...
Nice one! I did use transaction SMOD which by pressing Ctrl-F (Search) brings you to the Search Enhancements screen. The point of your post is that you can let the system fill in selection Development Class. Great! :-)
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:
Nice one! I did use transaction SMOD which by pressing Ctrl-F (Search) brings you to the Search Enhancements screen.
The point of your post is that you can let the system fill in selection Development Class. Great! :-)
Post a Comment