09-24-2010 1:06 PM
Dear Experts,
Executing transaction ME22N, it displays the smartform, but clicking back button (or any other button) is givin a short dump ' A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the exception condition "FAILURE".
If I delete the call to BAPI_PO_GETDETAIL1, it runs OK.
Anybody knows some other BAPI I can use? Or how to resolve the issue?
Thank you very much for the assistant.
09-24-2010 1:17 PM
>
> Dear Experts,
>
> Executing transaction ME22N, it displays the smartform, but clicking back button (or any other button) is givin a short dump ' A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the exception condition "FAILURE".
>
> If I delete the call to BAPI_PO_GETDETAIL1, it runs OK.
>
> Anybody knows some other BAPI I can use? Or how to resolve the issue?
>
> Thank you very much for the assistant.
Ok.. im going to try to read your mind................................. nope, doesn't work.
Where are you calling BAPI_PO_GETDETAIL1? Why are you calng BAPI_PO_GETDETAIL1? What more info does the dump give? and so on.. and so on... and so on...
09-27-2010 9:06 AM
Very funny...
I have customized a message type so when a purchase order is created it calls to my program, in which I get data and show a smartform. When I´m getting data for the smartform, I use the BAPI to obtain delivery address.
Everything runs OK, I get the data, show the smartform... but after print preview window, any button I push gives a short dump.
Here the dump information:
Short text
Exception condition "FAILURE" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
exception
condition "FAILURE".
Since the exception was not intercepted by a superior
program, 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.
Information on where terminated
Termination occurred in the ABAP program "CL_HANDLE_MANAGER_MM==========CP"
in "GET".
The main program was "RM_MEPO_GUI ".
In the source code you have the termination point in line 13
of the (Include) program "CL_HANDLE_MANAGER_MM==========CM005".
I really hope this is enough information. If not, I'll be pleased of giving you more. Thank you very much!
10-02-2010 6:53 PM
I am also facing the same problem.
Any solution highly appriciated.
06-18-2020 8:00 PM
07-13-2020 6:16 AM
Solved by calling the BAPI with Destination 'NONE' statement. The process is executed in another separate RFC context.
Example
CALL FUNCTION 'BAPI_PO_GETDETAIL1' DESTINATION 'NONE'
EXPORTING
purchaseorder = pa_ebeln ..............................................