I'm working on CRM 4.0.
I have created a custom simple object(SO) using transaction crmv_genil.I have created relation between the SO and the standard object BTOrder using the transaction CRMV_GENIL.
Now my question is how to add BTOrder object to SO using the program?
Should I use the method IF_GENIL_CONT_SIMPLE_OBJECT~SET_FOREIGN_RELATION of the class CL_CRM_GENIL_CONT_SIMPLE_OBJ?
I'm just following the standard simple object "Assignment".
Appreciate your help