Catch the Dump in ABAP – I

Normally, if any exception occurred it will go to dump immediately in a program, then we will process this through the tcode ST22(dump analysis).  This code comes handy when the behaviour of function module is not predictable.

Explicit Error Handling

Explicit Error Handling

We will convert the dump into an error message (like in above snap) or some text statement. For this we need to call this statement
     RECEIVE RESULTS FROM FUNCTION ‘function module’ 

 

Continue Reading…

ABAP Program to Display OAER pictures on Screen

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)

Image display (using OAER)

 

Continue Reading…

ABAP Program to Display SE78 pictures on Screen

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)

SE78 Graphics (on-screen)

  Continue Reading…

Embed SAP View in an ABAP Program

We can also embed View of a Table in a program. SAP have provided a set of standard function modules for achieving the goal and by passing the initial values required to do this, we can accomplish that.

In this example, we will use the function module SE16N_INTERFACE to call the new standard table display.

 

Embed View in Program
Embed View in Program

 

Continue Reading…

ABAP Program to display SAP Data in 3-Dimension

SAP support for graphics are pretty nice, but hardly used by programmers. This should be treated as an additional tool for making MIS reports more friendly. There are many functions provided by SAP for Graphical display. Lets have a look at a pretty simple but interesting code (with a pretty nice output) which could be used as your starter code for SAP Graphics. 

 

3-D Graphics

3-D Graphics

Continue Reading…

Page 5 of 6« First...23456