cancel
Showing results for 
Search instead for 
Did you mean: 

Calculated Inspection Characteristics using BAPI_INSPOPER_RECORDRESULTS

mouradche
Explorer
0 Kudos
479

Hi,

I'm using the FM BAPI_INSPOPER_RECORDRESULTS to save inspection characteristics (on SINGLE_RESULTS level) and it's working just fine.
The problem ist that we have a calculated characteristic depending on the other entered characteristics.
The calculation is working fine when I enter the values using QE51N transaction (values calculated, and characteristic closed), but it's not working using the FM BAPI_INSPOPER_RECORDRESULTS. The calculated characteristic is not calculated and not closed.
I've tried the solution described in the SAP Note 3088890 by calling the BAPI twice with a commit between the two calls but it's still not working.
Do you have any idea how to trigger the re-calculation ?

Thank you 

View Entire Topic
AlbertMolnar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear mouradche,

thank you for the details provided.

If you have the input characteristics closed for the formula, you need to run the BAPI for the calculated characteristics separately. This part you have identified properly.

I have the feeling you try to close the calculated characteristic also on SINGLE_RESULTS level, however, it should be triggered on characteristic level, that is table CHAR_RESULTS of the BAPI.

Please re-test with help of the guidance above.

I wish you a nice day,
Albert
SAP Support