I’m using the SAP Adapter version 4.6 with SAP version 3.1H
I call a BAPI which expects an input parameter MATERIAL_TYPE.
If I pass an invalid material type, I get an NO_MATERIAL_RETURNED exception thrown from the SAP BAPI, which is correct.
If I pass a valid material type, I get the results returned for that material type, also correct.
But, now, if I make another call and pass an invalid material type, I get the same returned list of materials, i.e. NO EXCEPTION is thrown.
As soon as I make one valid call, IntegrationServer somehow is caching the good parameters and passing then each time I call the BAPI. Monitoring the pipeline in Developer verifies that the correct material type parameter I enter is being passed into the outBound map step for the BAPI.
Once this has happened, I can no longer generate the error condition. The only solution is to restart IntegrationServer.
I’ve gone and cleared the DDIC-cache but it doesn’t help. I’ve also ensured I drop all parameters from the pipeline in my flows after I am done.