cancel
Showing results for 
Search instead for 
Did you mean: 

SAP exception messages difference between MD04/table MDTB and BAPI

Xiaoguang
Participant
0 Kudos
431

HI,

The same material in the same plant at the same time

Exception Messages

Tcode MD04 :10 07

Table MDTB:U1(10) T4(07)

BAPI MD_STOCK_REQUIREMENTS_LIST_API:U3(20) T4(07)

Why the exception messages difference between MD04/table MDTB and BAPI ?

Can you help me?Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

DominikTylczyn
SAP Champion
SAP Champion
0 Kudos

Hello @Xiaoguang 

First, you mustn't compare exceptions in the MDTB table with stock/requirements list. MDTB stores MRP lists. Even though they look very similar MRP lists and stock/requirements lists are two fundamentally different functionalities.

Second, your current stock is zero and is below the safety stock of 1. Therefore you definitely need the POItem and you need to execute it as fast as possible. So the exceptions in MD04 are correct. You should not cancel the POItem as the exception 20 in MD_STOCK_REQUIREMENTS_LIST_API advises. To me it looks like a bug in MD_STOCK_REQUIREMENTS_LIST_API, I would report that to SAP support.

Best regards

Dominik Tylczynski