Hi,
I need a small help in bol programming while trying to create scale records.
I have successfully created the TPM via bol programming.
Now need to create scale level data for reach condition records generated.
Unfortunately I am not able to do it, basically because the root entity is not getting locked.
Let me explain in a bit detail.
Component set for TPM:CRMD_MKTPL_TPM and for condition records: COND_MAINT.
The relationship which I have achieved till now successfully are:
Root Object Trade--->TPMConditionRel--->TPMConditionMaintRel--->MKT_CND_RECORD_REL.
The above traverse gives me instance of the root object COND_RECORD_MAX_WS_CRM.
Now I want to create the related entities of the child relations of the above mentioned root object: COND_RECORD_MAX_WS_CRM,
but when I use the method create_related_entity( ), I do not get any instance.
Reason being basically the root entity is not getting locked.
Also, I have observed that the relationship between COND_RECORD_MAX_WS_CRM and child entities is of Composition.
I am not sure If this is the reason create_related_entity( ), is giving me null value in return.
Kindly guide me in creation of the related entity of COND_RECORD_MAX_WS_CRM.
Thanks and Regards,
Ashish Singh.