Posts

Showing posts with the label ABAPCoding

Navigating the ABAP Programming Landscape: Pretty Printers, Comments, Data Types, and Objects

Image
Welcome back everyone, So basically we have completed our DDIC part in our previous blog and just started with our programming part, So let’s continue with our ABAP programming part. Some more Functionalities of ABAP Editor :- The use of pretty printer is used to format the ABAP code. It makes the code more readable. The shortcut key for pretty printer is Shift + F1. The various functionalities of pretty printer are as follows :- Indentation Convert uppercase/lowercase      Note :- To check the various functionalities of the pretty printer. Click on utilities → settings → pretty printer So, you can use the pretty printer in any way as you prefer. Comments in ABAP Programming :- A comment is an explanation that is added to the source code of a program to help the person reading the program to understand it. Comments are ignored when the program is generated by the ABAP compiler. The * character at the start of a program line indicates that the entir...

Navigating the ABAP Landscape: Unveiling Database Utility and Initiating ABAP Programming

Image
 Welcome back everyone, So we have discussed how to create a transaction code in last blog and we will continue with database utility in this blog. Database Utility :- The database Utility acts as a interface between ABAP dictionary and the database. The purpose of database utility is that, it allows you to edit database objects. You can call the database utility from the initial screen of the ABAP Dictionary with Utilities → Database Utility or we can use the transaction code SE14. Requirements :- We have to change the length of the domain order number. Suppose, we have to increase the length to 12. As soon as, I will try to activate the domain, a pop up screen will appear showing where our domain is being used. Click on continue, we will get 2 errors, because our domain is being used in 2 tables as shown above. So, for this kind of purpose we use database utility. Step 1 :- Go to se14 Step 2 :- give the header table name and click on edit. ...

Mastering Search Helps in SAP ABAP: Creation, Assignment, and Collective Search Helps

Image
 Welcome back everyone, we already have discussed what are search help in our previous blog. Today, We will start with creation of Search help. 1. Requirement :- Create a search help for Order number for our Order header table. Kindly refer to previous blogs, how to create the order header table. Step 1 :- Go to SE11 and select Search help radio button. Step 2 :- Give a name and click on create. Step 3 :- A popup screen will appear with two radio buttons → firstly select elementary search help and press enter. Step 4 :- Provide the short description. Step 5 :- In selection method we have to provide the name of the table or name of the view from where we are fetching the data. Step 6 :- In dialog type select the value according to your requirement. Step 7 :- In search help parameter, press F4 and select the values you want in the search help. Step 8 :- For now mark Import and Export and List Position and Screen Position as shown below. Step 9 :- ...

Unlocking SAP Views: Navigating Maintenance Views and Help Views in Your Database Journey

Image
 Welcome back everyone So basically we already have created database view and projection view in our previous blog and in this blog we will see about Maintenance view and help view. Maintenance View Creation :- Note :- We can only create help view, if not more than one record should exits in dependent/secondary tables. Step 1:- Go to se11 and select view radio button and give some name for maintenance view and click on create button. Step 2:- Select maintenance view radio button and press enter → give short description. Note:- Since in our order item table we have multiple data for same data in order header and since maintenance view does not allow presence of multiple data in secondary table. Therefore, we will be creating two more tables with the following data in them, and then we will start with the maintenance view.      So, basically create the two tables, I don’t think it will cause any problem to anyone because we already have discussed in details...