Skip to Content
0
Former Member
Mar 30, 2012 at 08:07 AM

How to create an INSPECTION POINT (BAPI_INSPOPER_RECORDRESULTS?)

1062 Views

Hello experts, i hope this is the correct forum, if not please move.

We want to create a new inspection point for a existing insplot. This insplot is initial and should get serveral inspection points createt from my program.

For this issue i tried to use the FM BAPI_INSPOPER_RECORDRESULTS but it doesn´t work.

The inspection point is createt, but the values are not insertet...

Here is an image of the created inspectionpoint:

I call the FM like this:

CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
EXPORTING
INSPLOT = me->wa_workarea-qplos
INSPOPER = <fs_ppunkt>-vorgang
insppointdata = wa_inspoints
TABLES
CHAR_RESULTS = it_char_results
RETURNTABLE = it_return.

The values of it_char_results are:

INSPLOT INSPOPER INSPCHAR CLOSED EVALUATED CHAR_ATTR CHAR_INVAL EVALUATION ERR_CLASS VALID_VALS NONCONF DEFECTS VALS_ABOVE VALS_BELOW MEAN_VALUE VARIANCE MAXIMUM MINIMUM START_DATE START_TIME END_DATE END_TIME INSPECTOR RES_ORG REMARK CODE1 CODE_GRP1 CODE2 CODE_GRP2 CODE3 CODE_GRP3 CODE4 CODE_GRP4 CODE5 CODE_GRP5 ORIGINAL_INPUT INPPROC_READY DIFF_DEC_PLACES 30000217566 8010 10 X X A 16 20120330 100450 20120330 100450 PFAHLBE 0 30000217566 8010 20 X X A 23,5 20120330 100450 20120330 100450 PFAHLBE 0 30000217566 8010 30 X X A 2,9 20120330 100450 20120330 100450 PFAHLBE 0 30000217566 8010 40 X X A 6,7 20120330 100450 20120330 100450 PFAHLBE 0

There are no errors in it_return, but the values are missing, also there is no evaluation.

Whats my mistake?

Attachments

qe51n.jpg (223.7 kB)