SAP ABAP is a high-level computer programming language that is created by the software giant based out of Germany, SAP. ABAP stands for Advanced Business Application Programming. Along with Java, ABAP is the primarily used for programming the application server from SAP that is used to build business application.
SAP ABAP, however, is quite tricky to use, and takes some getting used to. With websites like Stechies, you can read up on some interesting tips and tricks to make your ABAP experience much better. Here are some of them.
Retrieving an unintentionally deleted program
Deleting a program by mistake is something that is quite commonly faced by developers. Having an easy way to get it back can often save hours of effort.
Follow these steps to retrieve the file.
- Create another program with the same name as the one that was deleted.
- Go to the option called “Utilities.” Under that go to “Versions” and click on “Version Management.”
- You will find the earlier version of your program before it was deleted. Click on display based on the timestamp.
- Your deleted program will appear on the screen.
- Finding the Table Name for a Specific Field
For anyone familiar with the ABAP environment, you will know that finding the table name for a field is a time-consuming task, especially when it has to be done for several fields. With the use of transactional codes in ABAP, you can quickly find the table name. T codes or transactional codes are similar to the shortcuts used on the Windows OS.
- Keep your cursor on the particular field and then press either F1 or F9.
- Then you must enter the t code, which is SE84 or SE15
- Then enter ST05 for a SQL trace operation.
- Tables in which a particular field is available
Many times, you would want to find out the exact presence of certain fields in the tables. The transactional code SE15 will help you in this regard.
- Open the command window and give the t code SE15.
- Choose the ABAP dictionary.
- Selected the folder titled “fields.”
- Click on the table called fields
- Enter the required name field that you want searched.
- Run this, or alternatively use the shortcut F8.
Alternatively, you can do this in another way
- Use the t code SE11 to open the ABAP Dictionary
- Enter the name of the data table where the particular field to be searched is used
- Press on the list button for “Where-used.”
- Check out the required boxes.
By following any of the above methods, you can see the full list of tables that hold the desired field.
- Enable or Disable the Autocomplete Function
- Go to the SAP logon option in the menu bar.
- Under that go to “Options”.
- On the menu named “Interaction Design,” select the field called “Visualization 2” and change the “Enhanced Search” option.
You will now have the autocomplete feature on, which is an incredibly useful tool.
These tips will guarantee you have a much more efficient usage, and will allow you to get work done faster.