Skip to Content
0
Former Member
Jul 05, 2009 at 01:31 PM

CRM_PARTNER_MAINTAIN_SINGLE_OW - Add Partner

47 Views

Hello,

In BADI CRM_ORDER_SAVE, method PREPARE, I'm currently calling CRM_PARTNER_MAINTAIN_SINGLE_OW to change BP ID's on a custom Z Partner Function we have at our company. This works perfectly, however, I'd also like to use CRM_PARTNER_MAINTAIN_SINGLE_OW to add a completely new Z Partner Function, in the event it is not already present, under certain business rules/requirements.

Can I use CRM_PARTNER_MAINTAIN_SINGLE_OW to add new Z Partner Function relationship to an Opportunity Item?

I need to add a new Z Partner Fuction relationship with the following:

REF_KIND = 'B' " Item Level

REF_PARTNER_FCT = 'ZIDC'

REF_PARTNER_NO = '0000123456'

REF_NO_TYPE = 'BP'

REF_DISPLAY_TYPE = 'BP'

KIND_OF_ENTRY = 'C'

PARTNER_FCT = 'ZIDC'

PARTNER_NO = '0000123456'

DISPLAY_TYPE = 'BP'

NO_TYPE = 'BP'

Each time CRM_PARTNER_MAINTAIN_SINGLE_OW is executed in the PREPARE method of the BADI, nothing is reflected on the front-end. The new Partner Function relationship is not added... Again, updating existing relationships works perfectly.

I also tried CRM_ORDER_MAINTAIN and CRM_ORDER_MAINTAIN_OW. But still nothing 😔

Thanks!