Reg: CRM Marketing attributes for CRM 7.0

Hi Gurus,
We are using function module CRM_MKTBP_CHANGE_BP to change marketing attributes for a business partner in which the marketing attributes are coming from another interface.
We get the marketing attributes created all the time, but the problem is when theres is a change in marketing attributes, these changes are also reflected, but the changed by and time stamp is not changed, though we pass it explicitly via the internal table IT_IMP_SELTAB when passing the fields CHANGED_AT and CHANGED_BY.
Requesting if anyone knows another FM or BAPI or OSS noted available for this as this particular FM is not released yet too.

Hi ,
Check that the Flag Run in the table CRM_MKTBP_CHECK for function module CRM_MKTBP_UPDATE_AUSP_EX_DB is set to X. This is for recording the history for any changes in the attributes. If not then set this flag to X. After that just change the value of one of the attributes and check the 'CHANGED AT' and 'CHANGED BY' fields for that attibute.
Hope this helps.
Regards,
Gervase

Similar Messages

  • How to deactivate the marketting attributes for BP in CRM

    Hi,
    how to deactivate the marketting attributes for BP in CRM
    I can add and maintain the same using tcode crmd_prof_char
    But how do I deactivate.
    Points will be rewarded
    Thanks

    .

  • Report accessible in CRM PCUI for marketing attributes for contacts

    I am trying to create a report accessible in CRM PCUI home page for marketing attributes for contacts(info from CRM, not R3). Does anyone know the steps to get this done please?

    Hi Abdul,
    Can you tell me how did you do this. I have a similar requirement in PCUI where I need to have a two level report in PCUI.
    Would request to treat this as very urgent.
    Regards
    Priyanka

  • 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

  • Populating CRM marketing attributes using the APD

    Hi Experts
    We are having problems with populating CRM marketing attributes using the APD. When we run our process we get the error message:
    CRMBW_ATTR_WRITE005: Error when processing function module CRMBW_UPDATE_BPMKT_5. Message no. RSAN_MDL024
    As you can see, we are using the new function module CRMBW_UPDATE_BPMKT_5 since the old CRMBW_UPDATE_BPMKT did not work either.
    Do we have to add a reference to a infoobject in transaction CRMBWTARGETS? We have not done this because the marketing attribute in CRM doesn’t have decimals and all the objects in BI have. Could this be the cause of the error?
    Kind regards
    Erik

    Hi Ramesh,
    Thanks for quick reply.
    I have already followed the procedure you have described. Since there is not common objects between ODS and Bpatner infoobject, i am not able to do mapping.
    for eg. my ZBPARTNER infoobject has attributes like zfooty, ztennis and zrugby but my ODS has char name , char value, counter for multiple values infoobjects.
    I am following the example in the demo content to work out the process but could not understand how the data is getting uploaded from ODS to Business partner.
    http://help.sap.com/saphelp_nw70/helpdata/en/bf/5df63bf9deaf09e10000000a114084/frameset.htm
    Thanks,
    Sandeep Jogde

  • Update CRM marketing attributes in Product

    Hi All,
    We have a requirement where in we want to update CRM Marketing attibutes for a given Product.
    This has to be done from SAP EP. An interactive form is launched from UWL and this would allow
    user to proivde the marketing attribute data. The data is then to be sent for approval via R/3 workflow.
    Now I want this data (after approval) to be updated in the product master data in CRM.
    Do we have any standard APIs for this ?
    Thanks & Regards,
    Debabrata Mohanty

    Hi Prabaharan,
    I have a same requirement to update the existing value of a marketing attribute.  I created a new implementation of BADI "BUPA_GENERAL_UPDATE"
    I am using the FM  'CRM_MKTBP_UPDATE_ATTR_BP' to update the value, but the updation fails,,,,
    MY requirement is to override the default value for a particular BP_KIND to some other value at the time of creation of BP.
    please reply as I am having an urgent delivery of the requirement.
    Regards,
    Ashraf

  • Extracting CRM Marketing attributes

    Hi all,
    I've to extract some marketing attributes to BW. There are no datasources available in rsa5. Marketing attributes are created in CRM through FM.
    I'm new to BW, can anyone help me?
    Thanks
    Kr.

    Hi,
    Please check this link below
    http://help.sap.com/saphelp_crm50/helpdata/en/51/a39a653491e549b4476d90ab4b7c86/content.htm
    I think these are correct,
    0CRM_MKTATTR_ATTR
    0CRM_MKTATTR_TEXT
    0CRM_MKTMETA_ATTR (metadata)
    0CRM_MKTMETA_TEXT (metadata)
    Procedure for Data Loading for CRM Marketing Attributes
           1.      Fill the ODS object 0ATR_DS01 using the DataSource 0CRM_MKTATTR_ATTR.
           2.      Load the texts for info object 0MKTATWRT using the DataSource 0CRM_MKTATTR_TEXT.
           3.      Load the metadata using the DataSources 0CRM_MKTMETA_ATTR and 0CRM_MKTMETA_TEXT.
    Business Partner Marketing Attributes
    Marketing attributes are used in CRM for business partner segmentation and can have single as well as multiple values (for example, hobbies), or can be created as intervals (for example, age from/to).
    The multiple value attributes can be extracted using a generic extractor to an ODS object in the BW system. The update to the business partner attributes as well as the attributes themselves strongly depend on the modeling of the marketing attributes in the CRM system. The delivered content is therefore not valid for all situations. For this reason, demo content is delivered with this InfoArea, which you can then use as a template for your own development. You can find this demo content under SAP Demo ®  SAP Demo CRM Marketing Attributes.
    Regards, ABY

  • How to create an marketing attribute for the busines partner

    hi guys,
    can any body help.
    how to assign/create the marketing attribute set to the business partner.
    is there any function module which to create the marketing attribute for the business partner by passing the BP GUID.
    if any body is having an sample code can u please post it.
    regards
    viswag

    Hi Viswa,
    In CRM 4.0, marketing attributes set can be created at T-code [CRMD_PROF_TEMPL]
    The created attribue set can be assigned to BP at T-code [CRMD_PROF_BP]
    The other way you can open the BP, in marketing at marketing attributes tab your can assign the created attribute set.
    regards
    satish kumar
    *-Reward points if found helpful.

  • Urgent: How to Remove assignment of a marketing attribute for an BP

    Hi Guys,
                In my project we are  maintaining two marketing attributes for all the business partners.
    But there is a need now based on some condition we want to remove one of the assignment for the BP (I.e which ever BP matching the condition)..
    I dont want to remove this manually  using the transaction code..
    Is there  any function module to remove the assignment of the marketing attribute  for the BP.
    Would appreciate an early reply...Since it is very urgent...
    Regards,
    Sundar

    HI Sundar you should follow the following steps.
    1. Create a target group in the segment builder selecting all the business partners that meet your criteria.
    2.  Go to the Expert tools (transaction CRMD_MKT_TOOLS)
    3. Select the Deletion of an Attribute for All BP Assignments to a Target Group  option.
    4. enter in the name of your target group, the attribute set and attribute you want to remove.
    Nima

  • Marketing attributes for a business partner

    Hi,
    how can I input marketing attributes for a business partner with a BAPI?
    Or can I use BATCH-INPUT (the transactions is "BP")?
    Thanks and best regards.

    Hi JoJo,
    I don't know about LSMW. But I have done something similar in a program by calling the following function module in a loop for each of the business partner:
    CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
          EXPORTING
            IV_PROFILE_TEMPLATE_ID = lv_attribute
            IV_PARTNER             = lv_partner
          TABLES
            IT_IMP_SELTAB          = lt_attr
            ET_RETURN              = et_return.
    Here you can provide the attribute set in lv_attribute
    and business partner in lv_partner. lt_attr contains all the attributes (name and value).
    Example:
        ls_attr-atname = 'Z_CUST_TEAM_ASSGN'.
        ls_attr-atwrt = 'Test Team'.
        APPEND ls_attr to lt_attr.
    Hope this helps.
    Regards,
    Chandrika

  • URGENT: How to remove the assignment of marketing attributes for an BP

    Hi Guys,
    In my project we are maintaining two marketing attributes for all the business partners.
    But there is a need now based on some condition we want to remove one of the assignment for the BP (I.e which ever BP matching certain condition written in my BP upload program)..
    I dont want to remove this manually using the transaction codes or the segment builder
    Is there any function module to remove the assignment of the marketing attribute for the BP which i can use in my upload program
    Would appreciate an early reply since it is very urgent...
    Regards,
    Sundar

    Hi Sundar,
    Most Easier approach is to code a BDC based on trasaction : CRMD_PROF_BP. in the search field pass BP ID, you will get the BP attributes and you can delete it their and then.
    Save.
    Data is back in Database.
    All will happen in BDC in background.
    Else you can use
    FM 'CRMT_MKTBP_WRK' to delete the assignments.
    This is the basic FM called to delete marketing attributes assignment.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Simple report that extracts marketing attributes for contact persons

    HI
    I want to extract the marketing attributes for contact person and to have certian output fields ,
    Can anyone help by finding an existing report that i may make some changes in it.
    Thanks ,

    ..

  • 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

  • Alerts for Marketing Attributes in CRM 2007

    Hi
    We are using CRM 2007 and we have marketing attributes maintained on the Sold-to party business partner. We want this marketing attribute to be displayed in the interaction center when the agent confirms the account.
    How to configure Alerts (Intent Driven Interaction) for marketing attributes.
    Thanks and Regards
    Rupesh Patil

    Moved to CRM - Interaction Center Forum

  • How to access marketting attribute of CRM

    Hi All,
    I have a specific requirement for CRM 2005. Currently we are maintaining some values in Marketting Attribute of BP transaction. Now I need to access those values through some programme or FM or BADI. So, is there any way I can sccess those values in a structure. Actually I need to return those values to UI. Please also let me know is there any standard FM exists for this purpose.

    Hi,
    I agree what you said but if we clear the context element it giving a dump as the program is refering to the NULL reference.As I said earlier my table has no data but still I am applying Filter and then clearing the Filter node value.
    It is working correct when my table is not initial.
    i hope you got my point.
    Please find the code below,
    METHOD onactionclear_filter .
      DATA: l_node          TYPE REF TO if_wd_context_node.          "This is context for Filter
      DATA: lo_nd_nrs_status  TYPE REF TO if_wd_context_node.  " This is context for Table
      DATA lo_api_controller TYPE REF TO if_wd_controller.        
      DATA lo_message_manager TYPE REF TO if_wd_message_manager.
      Data clr TYPE wd_this->element_nrs_status.
      DATA flg TYPE wdy_boolean.
      DATA l_ele TYPE REF TO if_wd_context_element.
    *data node_ele TYPE REF TO CL_WDR_CONTEXT_ELEMENT.
    *data node_val TYPE REF TO CL_WDR_CONTEXT_NODE_VAL.
    *data node type ref to CL_WDR_CONTEXT_NODE.
    *data node_tab type WDR_CONTEXT_PROP_FOR_NODE_TAB.
      l_node = wd_context->get_child_node( if_table_view=>wdctx_filter ).
    lo_nd_nrs_status = wd_context->get_child_node( name = wd_this->wdctx_nrs_status ).
    CALL METHOD l_node->get_static_attributes
        IMPORTING
        static_attributes =  clr.
    IF clr IS INITIAL.
        lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
    RECEIVING
    message_manager = lo_message_manager .
    report message
    CALL METHOD lo_message_manager->report_error_message
    EXPORTING
    message_text = 'Incorrect Selection' .
       EXIT.
    ENDIF.
       l_node->INVALIDATE( ).
    ENDMETHOD.
    Thanks & Regards,
    Ravi Ganji

Maybe you are looking for