Posts

Showing posts with the label abap tutorials

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 entire line is comm

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. S

Mastering SAP Transactions: Creating Custom Transaction Codes and Case-Sensitive Table Management

Image
  Welcome back everyone, So basically we were discussing about lock objects in our previous blog. You have noticed, I have been using the term transaction codes very often, In this blog we will learn how to create transaction codes for tables. How to create a transaction code ? We use transaction code SE93 for creating our own transaction codes manually. Creating transaction code for our Order Header Table:- Step 1 :- Go to transaction code SE93. You will see a screen, same as below Step 2 :- Give a name and click on create button. Step 3 :- Provide Short description and for creating transaction code for table ( In Start object select the radio button → Transaction with parameters ( parameter transaction ) ). Note :- We will discuss and use the remaining radio button, in the nearby future in other upcoming topics. Step 4 :- Press enter. Step 5 :- Since, we want to open SM30, whenever we open our TCODE , therefore provide SM30 in transaction field and cl

Deep Dive into SAP Table Buffering: Single vs. Full vs. Generic Area Buffering, Practical Implementation, and Lock Objects

Image
 Welcome back everyone, so basically we were discussing about Single Record buffering and we had discussed that in single record buffering at a time, only single record will pass. Full Record Buffering :- In case of full buffering, full table records load into the buffer at a time. When to use :- Tables that are best suited to full buffering are frequently accessed and rarely changed. A table which stores transaction data should not be opted for full buffering. Advantage :- There is a significantly reduction in number of database access. Disadvantage :- This type of buffering requires more memory on application layer. Practical Implementation of Full Record Buffering :- Step 1 :- Open our order header table in change mode. Step 2 :- Go to technical settings, and select fully buffered → activate the table. Step 3 :- At this moment, if you go to transaction code al12 and open the buffer. Step 4 :- you will see nothing will be in the buffer. Step 5 :- Open the