BAPI_PO_GETDETAIL1 Function Error

16 Kasım

2017

Category ABAP Programming Error
Runtime Errors RAISE_EXCEPTION
ABAP Program CL_PO_HEADER_HANDLE_MM========CP
Application Component MM-PUR
Date and Time 16.11.2017 10:06:33

Short Text
Exception condition “FAILURE” triggered

What happened?
The current ABAP program has encountered an unexpected situation.

What can you do?
Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system
administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.

Solution :

cl_mmpur_bapi_po=>put_repid( im_repid = sy-repid ).

CALL FUNCTION ‘BAPI_PO_GETDETAIL1’
EXPORTING
purchaseorder = ls_kalem-ebeln
* ACCOUNT_ASSIGNMENT = ‘ ‘