> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionOnAbstractFieldSubscribed

# on Abstract\_FieldSubscribed (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

```
on Abstract_FieldSubscribed <Field>;
```

### Description

The event procedure is called at the provider when a field is subscribed by a consumer and abstract binding is used.

### Parameters

* **`<field>`**: Designates the field on which the event procedure shall react. This must be a provider endpoint.

### Selectors

* **consumer**: Consumer, the type is [fieldConsumerRef \*](../Objects/CAPLfunctionFieldConsumerRef.md)

### Example

```plaintext theme={null}
on Abstract_FieldSubscribed MirrorAdjustment[LeftMirror].CurrentPosition
{
  write("Field subscribed by %s", this.consumer.Name);
}
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [on Abstract\_FieldUnsubscribed](CAPLfunctionOnAbstractFieldUnsubscribed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.