Need to update partner for a PM notification
I have to populate partner for a given notification (IW21 & IW22) from a Z table when partner is blank and tried to save. For this I am using 'BAPI_ALM_NOTIF_DATA_MODIFY'. I am passing
1. Notification number to BAPI2080_NOTHDRE import structure.
2. PARTN_ROLE, PARTN_ROLE_OLD, PARTNER and PARTNER_OLD in BAPI2080_NOTPARTNRI.
3. PARTN_ROLE, PARTN_ROLE_OLD, PARTNER and PARTNER_OLD in BAPI2080_NOTPARTNRI_X.
Here with above inputs passed to BAPI,
a) I am getting 'Partner Maintenance Cancelled' in BAPIRET2.
b) I am getting export parameters from BAPI, if there is already some partner for that notification but the
partner I am giving using BAPI is not reflecting in the transaction.