on 01-11-2012 9:30 PM
Hi,
Do we have any Function module or BAPI to do a mass update of a marketing attribute to all BPs. I want to assign one marketing attribute to all BPs .
I tried this "CRM_MKTBP_CHANGE_BP" and the function module return says assignment changed, but when check in BP it is not assigned.
Regards,
Deepthi.
Hi,
You can use the FM 'CRM_MKTBP_UPDATE_ATTR_BP' uisng the follwoing paarmeters, pass the following parameters(objek,atinn, klart, partner guid, atwrt in case of char or atflv in case of decimal value ) for the particular partner guid in table AUSP in the table IT_AUSP followed by BAPI_TRANSACTION_COMMIT with wait.
Hope this helps!!
Prerna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepti,
FM 'CRM_MKTBP_ASSIGN_ATTRIBUT_TAB'is used to only assign a marketing attribute initially fr the first time to a BP. The message 'S' as "Characterstics already exists" indicates that the attribute set is already assigned but it will not update the new data but wont give an error as well.
For updating the marketing attributes once assigned, use the FM 'CRM_MKTBP_UPDATE_ATTR_BP'. This FM will work only for updating the attributes not for assigning to BP.
Post your code, if u still have doubts, will try to figure out how to rectify it.
Hope this helps.
Prerna
Hi Prerna / Deepthi,
I have a similar requirement, i need to assign/Add new marketing line items to the existing list for accounts, I tried using the FM 'CRM_MKTBP_ASSIGN_ATTRIBUT_TAB', it some times update the list with new marketing attributes and some times it doesn't.
Can i use FM 'CRM_MKTBP_UPDATE_ATTR_BP' to add new lines for assigning marketing attributes or is it only to modify the existing line items at account level?
thanks for your time.
Reddy
Hi Reddy,
FM 'CRM_MKTBP_ASSIGN_ATTRIBUT_TAB' is used to initially assign the maketing attribute set and assign the initail values to the attributes. This FM is not used to update marketting attributes, hence will not work consistently.
Use FM 'CRM_MKTBP_UPDATE_ATTR_BP' to update only.
In case u have 5 attributes for an attribute set, and u want to assign only 2 initially, assign space in other 3 attributes as well and then use update FM, it will work fine.
Prerna
User | Count |
---|---|
7 | |
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.