on 05-08-2015 10:22 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.