cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine if a Partner Function is deleted inside BADI COM_PARTNER_BADI

Former Member
0 Kudos

I have a requirement where in when a partner is added/changed/deleted in Order, then that partners corresponding contact persons need to be added/removed.

I am trying to achieve this functionality through BADI COM_PARTNER_BADI and method COM_PARTNER_MERGE.

Problem I am facing is, I am unable to determine whether the partner which is returned in IS_PARTNER_WRK, is a deleted/changed/new partner.

As far as I have seen, there is no flag or indicator which tells, which action is currently being performed (Add/ Change/ Delete).

Could you please let me know how to identify this action within BADI.

Accepted Solutions (1)

Accepted Solutions (1)

Saurabh_Kabra
Participant
0 Kudos

Hi Vinoth,

Please check method COM_PARTNER_FIELDCHECK of BADI COM_PARTNER_BADI.

Its parameter IU_PARTNER_WRK tells you about old partner and IU_PARTNER_WRK_TAB tell you about new partner and compare your changes here. In cae any difference then do your logic.

Hope it will help.

Thanks

Saurabh

Answers (0)