Ansicht
Dokumentation

/AIN/PUB_DEVCOM_CMD_SEND - Construct and send a command message to a device controller

/AIN/PUB_DEVCOM_CMD_SEND - Construct and send a command message to a device controller

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This send command message service enables a calling application such as an activity, user interface, or custom application to send a command in an XML message to a device controller from SAP Auto-ID Infrastructure (SAP AII).

The service takes a device group identifier and a short command text as input. It creates an XML message and sends it to the RFC destination of the device controller that controls the device group.

Example

Say, in the loading process, SAP AII observes an unexpected object at the loading gate. This service could be used to send a command message to the device controller to turn the light stack at the gate to red.

Notes

This core service documentation is intended for technical developers and implementation consultants. For information about the individual parameters, see the Parameters system documentation.

Message Handling

The messages generated by the services are not stored in any application log. It is the responsibility of the calling application to store the application log entries in the relevant application log objects. All the messages that are generated during the service call are returned to the calling application.

Further information

The documentation for core services can be found in SAP Help Portal at help.sap.com → mySAP Business Suite → SAP Auto-ID Infrastructure → Auto-ID Core Services.

The schema of the XML that this service sends to the device controller is the Command Message schema defined in the Fixed RFID Device Integration Guide (SAP AII 4.0)located on the service marketplace (service.sap.com → Quick Links: SAP Solutions → mySAP Supply Chain Management → RFID → Detailed Information). The relevant part in the schema is the element.





Parameters

ET_RETURN
IV_COMMAND
IV_DEVGRP_INTID

Exceptions

TECHNICAL_LEVEL_ERROR
TECHNICAL_LEVEL_ERROR_COMM

Function Group

/SAPLPUB_DEVCOM

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2766 Date: 20240425 Time: 113109     sap01-206 ( 47 ms )