Creating the Target group

Hi ,
i would like to create the target group in segment builder.i got the list of business partners.how to create the target group using this list(excel sheet)
your help would be appreciated.
Thanks,
kenny

In CRM4, Segment Builder (CRMD_MKTSEG)
Create New Profile Set
Right click in main window area and select Create Target Group
Right click on New Target Group, select Properties
Click on the Load File and Create New Target Group tab
Follow directions there:
The file must contain a column with BP number or BP GUID.    
The file must be an ASCII file (e.g. *.txt or *.csv).        
The first line of the file must contain the column heading.  
The columns must be separted with ; or ,                     
The new target group receives inactive status.                                                                               
BP Column                                                                               
Action          1 Add Business Partner to Target

Similar Messages

  • How & Where to create the Target Groups and Transport Targets for Business

    Hi Experts,
               I am Transporting the scenarios from Development 500 client XI system to Development 500 client PI7.1 system. I have taken the exports of Technical system and Business System from the DEV XI system and correspondingly have imported the same in the PI7.1 system. I can see the all the business system in the Business system SLD of the PI7.1 system. I would like to assign the Business System Groups and Transport Targets for every business system that I want to transport. How can I do that ? Whether this is to be done in DEV XI system or the DEV PI system? Can somebody elaborate the step by step method to create the Groups and Target system for the every Business system so that I can import the object of the Integration Directory sucessfully................................
    Thanks & Regards
    suk4023
    Edited by: sukande on Aug 17, 2010 8:18 AM

    Hi Supriya,
               Thanks for the reply and good illustration............Still going further after defing the destination for transport in the source SLD Business system ( XI dev server) , then we should export it and subsequently import it in the SLD of the PI 7.1 ie the destination server.  Then we should transport the objects of Integration Repository and Integration Directory to the new PI7.1 server. Is this the right way to proceed.?  Hope that this will not give the error while importing the objects in Integration Directory. An typical which comes while importing the objects in the Integration Directory is as follows:-
    *Import failed because of business system transfer of object Communication Component | PCM: Obligatory transport target for business system PCM not found in System Landscape Directory*
    Pls clarify on this ......
    Thanks & Regards
    suk4023

  • Creating New Target Groups in Background - is this possible?

    We are currently working on CRM 4.0.
    We have created some custom infosets for criteria that we wish to segment our data by. However when we try and run this using the segment builder a time-out short dump occurs.
    Does anyone know of a way to create the target groups through the segment builder via a background process that means we could avoid the time out issue?.
    Many Thanks
    Caroline

    Hi Caroline,
    I am sorry. I wrongly wrote it as Segment builder. But, as you correctly said,.... we can send target group to channel in marketing planner only.... not segment builder.
    But, as you are saying that you have a problem in the segment builder when creating the target group........I guess when you right click on the profile set to build the target group, we also have an option,.... something like....."Build target group in background".
    I am not sure, as i am not infront of the system. But, please check for this ......
    Reward points if it helps....
    Thanks.
    Sindhu.

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

  • Need to change the targeting group of a Rule or monitor after a alert is created.

    Hi All,
    I have created many alerts and they are working fine. Currently due to business requirement we have installed Windows server 2012 operating systems in our production environment. But we have targeted the
    "Windows server 2008 r2 full operation system" group as per the below screen shot. As we now have to import the management pack for Windows server 2012 as well.
    What we have planned is to change the targeting group from "Windows server 2008 r2 full operation system"
    to "Windows server operating system group" so the alert / monitor or rule will target all windows server which has been discovered in SCOM rather that only the servers running Windows server 2008 r2.
    I was also not able to set overrides for this as that server was not coming under Windows server 2008 r2 full operation system as it was a Windows server 2012 agent.
    I can also go ahead and create new alerts but i have created custom of 1000 alerts and i cannot go ahead and re create them.
    Is there any way to change them. If yes Can i do a bulk change via powershell ?
    Below is the screenshot of what i really want. Can any on e please help.
    Gautam.75801

    You can't really change the target class of a monitor in a sealed vendor pack. If this is your own custom pack, then you can change the target class no problem, but this would need to be done on the unsealed XML (using VSAE or some other authoring tool).
    Then you can seal the pack and re-import (should be upgrade compatible, since you are just changing the target).
    I'm not familiar with this particular monitor in your screenshot, but it looks like this should probably target Exchange? If this is the case, then I would recommend targeting the closest typed class that the monitor should run against. In this case, some
    type of Exchange class that is already in the Exchange management pack.
    Otherwise, you can also create your own custom class for targeting, which I describe in detail on my blog.
    Here are all my sample VSAE fragments.
    Here is an example of
    using the Application Component base for your new class.
    Here is an example of
    using Local Application base for your new class.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • How to create/assigh Target Group while creating Marketing Plan in CRM 6.0

    Hi all,
    I am new to this field  and would like to know that how can we assign the Target Group ( business Partners ) in the Campaign while creating a Marketing plan.
    It will be really handy for me if I get the detail steps to execute.
    Regards,
    Zen

    Hi,
    perhaps this can help you:
    http://help.sap.com/saphelp_crm60/helpdata/en/32/ad6f422f91c153e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_crm60/helpdata/en/46/0abec5abb314dce10000000a155369/frameset.htm
    This describes step by step what you have to do to create a marketing plan / campaign.
    Regards,
    Claudia

  • Exclude partners when saving the target group

    Hi experts!!
    I have the following requirement: i need to automatically exlude some contacts (e.g. blocked contacts) when creating a target group.
    Is there any BADI or other exit which is called "on save" of the target group???
    Thank you in advance!!!

    Hi,
    you could also try to build up a Segmentation Basis containing all the partners that can potentially be included in your Target Group. But for low volume segmentation this can get very performance critical if the Segmentation Basis contains many partners.
    I don't believe there is a possibility to directly exclude them when generating the Target Group
    Best Regards
    Klaus

  • TCODE / Menupath for creating a target group

    Hi All,
    What is the transaction code/menupath to create a target group of business partners?
    How to create a target group of the selected business partners using that tcode/menupath?
    Please let me know.
    Thanks in advance.
    --R D

    Hi RD,
    Transaction code:CRMD_MKTSEG
    Menu Path: SAP Menu->marketing>segementation->marketingsegments--->segment bulider
    SAP Help link: <b>http://help.sap.com/saphelp_crm40sr1/helpdata/en/db/58963eac416f01e10000000a114084/frameset.htm</b>
    Regards,
    Arjun
    <b>Don't Forget Rewards points if it helps</b>
    Message was edited by:
            Arjun Pawar

  • How to define the "target group" in STMS?

    Experts:
    We have a ECC  landscapes with many clients on DEV and QAS.
    The previous basis admin created 2 target groups at STMS.
    The first TARGET  GROUP  has  both DEV and QAS clients as the target systems in its definition.
    The second TARGET GROUP  has only the QAS clients as the target systems--so many QAS clients show up in both Target  GROUPS.
    Could you help explain why we need the second TARGET GROUP  since all target systems in the second TARGET  GROUP already  show up in the first TARGET GROUP.
    Thanks a lot!

    The second TARGET GROUP that has only the QAS clients can be used where a transport only needs to be send to QA systems/clients and not to Dev clients.
    An example would be client independent objects, you don't need to move them to rest of the Dev clients but need to be moved to QA.
    Hope this helps
    Thanks,
    Naveed

  • Error while creating the product group by MC84

    Hello Friends,
    I am creating the product group by MC84, and in product group field i have given the product group name i.e P2345, and its description i.e product group for waluj, plant i.e cw01 and Base unit i.e KG.Now when i press enter system is throwing the error"The field is defined as the required field;it doesnot contain an entry."Message no.MG144.And with this error system is placing the cursor on product group field.As i have already given product group name than also system is throwing the error.
    Though i know the alternative method to create product group by MMO1 and selecting the material type PROD, then also i want to know why system is throwing the error while creating the product group by MC84.
       Please guide.

    Dear,
    This message says that you have not entered a mandatory field.Enter proper values for all mandatory fields and then you will not get this error.
    Try to create the product group as material of material type"PROD"
    Then you go on adding the memebers in SOP Transaction.
    In some of the versions of SAP it is the problem.
    I have also faced this problem in some versions.
    Regards,
    R.Brahmankar

  • How to enable the target Group option "Dispaly target Group"  in WebUI

    hello All,
    I am Working on Market Role in CRM 7.0 here when we search for the segment from the Marketing Work center and select any one segment from the search i.e profile set .After that when we click on the graphical Modeler button  on the top . That takes to a view where in we can see icons with target group on the right top in the view when we right click on the icon we get options eg: count,export to file etc here we dont have an option call "Display Target Group" but this option is avaiable in the GUI . How can we get this option on to the webUI can any one help me out in this regards.
    Thanks in advace.
    Regards,
    Kiran Posanapalli.

    I don't think you can get a button like this. You are not supposed to view the content of the target group from within the graphical modeler. You have to see this from the traditional CRM WebClient user interface. There you will see the members of the target group when clicking on the target group name.
    From the graphical modeler the only thing you can do is to right click the target group and export it to a file.

  • Error message:FRM-12001: Cannot Create the record group(check your query)

    Requirement: Need to get employee name and number in the LOV in search criteria.
    So I created LOV "full_name" and Record group Query under Employee Name property palette with
    select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number
    from apps.per_all_people_f papf, apps.per_person_types ppt
    where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
    AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
    order by papf.full_name
    I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
    I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
    But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
    Can any one of you help me.

    First, Magoo wrote:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
    p_last_name || ', ' || p_first_name ||
    decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
    from dual ) loop
    return ( l_rec.full_name );
    end loop;
    end;</font></pre>
    Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
    ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    Return ( Ltrim( Rtrim ( p_title
    ||' ' ||p_last_name
    ||', '||p_first_name
    ||' ' ||p_middle_names )));
    end;</font></pre>
    And second:
    user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number </font></pre>
    to this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
    ||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
    papf.employee_number</font></pre>
    it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name.

  • FRM-12001:  Cannot create the record group (check your query).

    I WANT TO ADD A RECORD GROUP IN PRI BUILD FORM THE QUARY IS VERY SIMPLE LIKE
    SELECT item_code
    FROM items
    WHERE active = 'Y'
    AND item_code like 'FAJ%'
    BUT THE SYSTEM SHOW THE ERROR MESSAGE
    Cannot create the record group (check your query).

    Make sure the user connected to the database from the forms builder has the privilege of select from the table, or there's a synonym.
    Try your query from SQL*Plus connected with the same user.
    Tony

  • How to create a target group with all prospects?

    Hi guys,
    I am wondering how do I have to set up my data source when I would like to build a target group in my segment builder which includes all persons/contacts/organizations with the bp role prospect?
    Which infoset do I need to choose in my data source? What do I need to fill under details?
    Thanks a lot for your help.
    Best regards,
    Janine

    Hi Janine,
    What I could understand is that you require to create target group of all BPs having BP role as prospects.
    To do so, you can create an infoset joning tables BUT000 and BUT100. The table BUT100 , has a field "BP Role"->select it, so that it is available when you are creating the attribute list using this infoset.
    Create a data soucre for this infoset. Then when creating a attribute list, include this datasource and under this select the attribute "BP Role". Add filter to this attribute for prospects.
    This filter can be used in segmentation builder in UI to create TG containing BPs having BP role as prospect.
    Hopes this helps you.
    Thanks,
    Apoorv

  • ABAP CLASSES - XI don't create the Target File..

    Hallo,
    I have a problema in XI when I use an ABAP Class.
    This is My FLOW:
    1) R/3 SEND an IDOC DEBMAS to XI un idoc DEBMAS(Customer data)
    2) XI have this Interface Mapping: Interface_Mapping_Anagrafica_Cliente.
    It si composed on:
    - Input: IDOC (DEBMAS)
    - 1° Mapping      ==> named: Message_Mapping_Anagrafica_Cliente
       This mapping, from IDOC DEBMAS, create the message type Message_Type_Anagrafica_Cliente.
    - 2° Mapping      ==> Classe ABAP
       This mapping, from Message_Type_Anagrafica_Cliente create the message type Message_Type_Click.
    - Output: Message_Type_Click
    3) I want that this Message_Type_Click will be in the file.
    But, if I execute the transaction SXMB_MONI in XI, I can see the IDOC OK .. but if I make double click on it, I don't see the Payload for the target file. Infact the target file is not be created by XI...
    I have made debug after my class and I found a Problem in the Trace with type E with message: CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV.
    What is this?
    Can you help me?
    Thanks.
    Monia

    Hi Monia,
    first put your trace to 3: SXMB_ADM, Integration Engine Configuaration, Specific Configuration, Runtime/Trace Level
    Second delete your abap mapping from your interface mapping and look in the monitoring for the output. Is it what you expect? Is it the datatype the abap mapping can work with?
    Copy the result as source for the next test. Now you put the ABAP mapping inside and delete the message mapping from your interface mapping. Test with transaction SXI_MAPPING_TEST. Look to the weblog <a href="/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping ABAP Mapping</a> how to test an ABAP mapping.
    The problem with more than one mapping program in one interface mapping is that you see only the result of both!
    Regards,
    Udo

