Fareez Ahamed

Tag: Blog Abap (10)

How to create a Tree List report in ABAP

Mar 5, 2015

Reports which has the capability to drill down to multiple levels are of good use. It serves as a simple overview as well as more detailed report when you want to look into a particular record in detail. SAP makes it easy to create Tree List reports with Function Modules RS_TREE_CONSTRUCT and RS_TREE_LIST_DISPLAY.

Read more...

Creating an ALV Grid Using OOP

Jan 19, 2015

SAP provides many ways to accomplish a task, creating an ALV Grid is no different. Though there are simple Function Modules available to create an ALV grid, Object Oriented methodology is more preferred due to its own advantages which are always debated in the ABAP world. As far as OO is concerned, my advice to ABAP developers is “Sometimes, you have to take a leap of faith first. The trust part comes later” (from the film Man of Steel) . Debates apart, we are going to try our hands creating an ALV grid display using the class CL_GUI_ALV_GRID.

Read more...

How to Store Files in Database in ABAP

Nov 25, 2014

There are requirements where documents has to be uploaded and associated with business data available in the system. When we store files in tables, it will be easy to link it with other tables data. This article is aimed at storing files in databases and downloading or uploading them.

Read more...

How to Create a Zip File in ABAP

Oct 11, 2014

We generate different kinds of files varying from Excel sheets to Text files based on the data available in SAP. It is very much possible to zip multiple reports within a single zip file and download the zip file from SAP.

Read more...

Random Number Generation in ABAP

Sep 17, 2014

Random Numbers are used for a variety of purposes in programming, and in this article we will see how to generate a Random Number or Random Number Sequence in ABAP

Read more...

Dynamic Search Help from Internal Table Data

Aug 11, 2014

While SAP has created most of the Search Helps that we will ever need, we still face situations where a Search Help has to be shown dynamically from data that we have in the an internal table. SAP has provided us a powerful Function Module to acheive this, and that is F4IF_INT_TABLE_VALUE_REQUEST.

Read more...

Optimize LOOP AT using Field Symbols

Jun 19, 2014

The time taken for an ABAP report to run is mostly spent in database queries and internal table processing. While the responsibility of database query optimization is spread across so many different levels, optimizing internal table processing remains solely the developer’s responsibility. In this article, we will see the advantage of making using of Field Symbols instead of Work areas in LOOP AT.

Read more...

Executing Operating System Commands from ABAP

Sep 13, 2013

Sometimes certain processes has to be run at Application Server level and the results has to be used within SAP system. They could be some simple OS commands or Shell scripts that does works like backup of files or database. In this article we are going to see how to achieve that.

Read more...

Running a Report Program and Getting Its Result Programmatically

Sep 10, 2013

There are situations when you need to run a report program and get its result list programmatically and display or process as you need. This article helps you to achieve that.

Read more...

Singleton Pattern in ABAP

Apr 15, 2012

Object Oriented Programming has been a boon to the programmers without which development of huge systems is almost impossible. ABAP is no exception to that which is why Object Oriented Programming was added to ABAP.

Read more...