Fonction SAP BAPI_INSPCHAR_GETRESULT - Load Inspection Results

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INSPCHAR BAPI2045D4-INSPCHAR N 4 Inspection lot characteristic number
INSPLOT BAPI2045D4-INSPLOT N 12 Inspection Lot
INSPOPER BAPI2045D4-INSPOPER C 4 Inspection lot operation number
INSPSAMPLE BAPI2045D4-INSPSAMPLE N 6 1 X Inspection lot sample number

Paramètre Reférence Type Long. Description
CHAR_RESULT BAPI2045D2 u 328 Inspection Result - Characteristic Level
RETURN BAPIRETURN1 u 470 Return value
SAMPLE_RESULT BAPI2045D3 u 336 Inspection Result - Sample Level

Paramètre Reférence Long. Facultatif Description
SINGLE_RESULTS BAPI2045D4 268 X Inspection results: Single value level

Functionality
CAUTION! This BAPI is obsolete. Instead, use the BAPIBAPI_INSPOPER_GETDETAIL and set the indicator READ_CHAR_RESULTS. You donot have to make this change immediately. However, this BAPI will nolonger be supported as of the next functional release.
This method provides inspection results for an inspection lotcharacteristic.
The following inspection results are loaded:

  • Inspection results at characteristic level (with status, mean value)

  • Inspection results at sample level

  • Single values
  • Description
    The structure contains the summarized characteristic result. Forinformation on individual parameter fields, see the corresponding dataelement documentation in the ABAP dictionary.

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type ID Number Message
    E Q5 002 You are not authorized to perform transaction &
    E Q5 003 Inspection lot & could not be read
    E Q5 006 Operation & could not be read for inspection
    lot &
    E Q5 014 No results were found for characteristic &,
    inspection lot &, operation &
    E Q5 015 No results were found for sample &,
    characteristic &, inspection lot &, operation &
    E Q5 016 No single results were found for
    characteristic &, inspection lot &, operation &
    S Q5 000 Function performed successfully

    Description
    The structure contains the summarized sample result. For information onthe individual parameter fields, see the corresponding data elementdocumentation in the ABAP dictionary.

    Description
    You can find information on the inspection lot characteristic number inthe corresponding data element documentation:Inspection lot characteristic number.

    Description
    You can find information on the inspection lot in the correspondingdata element documentation: Inspection lot number.

    Description
    You can find information on the inspection lot operation number in thecorresponding data element documentation: Inspectionlot operation number.

    Description
    You can find information on the inspection lot sample number in thecorresponding data element documentation: Inspectionlot sample.

    Description
    The table contains the single results for the sample or characteristic.For information on the single parameter fields, see the correspondingdata element documentation in the ABAP dictionary.