Dangerous goods: is liquid
The behaviour Gefahrgut: ist flüssig is available for selected elements in the context of dangerous goods attributes in data input forms of business objects.
It requires master data of a specific Dangerous substance (see Dangerous goods) as input, for which the system checks whether the 'Liquid' (liquid) flag in ADR details is set.
If this flag is set, the Actions on 'true' will be executed (if applicable).
If that flag is not set or not found, the Actions on 'false' will be executed (if applicable).
In the simplest use case (see example) the behaviour is configured for an element the refers to data field dangerousGoods of the dangerous goods attribute. Then the dangerous substance master data is automatically available for the behaviour.
Alternatively, dangerous substance master data can also be provided in other ways, for example by first executing an Validate element behaviour that provides data of that type.
Example:
An input form provides the maintenance of dangerous goods attributes for the line items of a business object. The 'Dangerous substance' search combobox is used to assign dangerous substances to each attribute.
With this compact configuration, no details of the dangerous substance master data are visible in the form apart from the label of the dangerous substance search combobox. Whether the dangerous substance is qualified as 'Liquid' by the ADR details should therefore be indicated by a Check box element (without data binding) with the label 'Liquid'.
The value of Check box element 'Liquid' is defined by a behaviour of the 'Dangerous substance' element that responds to the Triggering event 'Changed' (for all Change types).
Depending on the result of the evaluation of the selected dangerous substance by the behaviour Gefahrgut: ist flüssig, the value of the Check box is allocated the value 'true' (see image) or 'false' by Set value.
Result:
The inactive checkbox shows the 'Liquid' status depending on the ADR details of the selected dangerous substance.
►NOTE◄ In its existing format, the form does not indicate whether no ADR details have been maintained for the dangerous substance, or whether there are ADR details that identify it as non ‘liquid’.