Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Short dump during BAPI call

Former Member
0 Kudos


I am using BAPI_PO_CREATE1 within my module programming. Whenever BAPI is executed for some scenarios it dumps though i verified that the internal tables passed to the BAPI still contain the right values. There is no exception handling for this BAPI & hence i only capture all the errors returned & handle them. But for cetain cases it dumps within the BAPI itself. I call BAPi two times one in test run & in the real mode. The test run doesnot dump but the real mode dumps.

Any kind of help is appreciated.



Former Member
0 Kudos

If you look at the dump analysis it will point out the place of dump. Can you tell us where is that? Also, do you have any piece of info in the error-analysis part?

Former Member
0 Kudos

The dump occured within the BAPI itself as shown below

Exception condition "FAILURE" raised.

Error analysis

A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised th


condition "FAILURE".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.


Source code extract


000020 METHOD get.


000040 IF my_manager is initial.

000050 CALL METHOD get_manager.

000060 ENDIF.


000080 CALL METHOD my_manager->search EXPORTING im_id = im_id

000090 IMPORTING ex_handle = ex_handle

000100 EXCEPTIONS failure = 01.


000120 IF sy-subrc ne 0.

> RAISE failure.

000140 ENDIF.



0 Kudos

Take a look at OSS note <b>799617</b>. I think it is related to your problem.

Former Member
0 Kudos

Can you explain what you meant by 'test run' and 'real mode? Do you mean SE37(test mode) and program(real mode)?