Bala,
Relationship between main Item and subitem can be found in VBAP-UEPOS. In general, if this field is empty, then it is a main item (or there are no subitems). If there is an item number in this field, it indicates that this item is a subitem, and the item number contained here is the related main item.
Best Regards,
DB49