Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INSPOPER_RECORDRESULTS not recording result value

Former Member
0 Kudos

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               

2 REPLIES 2

Former Member
0 Kudos

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

0 Kudos

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