cancel
Showing results for 
Search instead for 
Did you mean: 

how fill not single result data in BAPI_INSPOPER_RECORDRESULTS ?

edgar_almonte
Participant
0 Kudos

hello , i am trying do some upload result for insp lot of QM using the BAPI BAPI_INSPOPER_RECORDRESULTS

i can update the value ( results ) for result-single value level but not for Characteristic Level

the characteristic get close when i mark the close and evaluated fill

wa_char_resultsnew-insplot = pa_insp.

wa_char_resultsnew-inspoper = pa_inso.

wa_char_resultsnew-inspchar = '0110'.

wa_char_resultsnew-closed = 'X'.

wa_char_resultsnew-evaluated = 'X'.

wa_char_resultsnew-evaluation = 'R'.

wa_char_resultsnew-MEAN_VALUE = '300'.

append wa_char_resultsnew to l_char_resultsnew.

but the value not .

Anyidea ?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

edgar_almonte
Participant
0 Kudos

i solve the problem doing this :

firts i fill a inspection lot result in manual way ( QE11 ) then i check with the bapi BAPI_INSPOPER_GETDETAIL , in what table the value i fill are , tables:

insppoints = l_inspoints

CHAR_REQUIREMENTS = l_CHAR_REQUIREMENTS

char_results = l_char_results

sample_results = l_sample_results

single_results = l_single_results.

then i saw that kind of char is filled in the sample table , so i fill that type of charc in the sample table with the bapi

BAPI_INSPOPER_RECORDRESULTS and work fine

so the key is check a already donde lot with the BAPI_INSPOPER_GETDETAIL and will know in where table you need fill the data for every kind of charac.