Hi Krishna,
Yes both the parent and child are of the same type.
But while creating the association type i need to reference the parentname of one entity to the name of another.
How do I write this association?
e.g : if I create
begin of item,
name type string,
description type string,
parentname type string,
enf of item.
and create an association like this for 1 : N cardinality ?
lo_association = model->create_association(
iv_association_name = 'item_items'
iv_left_type = 'item'
iv_right_type = 'item'
iv_right_card = cardinality_feed
iv_left_card = cardinality_entity ).
Regards,
Sumant