Symptom
- Experiencing the below dump while trying to convert a Purchase Requisition (PR) into a Purchase Order (PO).
Category ABAP programming error
Runtime Errors MESSAGE_TYPE_X
ABAP: Program SAPLEINU
Application Component MM-PUR - The error message indicates an issue with inserting a duplicate record in the table PRCD_ELEMENTS.
- Short text of the error message: Error during insert in table PRCD_ELEMENTS: Inserting duplicate record.
- Long text of the error message: VH 535
The termination occurred in ABAP program or include "SAPLEINU", in "ME_CREATE_DOCUMENT". The main program was "RSM13000".
INSERT ls_doc_curr INTO TABLE lt_doc_curr.
TRY.
cl_prc_result_factory=>get_instance( )->get_prc_result( )->save_price_element_db( "insert
EXPORTING
it_prc_element_classic_format = lt_konv
it_prc_element_doc_currency = lt_doc_curr ).
CATCH cx_prc_result INTO DATA(lr_exc).
MESSAGE x535(vh) WITH lr_exc->get_text( ). <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ENDTRY.
Read more...
Environment
- Materials Management (MM)
- SAP ERP Central Component
- SAP ERP
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
Product
Keywords
dump, purchase requisition, purchase order, prcd_elements, duplicate record, sap erp, message_type_x, vh message class, abap programming error, runtime errors, se11, se14, note 1248769, database inconsistency , KBA , MM-PUR-PO-GUI , Userinterface - Purchase Orders , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.