Hi All,
i am trying to delete marketing attribute value from contact by using FM CRM_MKTBP_DEL_ATTR_BP_LIST But problem is that it is deleting complete Attribute Set. let suppose i have one marketing attribute set INDUSTRY and there are 3 values(IND01, IND02 & IND03) assigned to it now when i am trying to delete attribute value IND01 & IND02 from attribute set INDUSTRY then it is deleting the attribute set itself with all 3 values.
please see the below code and help.
PARAMETERS: test AS CHECKBOX DEFAULT ' '.
LOOP AT it_mark INTO wa_mark.
ls_partner-partner_guid = lv_part_guid.
ls_partner-partner = wa_mark-contact_id.
APPEND ls_partner TO lt_partner.
CALL FUNCTION 'CRM_MKTBP_DEL_ATTR_BP_LIST'
EXPORTING
IV_MSA = 'X'
IV_TEST = test
iv_attribute_set = wa_mark-attribute_set
iv_attribut = wa_mark-atname
IV_ATTRIBUTE_VAL = wa_mark-atvalue
TABLES
it_partner = lt_partner
ET_RETURN = lt_return.
endloop.
i also tried with below FM's but get same issue:
CRM_MKTBP_DEL_BP_LIST,
CRM_MKTBP_CHANGE_BP
Regards