Target Group Check Email Duplication

Hi all,
Please kindly help with the following issue. Is it posible in CRM via some reports or functionality to see or check if newly generate Target Group has BPs with same e-mails? We faced such situation that in our system some different BPs has the same email adress.
Thank's,
Maria.

Hi!
You may also want to check out the documentation on Campaign automation:
http://help.sap.com/saphelp_crm70/helpdata/EN/46/0ac0da293114dbe10000000a155369/frameset.htm
as well as Workflow in Campaign Automation
http://help.sap.com/saphelp_crm70/helpdata/EN/46/0ac0da293114dbe10000000a155369/frameset.htm
Let me know if this helps.
Anik

Similar Messages

  • Creating a target group based on the BP email address only in CRM

    Hi there,
    I am currently trying to create a target group based on the business partner email address only.
    I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses.  With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
    What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
    The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range.  I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list.   I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
    Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
    Any help would be most appreciated.
    Kind regard
    JoJo

    Hi JoJo ,
    The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
    REPORT  zexcel.
    * G L O B A L D A T A D E C L A R A T I O N
    TYPE-POOLS : ole2.
    TYPES : BEGIN OF typ_xl_line,
    email TYPE ad_smtpadr,
    END OF typ_xl_line.
    TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
    DATA : t_data TYPE typ_xl_tab,
           lt_bu_guid TYPE TABLE OF bu_partner_guid,
           ls_bu_guid TYPE  bu_partner_guid,
           lt_guids TYPE TABLE OF bapi1185_bp,
           ls_guids TYPE  bapi1185_bp,
           lt_return TYPE bapiret2_t.
    * S E L E C T I O N S C R E E N L A Y O U T
    PARAMETERS : p_xfile TYPE localfile,
                  p_tgguid TYPE bapi1185_key .
    * E V E N T - A T S E L E C T I O N S C R E E N
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
       CALL FUNCTION 'WS_FILENAME_GET'
         IMPORTING
           filename         = p_xfile
         EXCEPTIONS
           inv_winsys       = 1
           no_batch         = 2
           selection_cancel = 3
           selection_error  = 4
           OTHERS           = 5.
       IF sy-subrc <> 0.
         CLEAR p_xfile.
       ENDIF.
    * E V E N T - S T A R T O F S E L E C T I O N
    START-OF-SELECTION.
    * Get data from Excel File
       PERFORM sub_import_from_excel USING p_xfile
       CHANGING t_data.
       SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
    but000~partner =
       but020~partner
         INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
    lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
    t_data-email.
       CLEAR: lt_guids,ls_guids.
       LOOP AT lt_bu_guid INTO ls_bu_guid.
         ls_guids-bupartnerguid = ls_bu_guid.
         APPEND ls_guids TO lt_guids.
       ENDLOOP.
       CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
         EXPORTING
           targetgroupguid = p_tgguid
         TABLES
           return          = lt_return
           businesspartner = lt_guids.
    *&      Form  SUB_IMPORT_FROM_EXCEL
    *       text
    *      -->U_FILE     text
    *      -->C_DATA     text
    FORM sub_import_from_excel USING u_file TYPE localfile
    CHANGING c_data TYPE typ_xl_tab.
       CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
       DATA : l_dummy TYPE typ_xl_line,
              cnt_cols TYPE i.
       DATA : h_excel TYPE ole2_object,
              h_wrkbk TYPE ole2_object,
              h_cell TYPE ole2_object.
       DATA : l_row TYPE sy-index,
              l_col TYPE sy-index,
              l_value TYPE string.
       FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
    * Count the number of columns in the internal table.
       DO.
         ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
         IF sy-subrc EQ 0.
           cnt_cols = sy-index.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Create Excel Application.
       CREATE OBJECT h_excel 'Excel.Application'.
       CHECK sy-subrc EQ 0.
    * Get the Workbook object.
       CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
       CHECK sy-subrc EQ 0.
    * Open the Workbook specified in the filepath.
       CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
       CHECK sy-subrc EQ 0.
    * For all the rows - Max upto 65536.
       DO const_max_row TIMES.
         CLEAR l_dummy.
         l_row = l_row + 1.
    * For all columns in the Internal table.
         CLEAR l_col.
         DO cnt_cols TIMES.
           l_col = l_col + 1.
    * Get the corresponding Cell Object.
           CALL METHOD OF h_excel 'Cells' = h_cell
             EXPORTING #1 = l_row
             #2 = l_col.
           CHECK sy-subrc EQ 0.
    * Get the value of the Cell.
           CLEAR l_value.
           GET PROPERTY OF h_cell 'Value' = l_value.
           CHECK sy-subrc EQ 0.
    * Value Assigned ? pass to internal table.
           CHECK NOT l_value IS INITIAL.
           ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
           <fs_dummy> = l_value.
         ENDDO.
    * Check if we have the Work Area populated.
         IF NOT l_dummy IS INITIAL.
           APPEND l_dummy TO c_data.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Now Free all handles.
       FREE OBJECT h_cell.
       FREE OBJECT h_wrkbk.
       FREE OBJECT h_excel.
    ENDFORM. " SUB_IMPORT_FROM_EXCEL
    Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
    snap shot of excel file:
    Let me know if it was useful.

  • Custom Attributes in Target Group Email Campaign Not Refreshed

    We have a campaign sending emails to a target group of BPs.  To fill our custom attributes with values  we have implemented our code in badi CRM_IM_ADD_DATA_BADI method CRM_IM_BPSELE.  We tested our code using the Test Send feature from the email form and all worked fine.
    But when we ran the campaign in the background for a Target Group with multiple BPs it would not work correctly, our attribute values were incorrect. 
    We discovered while debugging the job, that the badi gets run once for each BP, but the attribute values from the previous BP do NOT get refreshed.  In fact there are 2 entire sets of attribute records in the CT_ATT_VALUES table parameter.  Each time through it multiplies by another set of our attributes.
    I have put code in the badi as a workaround that deletes the previously filled attributes for the previous BP, but I'd like to figure out what is causing this problem.
    Any help would be appreciated.
    thanks,
    Lee

    Hi Lee,
    Is this issue resolved for you now??
    I am facing the similar problem.
    Though the BADi is not used for these two mails (it is used in some other mail forms), it is actually called in 'CRM_ERMS_MAIL_COMPOSE' Function Module and the process is same as u said. There are 2 sets of values.
    I am using a Mail Alert functionality where in a 'Mail Alert ON' is sent to field engineers (FE) and then upon FE accepting the work we will send a 'Mail Alert OFF' to FEs.
    Problem is, we get one or two fields data incorrectly sometimes. I am not able to find out the root cause yet.
    Please let me know if you have had any resolution to this!
    Thanks in advance.
    Chaitanya

  • Target group to channel

    I have created  a new campaign and assigned products , channels and taget group to campaign.
    i have changed campaign status to ' Released'.
    When i m trying to send Email to Target Group , that option was grayed out . Please le me know if i need any changes .
    Regards,
    Ravi kumar

    Hi Ravi,
    Can you please check for following settings are maintained
    In the Campaign Screen.
    Basic Data Tab
    Piority : high/medium
    Transfer to ERP : Generally should be unchecked
    Status : Released
    Campaign Element Screen
    Channels Tab
    Communication Medium : INT
    Form for Email : ( maintain the mail form which you want to send)
    Work flow task : CA1 Send target group to channel
    Segmentation Tab
    Maintain target Group
    Go to the campaign automation screen using F5
    Drag and drop the start node and element side by side and connect using connection
    In the start node of the campaign automation
    schedule the campaign
    After starting the campaign check the status and log in the start node as well as element in the campaign automation screen.
    Status should be released
    Log should have completed.
    Hope it helps
    Please reward points if it helps.
    Regards,
    Madhu

  • Change Management and Target Group in STMS

    Hello, We use the Change Management (SolMan 4.0). Up to now it works fine. We deliver always one client in the System (E33.002; T33.002 and P33.002). Now we try to change this. We will deliver more than one client in every system at the same time (to have always the same status in every client). So we use Target groups in STMS. This works fine if I do the transports manualy. But if I try to do it with the change management it doesn't work. The change management still deliver one client (002).
    Can someone give me a hint?
    Best regards

    Hi Jose,
    check below link.
    Leads not getting created via ELM
    Rgds
    Hari

  • Where to see activities, which are created for the campaign with target group

    Hi
    I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
    Activities are not appearing after creation of campaign with target group.
    Where to see activities, which are created for the campaign with target group?
    Regards
    Hamid

    Hello,
    alternatively to check  table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
    This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
    This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
    best regards,
    Johannes

  • How to see target groups in Data Target in the APD

    Hi everybody.
    I am trying to make a marketing segmentation of customers in the APD (BI) and I need to send the results to a target group in CRM, my problem is that I can´t see target groups in the u201CData Target CRMu201D.
    I select the Logical System and when I select the Data Target the system shows   CRM error: Data target TARGET_GROUP_FROM_B not known.
    I know that the communication is OK, the RFC is working cause I can see Marketing Attributes (I released data target for replication and maintained attributes) but I don´t know if I need to do something similar with Target Groups of CRM or how.
    Does anyone have an idea how can I see target groups in the window of the Data Target?
    Thanks.

    Hello,
    I have seen  this problem in other systems and it was caused by a GUI bug. Can you please check that you have the latest GUI patch installed for your GUI  release.
    Best Regards,
    Des

  • In ECC 6.0, can I link a CTS project id to a transport target group?

    In ECC 6.0, can I link a CTS project id to a specific transport target group?
    I configured two IMG projects, namely, Phase1 and Phase2.  In SPRO, I tied them to CTS project ids, DEV_P00001 and DEV_P00002, respectively.  In STMS, I configured two transport target groups called /PHASE1/ and /PHASE2/ that I want to link with the corresponding project ids.  The intention is that Phase1 transports will go to the clients specified in the /PHASE1/ target group and that Phase2 transports will go to the clients specified in the /PHASE2/ target group
    I want to link the CTS project ids to the respective transport target groups so that (e.g.) if a team member creates a transport in SE01/SE09/SE10 and chooses the DEV_P00001 project id from the Project dropdown, then /PHASE1/ will appear as the default transport target.  Likewise, if the team member instead chooses the CTS project id DEV_P00002, then /PHASE2/ will appear as the default transport target.
    Right now, the user has to remember to choose the correct combination of CTS project id/transport target group.
    Solution Manager is NOT involved in this scenario.
    Does anyone know of a way to do this in ECC 6.0?

    Hi,
    Try this it worked for me though,
    1. Goto SPRO_ADMIN
    2. Select the Project
    3. Choose Change
    4. Go To Transport Requests TAB
    5. Activate CTS Functionality
    6. Save it after the Pop Up
    7. Go to Se10 and check if the Project Field is getting Populated with the Desired Project or not.
    Regards,
    Nitin

  • Creating Target Group from External File

    Hello Experts
    We need to create target group from external file. (That is to say we will have let's say txt file containing BP that belongs to specific target group and we need to assign these BPs to to specific target group in SAP CRM)
    I have searched for it on sdn and found something benefical. I have found BAPI_TARGETGROUP_CREATE, I have checked it but I don't understand how should we use it becuase as far as we understand it just creates target group, we cannot see anything related with Business Partner. How can we relate BPs with the target group we create by this BAPI.
    What should we do, is anyone have previous experience about it? or is there a way to do it without using BAPI.
    thanks it advance
    M.
    Edited by: Mehmet Ergul on Jan 22, 2009 11:19 AM

    Hi,
    You can do this from within the standard Web UI. It's straight out of the box.
    Create a profile set and in there create a target group in the target group assignment block just by entering the description of the target group. Then enter edit mode of this target group and click the button "Import Members". Remeber to mark "Change selected target group" unless you want to create a new target group.
    /Anders

  • Error when exporting target groups with more than 10000 BPs using mail form

    Dear experts,
    we are working on 7.0.
    we customized the communcation medium file export for the usage in campaigns.
    Everything is working fine: the target group (<4000 BPs) is exported to a .csv-file and attached to the campaign.
    As soon as number of BPs in the target group exceeds app. 9.000-10.000 the background job is executed successfully without errors, but no .csv-file is attached to the campaign.
    Has anyone experienced the same? Soem hitns or solutions?
    Thanks a ton and kind regards
    Hannes

    I don't think the character set is the problem. I used a string of numbers 0123456789 and just copied and pasted it repeatedly to build up the text. The database character set is WE8MSWIN1252.
    Regarding the apache log. I have to admit that I don't even know if I'm running apache. I am using a newly installed Oracle XE on a laptop in order to get some experience with application express. This app is the first one I've done. If someone will direct me to the log then I'll be glad to check it and post the relevent contents.
    I signed up for an apex workspace and intend to see if I can recreate the error from there so I can see if the problem is just in the free version of apex that comes with the Oracle Express Edition for windows database.

  • Working with target groups in ChaRM?

    Has really nobody worked with transport groups in ChaRM??

    Hello Elena,
    I agree with Prakhar - admin/operator who performs the actual import into production must be VERY careful:
    in case when you have several target systems in the transport route, when you release transport from source system, the transport is exported into the buffer of EVERY target system that is defined in the route - no matter how you group your target systems.
    In the Task List however each producton system will have it's own CTS project generated.
    So your operator must be very well aware of which production system is accotiated with which CTS-project so to execure Import from SCMA correctly, and also be aware of what transports are in the buffer of that system at that time - there will be no pick-n-choose once Import is run.
    The import into production will NOT be made via SCMA or the change request itself, but directly in STMS via the QA buffer.
    We will generate an email with the target systems and transport request numbers out of the change request and send it to the basis team. They are not going to work in the Solution Manager.
    So, actually we need that the target group to be written directly in the transport request itself.
    Do you think this is possible?
    But I don't agree that it is a good idea to create multiple maintenance projects (i.e. separate for each production system) - if all your PRD* systems are fed from the same DEV... In this case it must be just one maintenance project with multiple target systems, I think.
    It is ok if the transports are written to all production buffers.

  • Attaching Target Groups in the Webshop admin in R3/CRM scenario

    Hi Gurus,
    I am trying to attach Target Group in the marketing tab in the webshop admin.
    We have R/3 and CRM in landscape. I have created a target group in CRM Backend.
    Now when i go to webshop admin and try to assign this target group in the Marketing tab, i get an error while doing a search for the traget groups. The error message says "No authorization for search help at CRM_MKTCA_UIU_SEG_TG". Now this CRM_MKTCA_UIU_SEG_TG is not a tcode in CRM nor ECC. I am not able to get any clue on this item CRM_MKTCA_UIU_SEG_TG.
    So i tried to bypass this error message at search help, by directly assigning the target group in the webshop admin.
    But by doing so we when we try to login to the Webhsop, we get an error "An error occured while webshop was loaded, The target group does not exist or is inactive "
    So then we remove the Target group from the webshop admin, and then we are able to login to the webshop. But in all this we are not able to use our target group inside our webshop.
    We are not getting any clue to this problem. Please advice how can we use target groups inside the webshop in the R3/CRM scenario. Thanks for your help in advance.
    rgrds,
    Randhir Soni

    Hi Easwar,
    thanks for your prompr response.
    We were able to get rid of the first error by getting the required authorizations to our role.
    But now when we have assigned the target group in the marketing tab of the catalog in the webshop admin.
    Then when we login to the webshop and when we select that catalog for opening, i throws two errors
    " An erro occured the while shop <catalog name> was loaded "  ,
    " The target group does not exist or is inactive "
    This target group is active in CRM backend. We cross checked this in the Segment Builder. There we selected the target group and when we did "Open Traget Group" , we are able to see the members within target group and we are able to do a "Count" on this target group. Also we are able to create product association rules using this target group. This shows that our target group is Active. So we are confused with the error message.
    When we remove this target group from webshop admin, then we are able to open the catalog in the webshop.
    Are we missing something regarding the activation of Target groups ? Are there any other settings which we are missing ?
    rgrds,
    Randhir
    Edited by: Randhir Soni on Apr 14, 2010 2:57 PM

  • Using custom fields to create Target Groups?

    Hi Experts,
    I might be missing something but I couldn't find anything in the different help guides, so if anyone saw that please help!
    Do you know if it is possible to edit the available fields to search/filter Contacts, Accounts etc. when trying to add them to a Target Group?
    We are currently not really using any Marketing-related features but this will be a focus for us in a few months so we are having a closer look at this area. There might be some other settings in the Admin/Project Scope etc. that I am missing and need to check and activate.
    We have some custom fields integrated with our on premise SAP CRM system which are heavily used by our marketing departments for extracting Contact lists, this is why we would like to see how we could reproduce this in C4C.
    Thanks a lot in advance,
    JB.

    Hi JB,
    You can go to => Marketing => Target Groups => Your Group => Members => Personalize => Start Personalization => Add => Add Contacts => here you can select the field you want to change/hide, you can also drag and drop a field to change its order on the screen => Personalize => End Personalization.
    Please find attached file with only a few changes that I did on that screen.
    Best Regards,
    Cristiano Rosa

  • Segment Builder: 'Business partner does not exist in target group'

    After having built a target group in the segment builder the following error message occurs: 'Business partner does not exist in target group'. What is meant by this error message and what has caused this error?

    Hi Mahesh,
    Are data sources based in infoset¿? If the are based in infoset u can do simple queries.
    I create infoset in t-code 'SQ02', once the infoset has been created u can go to 'Enviroment' --> Queries, and here u can created simple queries based in the infoset. With this tool u can check if this infoset has been created sucessfully.
    Hope it helps u.
    Regards,
    Mon

  • Clustering model ..target group creation ...error

    Hello All
    After i created a Clustered model successfully i went ahead to create a CRM target group and as the last step in the process I selected the Training source of my Clustering Model ,right clicked it and clicked Monitor
    The result shows that the CRM target group creation was incorrect.The following screeen shows the error screen.
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    Please advise.
    Thank you
    Aditya

    Hi naveen
    Thank you.How can I check the RFC setting for my CRM system?Has it got anything to do with this problem?I have just started learning SAP BW and CRM.Please suggest.As a matter of fact, this error occured in the BW system.The version of BW system is 3.1 Support Package 6.I could not figure out anything from the error description.Please look at this error screensot.
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    Thank you
    Regards
    Aditya

Maybe you are looking for