PROBLEM IN CREATING MARKETING ATTRIBUTES

Hi Experts,
I have a requirement in which i need to create OR update Marketing attributes of BP.
I used FM CRM_MKTBP_CHANGE_BP for this.
for updating existing Attributes it is working fine, but when i am trying to assign attributes to the BP it is not working.
In return parameter, i am getting Success message, but if i am going to Transaction BP and view the BP, I am not able to view
the assigned attributes.
my code is simple:
      CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
        EXPORTING
          IV_PROFILE_TEMPLATE_ID       = LV_ATTRSET_HOBBY    " this contain the name of the Attribute Set
*         IV_BP_GUID                   =
*         IV_XDESCR                    = ' '
*         IV_FCODE                     = 'C'
*         IV_MSA                       = 'X'
*         IV_COMMIT                    = 'X'
          IV_PARTNER                   = I_BPNUMBER         " BP Number
*         IV_CONVERT_VALUES            = 'X'
        TABLES
          IT_IMP_SELTAB                = LT_ATTR_HOBBY             " Attributes with values
          ET_RETURN                    = LT_RETURN                 " Here i am getting sucess message
Any idea why it is not working. if you have faced the similiar problem, how did you solved it?
One more point here is: After calling the FM, i can see the records in table AUSP  but not in BP Transaction
I just check this for updataing existing marketing attribute. Records are updated in the AUSP table but these changes are not reflected in BP T Code.
Please provide your valuable inputs.
Dave
Edited by: Dave on Jun 15, 2011 1:24 PM

Solved by using FM CRM_MKTBP_ASSIGN_ATTRIBU

