Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

why "Required function MB_PHYSICAL_INVENTORY not processed"?

Former Member
0 Kudos

Hi experts,

I'm trying to use JCo to call an BAPI called "BAPI_MATPHYSINV_COUNT". I entered the required fields and call function execute. But the BAPI returned a massage "Required function MB_PHYSICAL_INVENTORY not processed". Why this function doesn't processed? I've tested this BAPI in BAPI Explore and it returned "Count entered for doc." The data I've entered are the same. Could any one give me some advises about this situation??

Thanks a lot.

5 REPLIES 5

Former Member
0 Kudos

In test sequence use BAPI_TRANSACTION_COMMIT after your BAPI.

Mark WAIT = 'X' in the IMPORT parameter of BAPI_TRANSACTION_COMMIT.

For testing if it is working or not:

  • Goto SE37 --> click on FUNCTION MODULE --> TEST -->TEST SEQUENCES

  • First give <BAPI you are using> then BAPI_TRANSACTION_COMMIT.

  • Click on EXECUTE. Execute <BAPI you are using> then 'BACK' and then BAPI_TRANSACTION_COMMIT with proper data.

  • Goto the transaction from where you can check the effect of you BAPI.

Former Member
0 Kudos

hi

you try this fm MB_SELECT_MAT_PHYSINV_STD and call function BAPI_TRANSACTION_COMMIT afterwards.

hope this helps

regards

Aakash Banga

Former Member
0 Kudos

Thanks for response.

But I 've executed "BAPI_TRANSACTION_COMMIT"after "BAPI_MATPHYSINV_COUNT".

And I just change the calling methodology to using external java program with JCo. but it

returned "Required function MB_PHYSICAL_INVENTORY not processed". I really hope to know why

system return this message and how could I let "BAPI_MATPHYSINV_COUNT" can be called using

external java program with JCo.

Thanks.

0 Kudos

May be any pop-up is generating in the execution, as I see MB_PHYSICAL_INVENTORY is normal FM.

Check in SM21 for further details.

Former Member
0 Kudos

Thanks for response, but I checked the system log and there isn't record anything about this transaction.

The content of Return table is:

|TYPE| ID | NUMBER| MESSAGE

|A |M7 |695 |Required function MB_PHYSICAL_INVENTORY not processed

If there's any advises please tell me. Thanks a lot.