04-23-2013 8:29 AM
Hi,
Has anybody been able to update the result value using the above BAPI. I am populating the MEAN_VALUE field of the CHAR_RESULTS table, but when I look at the inspection lot no value is being populated.
If I populate the result value manually I am able to update the record to be valuated, however I cannot get the BAPI to populate the result value automatically.
Has anybody been able to do this before.
Any help is much appreciated.
Thanks
Martin
04-23-2013 2:35 PM
Hi Martin,
Hope you called the BAPI_TRANSACTION_COMMIT after the BAPI call.
If its not working after calling the COMMIT, You need to call the BAPI_INSPORDER_RECORDING and the BAPI_TRANSACTION_COMMIT twice.
Do 2 times.
CALL FUNCTION 'BAPI_INSPORDER_RECORDRESULTS'
.
.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Enddo.
Cheers
~Niranjan
04-23-2013 3:07 PM
Hi,
Running it twice never worked. Why do you think I need to run it twice.
Do you have example code that I code look at this you may have used to populate this field.
Thanks
Martin