on 09-25-2006 8:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi Rika,
Have you try use CRM_ISA_BP_CHAR_VALUES_SAVE ?
Hope this helps.
Gun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.