Ansicht
Dokumentation

QINT_EXAMPLE_INIT_DRIVER - Example for identifying the measurement equipment driver

QINT_EXAMPLE_INIT_DRIVER - Example for identifying the measurement equipment driver

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This is an example that shows you how to identify a measurement equipment driver. The function module retrieves data from inspection planning for the measurement equipment drivers.

In the example, the system expects the name of the function module in the field QAMKR-DUMMY40. If this entry is missing, the system assumes no measurement equipment is required for a characteristic. In this case, the system triggers the exception NO_DRIVER_AVAILABLE.

In field QAMKR-DUMMY20, you can also store an RFC destination if the measurement equipment driver is to be executed on another system. If this entry is missing, 'NONE' is returned as the RFC destination.

Example

    CALL FUNCTION 'QINT_EXAMPLE_INIT_DRIVER'

         EXPORTING

            I_QAMKR = QAMKR

         IMPORTING

            E_FUNCTION_MODULE = FUNCTION_MODULE

            E_RFC_DESTINATION = RFC_DESTINATION

         EXCEPTIONS

            NO_DRIVER_AVAILABLE = 1

            OTHERS              = 2.

Notes

You can use this function module for a functional enhancement in results recording while implementing the interface for the measurement equipment.

See QINT_EXAMPLE_USER_EXIT

Further information

Functional enhancements in results recording.





Parameters

E_FUNCTION_MODULE
E_RFC_DESTINATION
I_QAMKR

Exceptions

DRIVER_INIT_ERROR
DRIVER_NOT_REACHABLE
NO_DRIVER_AVAILABLE

Function Group

QINT

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2535 Date: 20240523 Time: 144305     sap01-206 ( 31 ms )