2628676 - Short dump AMDP_NATIVE_DBCALL_FAILED occurs in t-code MD04 | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2628676 - Short dump AMDP_NATIVE_DBCALL_FAILED occurs in t-code MD04

Symptom

When entering into t-code MD04, the following short dump occurs:

Category ABAP programming error
Runtime Errors AMDP_NATIVE_DBCALL_FAILED
Except. CX_AMDP_NATIVE_DBCALL_FAILED
ABAP Program CL_PPH_READ_CLASSIC===========CP
Application Component PP-MRP

|Short Text |
| SQL error when creating or updating a database procedure |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened? |
| While running database procedure |
| |
| CL_PPH_READ_CLASSIC=>GET_MRP_ELEMENTS |
| |
| , the system checked whether database procedure |
| |
| CL_PPH_READ_CLASSIC=>GET_MRP_ELEMENTS |
| |
| is still up to date. Native call |
| |
| ALTER PROCEDURE "CL_PPH_READ_CLASSIC=>GET_MRP_ELEMENTS" RECOMPILE |
| |
| reported the following error: |
| |
| SQL code of the database: 259 SQL message from the database: "invalid table |
| name: Could not find table/view V_PPH_STOCK in schema SAPS4P: line 329 col 6 |
| (at pos 27681)"

----------------------------------------------------------------------------------------------------
|Information on where terminated |
| The termination occurred in ABAP program or include |
| "CL_PPH_READ_CLASSIC===========CP", in "GET_MRP_ELEMENTS". The |
| main program was "SAPMM61R".


Read more...

Environment

  • SAP ERP Production Planning (PP)
  • SAP S/4HANA, on-premise edition 1511 
  • SAP S/4HANA 1610
  • SAP S/4HANA, cloud edition 1503
  • SAP S/4HANA, cloud edition 1506
  • SAP S/4HANA, cloud edition 1511
  • SAP S/4HANA, cloud edition 1603
  • SAP S/4HANA Cloud 1605
  • SAP S/4HANA Cloud 1608

Product

SAP S/4HANA 1610 ; SAP S/4HANA Cloud 1605 ; SAP S/4HANA Cloud 1608 ; SAP S/4HANA, cloud edition 1503 ; SAP S/4HANA, cloud edition 1506 ; SAP S/4HANA, cloud edition 1511 ; SAP S/4HANA, cloud edition 1603 ; SAP S/4HANA, on-premise edition 1511

Keywords

CL_PPH_READ_CLASSIC, GET_MRP_ELEMENTS, V_PPH_STOCK, E2302, E2 302, MD04, MD01, MD02, MD03, MD01N, MRP live, SQL error, invalid table name , KBA , PP-MRP , Material Requirements Planning , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.