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: 

Error using BAPI_INSPOPER_RECORDRESULTS

Former Member
0 Kudos

Hello All,

I am usgin BAPI BAPI_INSPOPER_RECORDRESULTS to record the results.

Here is the sample code.

REFRESH gt_single_result.

CLEAR wa_single_result.

wa_single_result-insplot = ' 030000000500'.

wa_single_result-inspoper = '0010'.

wa_single_result-inspchar = '10'.

APPEND wa_single_result TO gt_single_result.

REFRESH gt_char_result.

CLEAR wa_char.

wa_char-insplot = ' 030000000500'.

wa_char-inspoper = '0010'.

wa_char-inspchar = '10'.

wa_char-evaluation = 'A'.

wa_char-evaluated = 'X'.

wa_char-remark = 'test'.

wa_char-closed = 'X'.

wa_char-original_input = zbird-zw1dpln.

wa_char-mean_value = zbird-zw1dpln.

APPEND wa_char TO gt_char_result.

CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'

EXPORTING

insplot = '030000000500 '

inspoper = '0010'

  • INSPPOINTDATA =

  • HANDHELD_APPLICATION = ' '

IMPORTING

return = g_return

TABLES

char_results = gt_char_result

  • SAMPLE_RESULTS =

single_results = gt_single_result

  • RETURNTABLE =

.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

  • IMPORTING

  • RETURN =

I am getting error 'E Q5 026 Defects occured during confirmation'

Has anyone faced a similar problem?

Regards,

Anup

6 REPLIES 6

Former Member
0 Kudos

Hi,

Is this error resolved? Me too face a similar problem. Please let me know if anyone of you have a solution for this.

Regards,

Siva

Former Member
0 Kudos

Hi,

There is no need of passing the SINGLE_RESULTS values.

Former Member
0 Kudos

Hi Anup,

I am getting the same error from the BAPI. Did you find any solution? If yes please share me the solution and sample code.

Thanks,

Amogh

0 Kudos

Hi Amogh,

If issue resolved, please share sample code ......

I am also facing same problem but solution not found.

Former Member
0 Kudos

Hello everyone,

I've faced the same issue while trying to evaluate sample in inspection lot. I've find out the the Q5 026 error is returned only when not all of sample inspection characteristics are evaluated.

For example, inspection operation has 4 characteristics and only 2 of them are evaluated. In this case if you will try to evaluate sample BAPI_INSPOPER_RECORDRESULTS will return E Q5 026 error. And if all of characteristics will be evaluated then BAPI will work fine.

This approach has solved my issue with Q5 026 error. Hope this would help someone.

Cheers!

Vitaliy

0 Kudos

Hi experts,

original input not getting update in  BAPI_INSPOPER_RECORDRESULTS.