Hi Luis,
My Issue is resolved..
DId a small Mistake..
Rather than using the below code:
lr_order->create_related_entity(
EXPORTING
iv_relation_name = 'BTOrderHeader' " Relation Name
iv_set_defaults = abap_false " Do Not Set Default Values and Properties
RECEIVING
rv_result = lr_result " Entity
used Get_Related_entity.
It worked and i am able to set the value..
![]()
Mistake is already the BTOrderHeader is available and i tried to create again ![]()
Thanks
Santhosh