Ansicht
Dokumentation

/AIN/VC_DCMSGMAP - Define Device Controller Types

/AIN/VC_DCMSGMAP - Define Device Controller Types

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity you define device controller types as well as mappings for different message types per device controller type.

The device controller type defines some particular manufactured controller and contains logic to define message mapping to internal SAP Auto-ID Infrastructure (SAP AII) messages. You can see the delivered messages on the SAP Easy Access screen under Tools → ABAP Workbench → Development → Programming Environment → Messages.

You must define a unique message pattern for each device controller type. Different methods exist to define such a pattern for XML messages and for some kinds of binary messages. Keep the following rules in mind:,,

  • For XML Messages:
  • XML messages issued by devices should be well formed and conform to W3C recommendations (http://www.w3.org/TR/REC-xml)

  • The field External Message Name should contain the XML message name

  • The field External Message Namespace should contain the XML namespace, which should be a uniquely defined XML

  • For other kinds of messages:
  • The field External Message Name should contain a string which uniquely identifies the message type. In cases where the length of the field external message name is not enough, the field External Message Namespace can be used for rest of string.

Each mapping is an ABAP class that implements interface /AIN/IF_DCMSG_MAPPING with methods for converting:

  • External messages (received by the SAP AII communication layer) into activities
  • Activities into external messages

Interface /AIN/IF_DCMSG_MAPPING also contains needed constants to deal with messages and to build activities.

To create new device controller type:

  1. Enter a device controller type
  2. Enter a description for the device controller type

To create a new message mapping

  1. Select the device controller type
  2. Select Message Mapping
  3. Choose New Entries
  4. Enter the device controller type
  5. Enter the message name
  6. Enter a unique message pattern (using rules mentioned above)
  7. Enter a mapping class name





General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3248 Date: 20240426 Time: 183029     sap01-206 ( 44 ms )