cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - how to get unique device id?

0 Kudos

Hello colleagues,

Agentry-based app is going to be used by locomotive drivers in a train. The device is hard bounded (screwed on) the train engineer's cab. Currently Windows-based tablets are used.

Train engineers (drivers) change by each shifts and the devices remains the same.

Some data in SAP backend (Z-functionality) are related to the train and not to the user. So during the sync we need to pass information about the train to SAP. We do not want the user to select the train manually after logon. The better way is to maintain a mapping “device-train” on SAP side and use it during the fetch or complex table sync.

So the questions are:

  1. How to get device Id at SAP side? Column “DEVICE_ID” is not populated for table “/SYCLO/MDW00”.
  2. We can pass a custom parameter to the fetch. Then how can we determine a unique device id on the client side? Corresponding to https://scn.sap.com/thread/3418666 using <<user.deviceID>> is not a reliable way. The option is to get client host name or other unique identifier. But how to access it from Agentry app? ActiveX?

Thanks in advance!

Anton

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Anton,

You can try using the following key to pull the machine name:

<<user.client.Win_ComputerName>>Returns the network name of the client device.
<<user.client.WinCE_Platform>>Returns the platform type of the client device. This value is valid only for client devices running a mobile version of the Windows operating system.

Stephen Streeter

Answers (1)

Answers (1)

ray_isada
Participant
0 Kudos

Do you have access to the device's registry? You can find the value DeviceID in HKEY_LOCAL_MACHINE\Software\Syclo\Agentry.