Archive for the ‘Abap Objects’ Category

Lock Objects in SAP

Wednesday, August 19th, 2009

Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.

SAP Provide three type of Lock objects.

- Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to the locked area of the table

- Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to the locked area of the table.

- Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the same transaction.

Type of Locks

(more…)

Finding Obsolete BAPIs in SAP

Thursday, August 6th, 2009

With introduction of ECC6.0, there goes some function modules/BAPIs with the old version. The following procedure defines the steps for displaying Obsolete BAPIs.

Obsolete BAPIs

(more…)

ABAP Program to Display OAER pictures on Screen

Wednesday, July 29th, 2009
There is another way to upload the image and display on screen in our custom application. We can also add the Images using the Transaction OAER, then calling the relevant functions to do rest of the work at PBO.

Image display (using OAER)

(more…)

ABAP Program to Display SE78 pictures on Screen

Tuesday, July 28th, 2009

There has been requirement to upload the image and show that on the screen in Module Pool programming. The following program displays a color Picture in a custom container on screen that has been uploaded using SE78 pictures.

SE78 Graphics (on-screen)

(more…)

ABAP Program with Editable ALV Grid Contents

Tuesday, July 28th, 2009

Using ALV Grid is always beneficial in terms operations and activities we can perform on the data. It even allow us to download data in various formats. But when compared to Table Control, its main disadvantage is, un-editable / read-only data.

Here is a simple program to make certain cells of an ALV grid control editable.

Editable Table Grid

(more…)