Change marketing attributes in business partner
I need to change the marketing attributes.
If I have a value it works, but if I have an empty field nothing will be saved.
Atm I'm using this part of code:
CALL FUNCTION 'CRM_MKTBP_CHANGE_BP' EXPORTING iv_profile_template_id = lv_attribute iv_partner = bp_nr TABLES it_imp_seltab = lt_attr_write et_return = lt_bapiret2_return.
Any suggestions how to solve this problem?