Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>InspLotOperation



Index

InspLotOperation

InspLotOperation


The business object Inspection operation summarizes all
activities for the inspection of one or more inspection characteristics with certain test equipment at a work center.


You can assign data for termination, capacity commitment and service settlement to the inspection operation in the R/3 system.


There can be several operations in an inspection lot. An operation
defines which activities are executed at a work center. Several inspection characteristics can be included in an operation.


Moreover, you can define the necessary production resources/tools for each operation.


11-Dec-2005


Methods

Available Methods


  • Acknowledge : Confirm receipt of handheld worklist [ BAPI_INSPOPER_ACKNOWLEDGE ]
  • GetChar : Select inspection lot characteristics [ BAPI_INSPOPER_GETCHAR ]
  • Getdetail : Read detail data for inspection operation [ BAPI_INSPOPER_GETDETAIL ]
  • Getlist : Select inspection operations for inspection lots [ BAPI_INSPOPER_GETLIST ]
  • Recordresults : Confirm inspection results [ BAPI_INSPOPER_RECORDRESULTS ]

11-Dec-2005


Acknowledge

Acknowledge


You can use this method to confirm the receipt of a worklist and inspection specifications for a handheld device. The entriestransferred in the table HANDHELD_WORKLIST are given the status 'Calledup' and in this way reserved for the called up application and user.


The worklist for a handheld device can be selected using the BAPI InspLotOperation.Getlist.

Notes

If errors occur (see parameter RETURN), the function is canceled and no changes are made to an entry.

The changes are only written to the database when you next access BapiService.TransactionCommit.



11-Dec-2005


GetChar

GetChar


This method provides inspection characteristics for an inspection lotoperation. The scope of the delivered characteristics can be limited by a filter (characteristic filter).


11-Dec-2005


Getdetail

Getdetail


This method supplies the inspection specifications and results of an inspection operation.


11-Dec-2005


Getlist

Getlist


This method provides the list of inspection operations for an inspection lot.


11-Dec-2005


Recordresults

Recordresults


You can use this method to confirm the result of a quality inspectionfor an inspection operation or inspection point. The following functions are supported:

  1. Creating an inspection point
  2. Closing an inspection point
  3. Changing inspection point data

  4. Recording inspection results at characteristic level (summarized)
  5. Recording inspection results at sample level (summarized)
  6. Recording inspection results at single value level

You define within an inspection operation whether you work with or
without inspection points. In accordance with this specification, the parameter INSPPOINTDATA is required or optional.

Key fields

As an instance method, the instance key fields INSPLOT and INSPOPER arealready entered when you call up this method. Both these fields are
contained in all used data structures. However, these are ignored atconfirmation. All results for the current instance are automatically assigned.

The same applies to inspection point processing. All results are assigned to the specified inspection point independent of
SAMPLERESULTS-INSPSAMPLE and SINGLERESULTS-INSPSAMPLE.

Sequence for the confirmations

This method can be called up several times for an operation instance.If you switch to another operation instance, the confirmation is considered complete for the previous instance, and no more
confirmations can be made for this instance before a COMMIT WORK (BapiService.TransactionCommit).

If an external program wants to make confirmations for severalinspection lots and operations, we recommend that these confirmations are sorted according to the inspection lot and operation.


Procedure if there are errors

If errors occur during confirmation, these are entered in the tableRETURNTABLE and the parameters RETURN. If the table RETURNTABLE contains several entries, message E026(Q5) 'Errors occured duringconfirmation' is entered in the RETURN parameter.


In addition to the entries in RETURNTABLE, an application lot isupdated with the defective data records. RETURN-LOG_NO contains the number of the application log.

Notes

To access this method, all authorizations are required that are necessary for executing transaction QE11.



11-Dec-2005