Symptom
In S/4Hana, any program that tries to access /SAPAPO/MATKEY database table dumps. The ST22 details are like below:
Example 1:
Category ABAP programming error
Runtime Errors DBSQL_REDIRECT_INCONSISTENCY
ABAP Program /SAPAPO/SAPLDM_MATERIAL
Application Component SCM-BAS-MD-PR
The current ABAP program "/SAPAPO/SAPLDM_MATERIAL" had to be terminated
because it found a
statement that could not be executed.
The definition of "/SAPAPO/MATKEY" and "PRDSCMMATKEY" are not consistent
Example 2:
Category ABAP programming error
Runtime Errors DBSQL_REDIRECT_INCONSISTENCY
ABAP Program /1BCDWB/DB/SAPAPO/MATKEY
Application Component Not assigned
The current ABAP program "/1BCDWB/DB/SAPAPO/MATKEY" had to be terminated
because it found a
statement that could not be executed.
The definition of "/SAPAPO/MATKEY" and "PRDSCMMATKEY" are not consistent
>>>>> SELECT SINGLE * FROM /sapapo/matkey
33 INTO ls_matkey
34 WHERE matnr = iv_matnr.
Read more...
Environment
- SAP S/4HANA 1709 and follow-up releases
Product
Keywords
EEWB, EEW, LO-MD-MM, SELECT SINGLE from /SAPAPO/MATKEY, SELECT * from /SAPAPO/MATKEY , KBA , SCM-BAS-MD-PR , Product , Problem
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.