Similar Messages

  • SAP CRM MObility Activity Survey to create Marketing Attributes for a BP

    ATtrHi Gurus ,
    I have to create an Activity from IPAD ( CRM Mobility ) which will create a survey response,and the survey responses have to be captured and then create Marketing Attributes for the BP related to the Activity. I am not able to use the Callback Function given to IPAD Application.
    So my Approach so far has been :
    implement a badi that gets trigerred at Survey Response submission.
    in that call function module crm_svy_activity_pai.(Made a Z-copy of this to enforce COMMIT WORK )
    I am not able to pass the parameter lr_values for FM: CRM_SVY_ACTIVITY_PAI
    These are the 2 links that has been useful so far . Kindly add to this if possible.
    Regds
    Oindrila

    Hi Jacques,
    Once you click on Marketing in Web UI you will find "Marketing Attribute" in the Work Area.Click on that.
    You need to give ID No. and Attribute Set name.
    You need to mark Persons and Organisation checked also.
    Below that you will find 2 blocks " Attributes" and "Value"
    Under Attribute gve your Attributes Names you want to define ( e.g. Age,Salary or any client defined..) then select the Format ( Numeric or Chracter etc...)
    Once you have filled in all the Attributes you click on one attribute and below you need to fill the Values ( e.g 20-30 yrs etc...) . If you want to make that value a default one you can select default check box against each value.
    That way for each attributes you can define values. Hope this would help you.
    Regards...
    Edited by: akscrm akscrm on Sep 3, 2008 2:19 PM

  • Problem in Updating marketing attributes for Contact

    Hi,
    I am trying to update marketing attributes for contact and Account while Creating lead. For this I implemented ORDER_SAVE (Chek before save).
    For account, the marketing attributes are getting updated fine. But, for Contact they are not getting updated. For both I am using the same code. But, I dont understand, why.
    Please, let me know why this is happening.
    Here is the code i used.
    The internal table li_imp_seltab contains Marketing attributs.Its being filled properly. No problem with Internal table data.
    For contact----
    >
    If not v_contact is initial.
      IF lo_contact_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_contact_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = abap_false
                  iv_msa                 = abap_false
                  iv_commit              = abap_true
                  iv_partner             = l_contact_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_contact_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
    For Account -
    >
    if not v_ac is initial.
    Check if the entity is changeable.
            IF lo_account_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_account_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = 'C'
                  iv_msa                 = abap_true
                  iv_commit              = abap_true
                  iv_partner             = l_account_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_account_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
    Please
    Thanks,
    Sandeep

    Hi Sandeep,
      You can use 'CRM_MKTBP_UPDATE_ATTR_BP' FM to update the marketing attributes of the BP.
    Regards,
    Lakshmi.Y

  • Error message while creating marketing attributes

    I get a message 'express document "update was terminated" recieved from author' while creating and saving a marketing attribute. The attribute gets created and I can assign them as well. I would like to know why I am getting this message and am I missing something?
    I am using CRM 5.0 online.
    Regards
    Ani

    You should check if there is a dump in ST22..... If there is one, then you can find the cause there... Most of the times it is an Authorization Issue.
    Thanks,
    Ranjan

  • Problem in making Marketing Attribute set Default

    Hi Experts,
    I am facing some issue while making selection of marketting attribute set during BP creation
    I was able to make a default set in individual account but there is some other set for corporate account which i need to default while
    making the account..
    As both individual and corporate accounts are going to same componet and views and context nodes i am not able to differntiate
    which to select when...
    Pls suggest some solution,its urgent..
    Reward points will be awarded...
    thanks,
    SA

    Hi,
        In BuilHeader which is the root object for Business partner has one field named Category. If it is 1 then it is a person so it is an individual account. If It is 2, then it is an organization, so it is a corporate account.
          So please check the category in your marketing attribute defaulting logic and default different marketing attribute set.
    Regards,
    Manas.

  • Marketing Attributes not updating in BP through Suvery

    Hi friends,
    I m working in CRM 5.0, i want to update marketing attribute of BP using survey response, i have created survey which include marketing attributes, in survey setting i have maintained
    Callback to PBO    CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI      CRM_MKTBP_SVY_ATTRIBUTE_PAI
    further i have generated survey url using BSP option, next i have assign this survey url  to  mail form, Customers/BPs can open the mail and able to fill the survey successfully, but when i checked in master data of BP no marketing attributes are assign to them(Marketing attributes are not updating).
    Please help me to resolve this,do  i will have to add marketing attribute anywhere in FM code ?? i have also read sap note : 638320 but no success.
    Thanks,
    Vivan

    Hello together,
    I would like to describe my own problem with updating Marketing Attributes in a Business Partner via a CRM Survey.
    Currently I am working with SAP CRM 7.0 EHP1. The Survey is maintained in SAP Survey Suite in the Application "Marketing".
    Furthermore I am using the following function modules:
    Callback to PBO CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI CRM_MKTBP_SVY_ATTRIBUTE_PAI
    The Marketing Attributes should be updated within a Contact. This contact have assigned the role "Internet User". Behind this role I have defined my CRM User name.
    For testing the Attribute update I have generated an URL with BSP. Afterwards I opened this URL and logged in with my CRM User name. After filling in the survey and submitting no business partner were updated. It seems that the "conversion" from my CRM User to the CRM contact doesn't work. I think there could be a problem with the PBO and PAI modules. Because the functionality "Evaluation" within the Survey Suite shows a number of evaluated questionnaires and answers after submitting my survey.
    So my questions:
    Are the mentioned PBO and PAI modules up to date? (Last change date was in 2005)
    Is the Application "Marketing" within the SAP Survey Suite the correct one?
    I would be glad if anyone could give me tip for my problem. Thanks a lot and best regards,
    Oliver

  • Mass creation of Marketing attributes under attribute set

    Hi All,
    Please let me know if there is a possibility for mass creation of Marketing attributes and marketing attribute sets in SAP CRM Standard functionality.
    I am not talking about below " creation & assignment to BPs using the expert tools. "
    CRMD_PROF_CHAR  Create/Change Marketing attribute/set
    CRMD_MKTDS           Create datasource/attributre list
    Create marketing attribute and maintain in Business Partner.
    CRMD_MKT_TOOLS  you can use this to delete/assign mass marketing attributes to BP.
    we can go for a BDC program, But I want to keep that as a last option.
    Please help and suggest me if there is any standard way of creating or uploading the Mass Marketings attributes in CRM system.
    Regards,
    karthik J

    This functionality can be achieved through ELM (External list management)

  • Marketing Attributes alignment from Parent BP to Child BPs

    Hi,
    We have a requirement of updating marketing attributes on child BPs if they are getting changed at the Parent BP.
    For eg If attribute A is getting changed at Parent using transaction BP, system shoudl fetch all its child BPs from BP hierarchy in background and update the value of attribute A there.
    I am thinking of using BADI BUPA_GENERAL_UPDATE
    Please provide me Std FMs to udpate marketing attribute os a BP and the place hwere to write code.
    Please suggest me some othe solutions to realise this requirement.
    Any help is appreciated.
    Regards,
    Pratyasha Shishodia

    Hello together,
    I would like to describe my own problem with updating Marketing Attributes in a Business Partner via a CRM Survey.
    Currently I am working with SAP CRM 7.0 EHP1. The Survey is maintained in SAP Survey Suite in the Application "Marketing".
    Furthermore I am using the following function modules:
    Callback to PBO CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI CRM_MKTBP_SVY_ATTRIBUTE_PAI
    The Marketing Attributes should be updated within a Contact. This contact have assigned the role "Internet User". Behind this role I have defined my CRM User name.
    For testing the Attribute update I have generated an URL with BSP. Afterwards I opened this URL and logged in with my CRM User name. After filling in the survey and submitting no business partner were updated. It seems that the "conversion" from my CRM User to the CRM contact doesn't work. I think there could be a problem with the PBO and PAI modules. Because the functionality "Evaluation" within the Survey Suite shows a number of evaluated questionnaires and answers after submitting my survey.
    So my questions:
    Are the mentioned PBO and PAI modules up to date? (Last change date was in 2005)
    Is the Application "Marketing" within the SAP Survey Suite the correct one?
    I would be glad if anyone could give me tip for my problem. Thanks a lot and best regards,
    Oliver

  • Alert for Marketing Attributes

    Hi
    I am sorry but I donu2019t understand the solution presents in the last questions on this issue.
    I am using CRM 2007 and I have marketing attributes maintained on the Sold-to party business partner. I want this marketing attribute to be displayed in the interaction center when the agent confirms the account.
    The alert for bringing standard First Name, Last Name & City works fine.
    My Question is How and Where can i add the marketing attributes parameter so when I will create ALERT I can choose it from the list of attributes that appear in the Current costumer (beside First Name, Last Name & City)?
    Thanks & Regards
    Merav

    Hi Merav,
    Create Marketing attributes using the transaction CRMD_PROF_CHAR
    Maintain the Attribute set using the transaction CRMD_PROF_TEMPL
    And assign the Set to a Business Partner
    Define Business Data Context (BDC) Attributes for the field Group BUSINESS_PARTNER create an attribute with Xpath Xpression
    //CURRENTCUSTOMER/BuilMktAttributeRel/VALUE
    For Ex  ZMKTATTRIBUTE
    Now create an alert using this attribute ( you have to select this Business Partner list in the attibute list of the alert )
    Then create a rule for ex if the current event is BP confirmed then trigger the alert
    This should work!!!
    Regards,
    Kiruthika

  • Data upload for Marketing Attributes.

    Hi experts,
    We have a requirement to create Marketing Attributes for Business partners. In our current roll-in the number of records are expected to be about 1000000 records. (1 Million). For the pilot roll-in we had about 300000 records and we wrote a custom program and used the FM CRM_MKTBP_ASSIGN_ATTRIBUT_TAB to update the records. Now that the data quantity is almost tripled, is there any different approach to load this?
    We are now going to upgrade to CRM 7.0.
    In the prev version the standard IDOC that we use to load BP does not contain any segment structure for Marketing attributes. Hence we would like to know how to approach such a huge volume? If it is through IDOCS we felt we can go for parallel processing, but I have not done it before. so my questions are:
    1.Is there a standard IDOC in 7.0 version to load Marketing Attributes?
    2.If yes, does parallel processing improve the performance of the data load?
    3.If there is no standard IDOC then what will be the best approach for this data volume?
    4.Should we still continue to use CRM_MKTBP_ASSIGN_ATTRIBUT_TAB?
    Eagerly looking forward to your answers. Thanks in advance.
    Regards
    Balaji

    Hi,
    Thanks for the Reply, Could you provide details about the external List management with the document if any, in order to proceed further.
    Thanks in advance
    Regards
    Balaji.A

  • How to add new marketing attribute to the existing marketing attribute set?

    Hi all,
                  I searched for existing forums but I didn't find the required one. I found some using Tcodes ,which is not my requirement. My requirement is to add new marketing attribute to the already existing marketing attribute set. This  attribute set is created by my team lead with 4 attributes but now i have to add new attribute to this set so total will become 5 attributes for this attribute set. This has to be done through marketing professional business role. If this is not done through marketing attribute set, then I will go for the transaction where I can add marketing attribute for attribute set.
    Please send the details of both marketing professional business role and transaction code.
    Your help is highly appreciated.
    Thanks,
    Baasanthi.

    Hi,
    SAP CRM Marketing Attributes explained
    Path to create Marketing attributes from webui: log in with Marketing Pro role->Marketing->Create->Marketing Attribute
    Regards,Sumeet

  • Report for initial fill of marketing attributes for contact persons

    Hello,
    i have an excel document with contact persons and marketing attributes.
    What way do you recommend to bring this attributes into SAP CRM?
    The contact persons are already in SAP CRM.
    Thank you
    Best regards
    Manfred

    Hi Manfred - ELM, is what we use to update contacts for all information, including marketing attributes.
    If you don't have the contact in CRM...Step 1 - From the file that you have, just map the contact details and ELM the file to create contacts. Step 2 - You have to add the contact IDs to the file now and this time create a mapping format to update the contact and marketing attributes.
    In the mapping format that you would create, marketing attributes can be assigned from the file to be ELM'ed.
    Thanks
    Nikhil

  • Marketing attribute sets applicable only for specific BP roles

    Hi,
    I have created Marketing attributes in CRM and assigned them to Attribute sets applicable only for Organizations.
    Now they are eligable for all BPs created independent of BP role. Since I don´t want the Potential customers to have the same attribute sets as the Customers or Competitiors my question is:
    Is it possible to determine which attribute sets to be available for a BP based on its BP role?
    BR,
    //anders

    Hi,
    Do we got any solution for the above mentioned error? i too getting same issue.
    thanks
    ARun

  • Craetion of custom marketing attribute

    I want to create a custom marketing attribute.
    Whenever i am clicking on create marketing attribute in UI, the screen which opens in that i create a new marketing attribute set and assign marketing attributes from selecting the F4 help in attribute field, but i want to add a custom marketing attribute and select that from the F4 dropdown, But am unable to do that,
    Can anyone please let me know how to solve the same.

    Hi Suvadip,
    For creation of marketing attribute set,
    1. Select Create marketing attribute option and maintain the required details eg: Valid for etc
    2. Use the F4 option to use the existing marketing attributes
    3. For New Attributes, select the option "Insert" and maintain the details eg: Format, entry required etc
    4. Select the option "insert" in  "Values" Assignment block (corresponding to the above marketing attribute) and maintain
    the ID & Value. And Save.
    This creates new marketing attributes.
    Hope this info helps.
    Regards,
    Rashmi

  • Maintenance marketing attributes

    Hiii,
    can anyone explain me how and where to maintenance the marketing attributes in CRM 5.0. My intention is to remove some marketing groups in Interaction WinClient.
    Thanks in advance,
    greetings,
    John

    Hi John,
    Even though I am not very much clear what you want to achieve in Interaction Centre below is the procedure to Marketing attribute creation and assignment to BP.
    We can create Marketing attribute using t code - CRMD_PROF_CHAR, each of such created attributes have to be grouped under Attribute Set. TO create attribute Set and assign the attributes use t code  CRMD_PROF_TEMPL. To assign thus created Attribute set to a Business Partner use t code CRMD_PROF_BP.
    If you want to assign attribute set to a Target group then use CRMD_MKT_TOOLS - Expert Tools.
    Hope this should help.
    Regards
    Malikarjun

Maybe you are looking for

  • How can I open new window from a link in another window?

    Hello everyone! Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data wi

  • N8 music player not recognising music file details

    I've been using mp3tag to embed album art in the ID3 tags & also fix the album artist so I can copy the files across to my N8 in windows. It all worked fine before but now the music player just sees them as album artist & album unknown, depite this i

  • Z10 OS applications not working so well for me. Help

    I am unable to use most of the applications on my OS Z10. Since I got the software my phone freezes so many times and some applications are missing like "alarm" and I am unable to view my pictures it says "Target not found" when I try access them. Wh

  • "there are no TV shows in your itunes libray" error message

    I get this error message when I go to front row to watch TV shows, I have a brand new mac mini, the latest versions of itunes etc. and I have just bought a couple of TV shows from the itunes store - they show up in itunes, they have the box next to t

  • Does AirPort Extreme Card Need Config?

    In reading some of the discussions relative to enabling WPA security, I have only seen reference to configuring the base station such as AiportExpress. Having done that are there any changes which need to be made to the AirPort Extreme card? For some