cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to write BP_REL entity in Cross Entity Badi - MDG S

arjisingh
Member
0 Kudos
410

Hi All,

I am getting contact name and email in custom generic fields in ariba payload.

I am thinking of storing it in a custom table, and then in cross entity badi filling these details. (As while creating BP we can directly create contacts from Front End)

I was thinking of using the contact data from custom table and filling entities bp_rel

Bp_cpgen bp_wpad etc so that the BP and Contact is created together just like it is happening from from front end.

But my io_model->write_entity is failing.

Accepted Solutions (0)

Answers (1)

Answers (1)

Nilesh_Bundele
Participant
0 Kudos

Hi Arjita

Please make sure you are passing the all required fields to create BP_REL. Just to know required fields to create BP_REL entity, you can put a breakpoint in cross derivation BADI and create a BP from MDG & try to provide some contact persons. Once cross derivation BADI will be triggered you will see data inside BP_REL entity. Similar to that data(key fields are mandatory) you need to pass while using WRITE_ENTITY method.

Thanks

Nilesh