Maybe you are looking for

  • Total count of open invoices

    Hi, I want to get the total count of open invoices and paid invoices and total amount for a give list of vendors between a date range. Could anyone tell me what tables I should use to get the data? Thanks

  • Acrobat 9 Standard and Forms

    Hello everyone, First time caller, long time listener. I have a small problem regarding forms in Acrobat. I. have created a PDF from an old word file, with some tables where you can fill out your name. 2. In Acrobat, I open the newly created PDF file

  • How to get job

    Hi all, I am intermediate to this J2EE domain,I am in this technology and having more than 1 year exp.I know jsp,servlet,beans,Oracle.But as for my experiene concerned ,i want to improve my skills in J2EE (EJB,JMS...and knowledge of Application serve

  • Installing Oracle 11g R 2 on Oracle Enterprise Linux 5.0 32 bit

    Hello All, I am installing the oracle 11g on Oracle Enterprise Linux 5.0 32 bit, when i modified the bash_profile. i am facing the below error: Please can you help to solve the issue the error i am facing while trying to switch to oracle user (su - o

  • Publication successful but gices error in logs

    Hi, I ma try to publish my site from one server to another server. it show success on UI and works fine on destination system but in log it gives me some error saying "Failed to acquire ticket". Here are the logs:- I am trying to publish my site from