Application-Specific Attributes for Relationships
Use
You can also describe relationships with further attributes.
Activities
Create a persistent class in which you include the attributes. The class agent has to implement the interface IF_BINREL_PROP_CA. Examples are the class CL_OBL_EXMPL_TRANSPASS and its class agent CA_OBL_EXMPL_TRANSPASS, which encapsulates a table type attribute, and the class CL_OBL_EXMPL_PVIA and CA_OBL_EXMPL_PVIA, which includes a flat attribute.
You can set, access, and delete attributes with the following methods of the class CL_BINARY_RELATION:
SET_PROPERTY
GET_PROPERTY
DELETE_PROPERTY.
For more information, see the system documentation for these methods.