cancel
Showing results for 
Search instead for 
Did you mean: 

RFID Fixed Device: Different action type

Former Member
0 Kudos

Hi Forum,

we are working with a fixed device.

The same "device group" could send via PML message different command:

- Tag commissioning

- Tag decommissioning

AII determines and execute the right "rule"

Unfortunately AII determines the same "action type", because in customizing ("Condition and rule --> Activities --> Assign action type to Device Group role") to the same Business Role/Doc Type we could assign just one default "action type".

How could we address different action type? Is there an additional field in PML message we could manage? Or ...?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paolo,

For sending different commands for same device group, maintain different device group role under Device in IMG.

For these different roles assign different action types. This will allow you to run the right rule corresponding to different commands.

Former Member
0 Kudos

Dear Ashish,

how could I assign different group role to the same device group ?

thanks

Paolo

Former Member
0 Kudos

Hi Paolo

There are two ways:

1.Maintain different device groups for different roles corresponding to different action types. Thus, in this approach it is not possible to assign different roles to same device group.

2. Alternatively, define one device group. To this device group assign <i><b>ALL Roles</b></i>. Now assign different action types to this <i>AII Roles</i>.

Also maintain the condition for fixed devices for different business processes.

Going by second approach you will be able to assign diiferent action types to one role (i.e. ALL Roles) under one device group.

The only problem with the second approach is, you wont be able to maintain the different location ids for different processes for the same device group.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you

harry_dietz
Explorer
0 Kudos

Hi!

Could you please tell a little bit more about your issue? Do you want to send something through a device or do you want to read something with a device?

Kind regards

Harry

Former Member
0 Kudos

Hi Harry.

I get the following answer from OSS:

"Unfortunately, in standard there is no possibility to get the

information about the command (stored in the so-called condition

parameters) directly through to the BAdI.

Alternative: enhance the PML message by one observation parameter.

You can simulate this in the test tool (transaction /AIN/TEST_CLIENT):

on the tab 'Info' you can add own fields on the observation parameter

list (in your case a field with the command name as content).

If you press the button 'Preview' you will see how the PML message

will look like.

These fields will be visible in the BAdI.

So, in your case your device controller would need to enhance the PML

message accordingly before the message is sent to AII."

Best regards

Paolo