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

Similar Messages

  • 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

  • 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

  • Extract Mobile Phone for CRM Business Partner

    Hi Experts
    I would like to extract the mobile phone number for a business partner from CRM. Transaction BP shows the number in the address tab, communication area together with the telephone number and the fax number.
    The business content DataSource 0BP_DEF_ADDRESS_ATTR delivers only the telephone number and the fax number. Does anyone know of a DataSource that also delivers the mobile phone? Otherwise, in which table is the mobile phone number stored?
    Thanks in advance
    Daniel

    Hi Daniel,
    I'm currently attempting to extend the 0BP_DEF_ADDRESS_ATTR for the same reason, and sending support call to SAP to see if standard extractor can be updated to include mobile number.
    Can you give more detail on how you extended?
    We have appended a field to the extract structure & are now trying to fill it from ADR2 where r3_user = 3
    In particular a copy of any code you added to EXIT_SAPLRSAP_002 would be helpful.
    Cheers
    Don

  • Failed to create executive customer (by Business Partner)

    Forum,
    I am having problems with a recent upgrade to 8.81 PL06. On the server when the OI addon is started it prompts the template creation screen. Upon trying to create them it comes up with the error:
    Failed to create 'Executive Customer (By Business Partner)'
    This is despite being a local admin hence eliminating access rights.
    I have also followed instructions from SAP Note: 861055 - Missing Outlook Integration template however this was to no avail. I get the same error. Upon loading the 'Define Snapshot Templates' screen this is empty for the UK
    This i suspect is what is causing 'Internal Error' message when trying to send emails on clients in addition to the fact nothing is being attached to the email.
    Outlook Integration server has been reinstalled on the server too. It would seem the clients don't seem to be pick up the templates guide.
    Any assistance would be greatly appreciated.
    Regards,
    Juan

    Hi Jun,
    Have you checked this: Got an error when Outlook integration create the template
    Thanks,
    Gordon

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

  • 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

  • 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

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

  • How can one see all printdocuments for a business Partner

    How can one see all printdocuments for a business Partner(only transaction, no table please)
    Thx

    Avajit,
    Use T-Code CORRHIST
    Hope this helps
    Rgds
    Rajendra

  • Days Sales Outstanding DSO for a Business Partner

    Hi ,
    Any idea how to use the Method of Least Squares (MLS), to compute Days Sales Outstanding DSO for a Business Partner?  suggestions?

    Hi,
    In  the BP go to Sales Area Data and select sales tab. In that select the sales Org,D.Channel,division for which you want to maintain and enter all the detail in all the tabs (shipping,Sales,Billing etc) and save the BP.
    Regards
    Vinod

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • The visit frequency specified for the business partner

    Hi.
    Anybody knows how I can specificy the visit frequency specified for the business partner ?
    CRM  Mobile  5.0
    Thanks.
    Antonio.

    ok, in transaction FPP3, for a given business partner, you can see the standard address and connection object address.
    Is there any function module which can enable me to change the connection object address.

  • ERP plant number for SRM business partner

    Hello,
    how is it possible to replicate plants from ERP to SRM by using an external number range?
    Example: Plant 0100 in ERP should be Business Partner 0100 in SRM
    We have the issue that the replicated plants get new IDs from the internal business partner number range.
    In Customizing we defined a corresponding number range set to external. A new grouping is set up linked to the number range object.
    Thanks for help
    Regards Trevor

    Hi everybody,
    I closed this thread. In SAP SRM 7.0 there is no possibility to take over the plant numbers from ERP as Business Partner numbers. This would be an approvement for future EHPs of SRM.
    We solved our issue by showing also the ERP Plant number in the Shopping Cart from Table BBP_LOCMAP. But this is an enhancement.
    Regards
    Trevor

  • Adding a new field to the Address Data for a business partner

    Hi Experts,
    I am trying to add a new custom field to the address data (all structures and tables) that is linked to a business partner on SAP CRM via EEWB. Structure is the address structure wthin BUS_EI_EXTERN. Table is BUT020. I have been told that it is not possible as there is no Business Object that allows this. When doing an EEWB, the only business object is BUPA, which when selected, adds the new custom field to BUT000. I would like the field to be added to BUT020 (Address Table). This leads me to believe that there is no standard way of doing this, which ultimatley means that it would need to be done manually. Please help me with this predicament.
    Regards
    Yusuf

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

Maybe you are looking for