Skip to Content
0
Former Member
Aug 04, 2009 at 08:34 AM

change bpRole field in PARTNER UPDATE badi

501 Views

I implemented badi PARTNER_UPDATE to change assigned role when new or changed business partner comes CRM..

I used FM 'BUPA_ROLES_CALLBACK' , i can get old and new values . when i only change partnerroles-ROLE with new value , of course no change happens..

CALL FUNCTION 'BUPA_ROLES_CALLBACK'
    TABLES
      ET_BUT100_OLD   = BUT100_OLD
      ET_BUT100_NEW   = BUT100_NEW
      ET_PARTNERROLES = PARTNERROLES.

I think there must be a function to set memory , namely opposite of this Callback function.

How can i change role field in PARTNER_UPDATE badi?

Thanks..