cancel
Showing results for 
Search instead for 
Did you mean: 

COM Error with BAPI call BAPI_STSRVAPS_SAVEMULTI2

Former Member
0 Kudos

We are using the BAPI BAPI_STSRVAPS_SAVEMULTI2 to integrate Stock from an external system programmed on VB. We are getting the error "Inventory ManagemntApplication Error During COM Routine Call" sporadically during the integration when we integrate more than 20 orders.About 6% of our daily load of orders fail due to this issue, but we are able to re-integrate the orders successfully.

This error occurs only in our production system, and cannot be replicated in our test system. Both production and test landscapes are identical.

We have implemented multiple OSS notes that relates to this issue, but no improvement.

The error does not occur when the BAPI is tested with test cases on the system, even when loaded with 1000 orders. OSS will not support without a failure in this case.

Have any of you seen such failures related to BAPI calls from VB Systems?

Is there any way to troubleshoot the failure.

Sudarshan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I get an error like this when I tried to create two stocks of the same categories for the same product location.

Former Member
0 Kudos

Marceilo,

We are able to test the BAPI with 2 records writing stock to the same location product, also the same stock version, and are successful.

Multiple regression test of the BAPI with the test records never lead to failure.

Sudar

Former Member
0 Kudos

check if you have done sizing

are you running on parallel processors?

put your BAPI on debug mode or set a trace and see where this is error message is coming from

also monitor your livecache during the programme running. Most likely inconsistency caused by the program writing into the same record. also try running this ibn smaller blocks sequentially

Former Member
0 Kudos

Hi,

Are you on a Support Pack lower than SP8 for SCM - we had a similar issue and the problem was resolved after downloading a couple of OSS notes, one of which was 1002007.

Revert with your comments.

Regards

Vinod

Former Member
0 Kudos

Vinod,

We implemented the following notes, but still see the issue:

1002007

BAPI_STSRVAPS_SAVEMULTI2 error during COM-routine call

1154607

APO Stock update with IDOC STAPS_SAVEMULTIPLE2 -> LC error

998535

Incorrect stock changes with BAPI_STSRVAPS_SAVEMILTI2

Can you tell me whats the second note you implemented.

Sudarshan