cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need help in extending BUT051. At contact person relationship central data level.

0 Kudos
985

Hello Experts,

We are having requirement to add custom field in contact person relationship central data level. We have extended in BP_CPGEN entity and extended in BUT051 by adding new field. After doing all mappings, still its not getting saved in active tables. Can anyone help on this?

View Entire Topic
Former Member
0 Kudos

For BP and BP_REL extensions to type 4 , you need to also create/modify the Genil relationship for the same. This is very complex and i had done this in one project. If it is possible to explain the situation and use-case, we can suggest a better approach to get this done.

I assume that in your scenario, you will also need to extend the related standard DB tables not only in MDG system but also destination SAP systems, if applicable for publish of data.

Regards

Partha

0 Kudos

Thank you for your reply.

Our requirement is to maintain one custom checkbox in contact person relationship central data. In BUT051, there is one extension maintained in the table having description "Extensions of Contact Person Relationship (See Note 807493)" But still that note is showing incomplete. So, we extended in SI_BUCPBUR. After extending mappings and adding at UI level and extending at BP_CPGEN entity, finally data is getting saved but custom field is not getting filled. After debugging, I got one solution but this needs explicit enhancements. Its not accepted by client as this may do some impact on system. Please suggest anything on this.

0 Kudos

I have done these changes in entity and data base levels. Activating data model, adjusting data, generating data model specific structures, SMT mapping and UI modeling are also done. Finally its not getting saved in data base table

Former Member
0 Kudos

The entity BP_CPGEN and BUT051 is not 1 to 1 related, thus it cannot be saved into table directly via SMT. You would need to write logic in CVI_CUSTOM_MAPPER BADI for the same during creation. Further more , also check whether you have extended the BSS_BPIL_CP_ATTRIBUTES for the same.

0 Kudos

Hi Partha,

CVI_CUSTOM_MAPPER is having all related to customer and vendors. But in my case, contact person is with BP. Does it also need CVI mapping?

Former Member
0 Kudos

Please check whether during your BP creation, the BADI stops by placing a breakpoint. If yes, then you may do the data transfer there into appended structures . This is one approach, there can be several others which you may await from other experts in this forum.