Fonction SAP BAPI_INSPOPER_GETDETAIL - Read Detail Data for Inspection Operation

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHAR_FILTER_NO BAPI2045S1-FILTER C 4 '1 ' X Characteristic Filter (Processing Mode) for Inspection Characteristics
CHAR_FILTER_TCODE BAPI2045S1-FILTER_TCODE C 20 'QE11' X Transaction Code
HANDHELD_APPLICATION BAPI2045L5-HANDHELD_APPLICATION C 6 SPACE X QM Handheld: Application
INSPLOT BAPI2045L2-INSPLOT N 12 Inspection Lot Number
INSPOPER BAPI2045L2-INSPOPER C 4 Inspection Lot Operation Number
INSPPOINT_FROM BAPI2045L4-INSPPOINT N 6 0 X Inspection Point Number
MAX_INSPPOINTS BAPI2045S1-MAXROWS I 4 100 X Maximum Number of Lines for Inspection Points
READ_CHARS_WITHOUT_RECORDING BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Characteristics Without Recording
READ_CHARS_WITH_CLASSES BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Characteristics with Classed Recording
READ_CHAR_REQUIREMENTS BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Table CHAR_REQUIREMENTS
READ_CHAR_RESULTS BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Table CHAR_RESULTS
READ_INSPPOINTS BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Table INSPPOINTS
READ_SAMPLE_RESULTS BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Table SAMPLE_RESULTS
READ_SINGLE_RESULTS BAPI2045S1-IND_X_OR_BLANK C 1 SPACE X Read Table SINGLE_RESULTS
RES_ORG BAPI2045D3-RES_ORG C 2 SPACE X Data Origin

Paramètre Reférence Type Long. Description
INSPPOINT_REQUIREMENTS BAPI2045D5 u 289 Inspection Specifications-Inspection Points
OPERATION BAPI2045L2 u 118 Detail on Inspection Operation
RETURN BAPIRET2 u 548 Return Parameter

Paramètre Reférence Long. Facultatif Description
CHAR_REQUIREMENTS BAPI2045D1 958 X Inspection Specifications - Inspection Lot Characteristics
CHAR_RESULTS BAPI2045D2 328 X Inspection Results Characteristic Level
INSPPOINTS BAPI2045L4 421 X Inspection Points
SAMPLE_RESULTS BAPI2045D3 336 X Inspection Results: Sample Level
SINGLE_RESULTS BAPI2045D4 268 X Inspection Results: Single Value Level

Functionality
This method supplies the inspection specifications and results of aninspection operation.

Description
This parameter contains the specifications for the inspection points inthis operation. It is initial if the operation has no inspectionpoints.

Description
This parameter contains the details for the operation.

Description
INCLUDE BAPI_TABLE
Type ID Number Notification
E Q5 002 You do not have the authorization to performtransaction &
E Q5 003 Inspection lot & could not be read
E Q5 006 Operation & for inspection lot &could not be read
E Q5 019 Operation & for inspection lot & is not unique

Description
This parameter contains a filter for reading characteristics. Forexample, you can define that only outstanding required characteristicsare read.

Value range
The value range is identical to the characteristic filter in resultsrecording (transaction QE01).
INCLUDE QMFU_FILTER_TCODE OBJECT DOKU ID TX

Description
If you have defined a valid handheld application, only characteristictypes that are planned for this application are transferred (tableTQ90).

Description
INCLUDE BAPI_KEYFIELD

Description
INCLUDE BAPI_KEYFIELD

Description
This parameter defines from which inspection point number data shouldbe read. For more details, see the description for the parameterMAX_INSPPOINTS.

Value range
1-999999

Description
This parameter defines the maximum number of inspection points thatshould be selected.
The last MAX_INSPPOINTS inspection points are read unless parameterINSPPOINT_FROM has a value > 0. Then, MAX_INSPPOINTS inspection pointsare read from this value onwards.

Value range
1-999999

Default
100

Example

INSPPOINT_FROM MAX_INSPPOINTS
0 100 Selects the last 100 inspection points
50 50 Selects the 50th inspection point
1 10 Selects the first 10 inspection points
0 10 Selects the last 10 inspection points

Description
If you set this indicator, characteristics for which recording is notdefined are also read. Such characteristics can be recognised by theindicator CHAR_REQUIREMENTS-NO_RECORDING.

Description
If you set this indicator, characteristics with classed recording arealso read. You recognise such characteristics by the indicatorCHAR_REQUIREMENTS-CLASSES.

Description
If you set this indicator, data is entered in table CHAR_REQUIREMENTS.

Value range
X or blank.

Default
Blank.

Description
If you set this indicator, data is entered in table CHAR_RESULTS.

Value range
X or blank.

Default
Blank.

Description
If you set this indicator, data is entered in table INSPPOINTS.

Value range
X or blank.

Default
Blank.

Description
If you set this indicator, data is entered in the table SAMPLE_RESULTS.

Value range
X or blank.

Default
Blank.

Description
If you set this indicator, data is entered in the table SINGLE_RESULTS.

Value range
X or blank.

Default
Blank.

Description
This parameter filters the characteristics according to the resultsdata origin defined in the task list. If the parameter is not set, allcharacteristics are displayed.

Default
Blank.

Description
This table contains the characteristics to be inspected with theirinspection specifications. The table is only read if the parameterREAD_CHAR_REQUIREMENTS contains a value.

Description
This table contains the characteristic record for the inspectionresults recorded up to this point. The table is only read if theparameter READ_CHAR_RESULTS contains a value.
If no results have yet been recorded for a characteristic, only the keyfields contain data in the result record. The other fields are blank.

Description
This table contains the data for the read inspection points. It onlycontains data if the parameter READ_INSPPOINTS contains a value.

Description
This table contains the sample record for previously recordedinspection results. The table is only read if the paramaterREAD_SAMPLE_RESULTS contains a value. If no results have been recordedyet for a sample, only the key fields contain data. The other fieldsare initial.
For independent multiple samples, an entry is displayed for eachsample. For inspection points, a record is displayed for each readinspection point.

Description
This table contains an entry for each single result to be recorded. Thetable is only read if the parameter READ_SINGLE_RESULTS contains avalue.
The existing results are read. If there are no results available, or ifresults are missing, entries are generated until the sample size isreached, These records only contain the key fields. All other fieldsare initial.