BAPI_PBSRVAPS_CHANGEKEYFIGVAL2 not working when used in CIF
We have used bapi BAPI_PBSRVAPS_CHANGEKEYFIGVAL2 in one of the APO CIF inbound enhancements. Itu2019s being used to update a key figure value when an order is created in ECC. Strange thing here is when I process the inbound CIF Queue in Debug mode it will update the key figure value and if itu2019s processed normal itu2019s not updating the key figure value. Same data is used for debug and normal process no change in any parameter.
Just wondering if any one come across this issue and had any fix for this. Am sure somewhere itu2019s not committing properly and I donu2019t see any restriction to use this bapi in CIF enhancements.
This BAPI suppose to execute automatic commits and we donu2019t need to specify any commit. Just for testing purpose have used commits(though am not suppose to use commits in enhancements, used just to see the behavior) after the bapi call and didnu2019t help.
Appreciate your inputs on this.