06-17-2009 9:45 AM
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.
06-17-2009 9:49 AM
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.
06-17-2009 9:52 AM
hi
you try this fm MB_SELECT_MAT_PHYSINV_STD and call function BAPI_TRANSACTION_COMMIT afterwards.
hope this helps
regards
Aakash Banga
06-17-2009 10:05 AM
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.
06-17-2009 10:14 AM
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.
06-17-2009 11:41 AM
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.