cancel
Showing results for 
Search instead for 
Did you mean: 

Marketting attribute set assign

Former Member
0 Kudos

Hello All,

We are developing program to mass update of business partner.We need to assign attribute set to a business partner. Is there some function module or Bapi for that?

Any help will be very appriciated,

Rika

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rika,

Use following function module to assign attribute set. You can also update attribute values for that attribute set. Pass attribute values in internal table it_att_seltab.

CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'

EXPORTING

iv_profile_template_id = <Attribute set name>

iv_bp_guid = g_bp_guid

iv_xdescr = ' '

iv_fcode = 'C'

iv_msa = 'X'

iv_commit = 'X'

iv_partner = g_partner_no

iv_convert_values = 'X'

TABLES

it_imp_seltab = it_att_seltab

et_return = it_return.

Hope this will help you.

Thanks

Swagatika

Former Member
0 Kudos

Hello Swagatika,

Thank you for the responce,

We already use this function to update the attributes value,

but we don't sucseed to assign new attribute set to BP.

If attribute set for BP don't exist there no line in AUSP table with GUID of this BP and DUMP occur in our program.

Our problem is to assign attribute set to BP.

Former Member
0 Kudos

Hello Swagatika ,

Your answer was very helpful and we solved the problem ,

Thank you very much,

Rika

0 Kudos

Hi Need you help i require Marketing attribute set information in BW and i don't see in the existing datasource 0CRM_MKTATTR_ATTR how i need bring attribute set information?

can you help here ?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rika,

Have you try use CRM_ISA_BP_CHAR_VALUES_SAVE ?

Hope this helps.

Gun.

Former Member
0 Kudos

Thank you very much ,

I will try this function module ,

Rika