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

Similar Messages

  • 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.

  • 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

  • Marketing Attributes for BP

    How can i load the Marketing Attributes of the Business partner into BI. Is there any standard data souce??? what does it load into, the BP object???
    Thank you

    Hi Gareth
    I think the function modules in group CRM_MKTPFTPL_OW are really valuable.
    Maybe you could call CRM_MKTPFTPL_GETLIST and then call CRM_MKTPFTPL_READ_CHR for each one.
    They aren't called by Pratik's FM's though .
    Cheers
    Dom

  • Count of number of campaigns executed for a business partner?

    Hi all
    I'm hoping someone can advise me on how to fulfil this requirement. Basically I need to find a way of ensuring that customers are only included in a maximum of five campaigns per month.
    My current idea centres around
    1) Creating an interaction object for each business partner every time they are included in an executed campaign
    2) To execute a custom-developed program (or a BW query?) that will count the number of interaction objects created per business partner in the past month and write the count value to a marketing attribute called "campaign count" assigned to each business partner
    3) Exclude any business partners with "campaign count" >=5 from the target group of future campaigns
    I'm sure there's a cleaner and better way of doing this. Can anyone point me in the right direction?
    Thanks
    Mike

    Greetings from ABAP General.
    Please do not leave meaningless comments when closing age old threads only to make room for new ones.
    The comment box can be left empty. Only fill it when you have something to say about the solution that might help the community.
    Thanks
    Thomas

  • Error while changing the PO BOX value for a Business partner

    Hi Friends,
    We are getting an error when we try to change the PO Box value for a Business Partner.
    We have the dependency like when we give the value for the PO Box we also need to give the postal code value. And also we have a specific format for the Postal code. We gave both the values (a valid postal code) and try to save the details, then error message "The attribute GUID of Organization (a Contact Person is assigned to) of the Business Object contact person is not valid" is displayed. We have no clue why there is a conflict for the contact person details.
    Can any one suggest the reason for this?
    Thanks & regards,
    Swarna Seeta

    Hi Swarna,
    You are getting this message not because you have entered wrong Post code .It will come even if you try to change some other field and save it. This is because on saving a business object, the framework tries to validate all the associated objects depending on the relation.In this case the data in the mobile client is either not present or is no longer valid.
    Check if the field of the Business object which is being shown as invalid, has some data in the table. Check the combo associated to it and from where the combo is doing the validation. The table from where the combo is doing the validation does not have that data and so the value is invalid.
    Also compare the number of entries in smokna1sht table in ides and in CDB.
    Regards
    Vivek

  • 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

  • Set order block for new business partner

    Hi experts,
    I have the requirement to set the order block for a business partner (based on some attributes) at the moment when it will be created or changed.
    I tried to use the BAdI BUPA_GENERAL_UPDATE where I am using the FM CRM_BUPA_FRG0050_READ/ CRM_BUPA_FRG0050_GET_DETAIL to retrieve the already existing status data and the FM CRM_BUPA_FRG0050_CREATE/ CRM_BUPA_FRG0050_CHANGE to add or change this data.
    In the SAPGUI at least the update scenario (CRM_BUPA_FRG0050_CHANGE) is working.
    In the WebUI application none of the both is working: In the create scenario the application is even dumping (SAPSQL_ARRAY_INSERT_DUPREC) but this dump happens in an other implementation of this BAdI!
    In the BP update scenario nothing happens though the UI will be refreshed by some coding like
    lr_bol_core = cl_crm_bol_core=>get_instance( ).
    lr_bol_core->modify( ).
    Is there something wrong or missing or is there a better BAdI to achieve this requirement?
    Thanks for any help!
    Regards,
    Wolfhard
    PS: I found another post which covers exactly my requirements but unfortunately without a solution...
    [Re: Update of BP General Data during creation of BP]

    Hi Bruce,
    I propose to select the right value programmatically and then hide the original combo box (use the FromPane / ToPane properties - better don't disable it or make it invisble) and display a disabled EditText item which displays the pricelist which should be applied to new customers when the Form is switched to - or launched in "Add" mode.
    When the form is switched to other modes than "Add" reactivate the original ComboBox...
    HTH,
    Frank

  • 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>

  • Designate multiple languages for a Business Partner

    In the province of Quebec (Canada), contacts for a Business Partner can either be French or English. When creating a Marketing Document, I would like to be able to use the Language setting found under the Logistics Tab to select either a French or English version of a PLD template that is marked as default for that client.
    This means that a BP can be associated to multiple language versions of the same PLD.

    Thanks for your reply.
    I need the have each LOS ( Location of sale or location of delivery) of Business Partner because we will deliver items for the LOS and not for BP.
    As we also need to control (serial numbers) items & services ( field management) I also need to have the LOS as BP.
    As example:
    BP name AAA have 30 LOS.
    BP AAA bought 2000 items.
    BP AAA ask us to old theses items in warehouse.
    BP AAA request to delivery a x quantity in LOS 1, 2,3,4,...
    The invoice went to BP AAA, but the deliveries will be to each LOS of BP AAA.
    As I said we need to have the field services working side-by-side with serials numbers and services for each LOS of our BP AAA.
    So, we have subcustomers from big customer BP AAA.
    Do we have any way of having all subcustomers(LOS) as BP, along with the real customer AAA?
    Thanks in advance,

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • 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

  • Enter at least one number for the business partner

    Hi Experts,
    SRM 5
    Classic scenario
    R/3 4.6c
    I am trying to execute users_gen transaction for integrating the user with the org. structure. However upon doing so I get an error message "Enter at least one number for the business partner"
    Please provide pointers on the cause for this and how it can be rectified.
    Thanks.
    Regards,
    Amish

    Hi Muthu,
    I am integrating a single user at a time - through users_gen.
    Infact I am getting the same error message while moving the users within the org. structure.
    Steps -
    1. Execute users_gen
    2. Select the user to be integrated
    3. Click execute check mark
    Please provide any pointers.
    Regards,
    Amish

Maybe you are looking for