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

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.

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

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • 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

  • 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

  • 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

  • API for creating item catalog group

    Hello,
    Does anyone know which API's are used for creating the following Inventory objects:
    1. catalog group
    2. descriptive element
    3. descriptive element value
    4. manufacturer part number for master item
    Thanks
    Simon

    If there are no APIs listed at http://irep.oracle.com, then there are none publicly available. There may be internal/private ones - you will have to peruse thru all of the API code in the database to see if there are any - if you find any and plan to use them, Oracle will typically not help in troubleshotting issues you may run into. You could also open an SR asking if there are any APIs available for use.
    HTH
    Srini

  • Determination Criteria for Questionnaires with Target Group howto transport

    Hi Experts,
    if I do the Determination Customizing for my Surveys in the Development System I don´t have the Target Groups I am having in Quality or Productive System. As the Determination is Customizing in SPRO, I wouldnt want to change the Target Groups in P System.
    How do you handle/ transport this? Do I have to have the same Target Groups in all Systems (with same name)?
    Thanks,
    Cem

    Hi Lorena,
    The criteria that you have in Criteria Set might not be matching what you enter without the criteria set. You might want to recheck that. And as far as I remember, you can't setup questionnaire determination for campaigns.
    Regards,
    Shiromani

  • 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

  • Report Painter for Creating Report in Group currency

    Dear all,
    I have created a report using report painter.  I but currently the figures are in Local currency.  May I ask how can I convert these figures into Group currency? 
    Thanks.

    Hi,
    In the characteristics you have defined if you double click you can see on top BASIC KEY FIGURE select Group Currency and the same shall happen.
    Revert for further help
    Regards,
    Rahul

  • Criterion for Date to Creat Target Group

    hi Guru's
    Need a help on creating and executing birthday campaign.
    We are using CRM 5.0 and would like to create a target group for birthday campaign, selected BirthDay from attribute lists from the DataSource field "CRMT_MKTTG_IS_BIRTHDATE-BIRTHDT" and when i am trying to filter the date, i am confused what criterion i should select.
    Can some advice or explain me how the birthday date criterion works.
    Can any one kindly get back to me, full points will be allocated for quick reply with solution
    thank you
    regards
    shankar

    hi there
    yeah you can do what is suggested in abobe post
    besides
    try having month as filter first,like say may is the month
    now put date as 6,like all those having date of birth as 6 may irrespect of the year will get filtered out
    likewise there are many ways to do this
    best regards
    ashish

  • Can't create target group in graphical modeler

    Hi,
    I have a problem with the target group creation.
    To create the target group I have done the following steps:
    1. Go to Marketing -> segment;
    2. Create Profile Set; save.
    3. Go to Graphical Modeler;
    4. Drag&Drop the attributes to the work area;
    5. Select Count;
    6. Select Build target group -> In Dialog;
    7. Save target group;
    8. Select u201CBacku201D to go to the Profile Set;
    The system doesnu2019t do any error, but when I go to the profile set, in the block Target Groups doesnu2019t appear the target group that I have created.
    If i go to the CRMD_MKTTG_TG_T CRM table, my target group is not create.
    Can anyone help me, please.
    Regards,
    Brahmaji

    HI
        in gui u have to create target group in tcode crmd_mktseg  create profile  create target group and copy attribute list of existingif needed create filters  and go for web ui create profile set and go for graphical modler and take ur attribute list and drag and drop u can split or rejoin merge target groups i think it is use full
                                                                                    abhinav

  • Creating Target group

    HI all,
    I am trying to create the target group in Segment builder, for which I have done the following settings
    1)I have maintained Attributes and attribute set,
    2)i have assigned attribute set to Business partner.
    3)I also have created Data source here i have maintained
    Origin type as attribute set
    maintained name of attribute set
    function module used Cross-selling: function module CRM_MKTPR_PP_CS_TG_READ,and description.
    4)Created attribute list as follows
    Description_______
    Category:Product proposal
    Segment type:Product Proposal and saved.
    Then assigned data source and highleted what ever attributes required to display in Segment builder.
    The issue here is:
    When i go to Segment builder(crmd_mktseg):
    in Segment builder when i tried to create profile set for product proposal the system is asking for Profile set description and Master group.
    and i am unable to drag and drop profile set onto staging area and create target group.
    can u/any one advice me in this regard/
    Thanks in advance.
    mdv.

    Hi mdv,
    For the purpose of creating your target group, the name of the profile set is of no importance. CRM just requires that you do create the target group within a profile set. That being said, when you create a profile set and system asks you for profile set description and master group, just put any words in the description field that is meaningful to you, and don't select anything in the master group.
    Once this is done, you will need to drag and drop your 'filter' that you created for your attribute list into the staging area. Then, one very important step (which I missed in the beginning and it took me 8 hours to figure out) is that you need to click on the 'Count' button. Once you see a number on the target group, it means the filter is working. From there you can create your target group and open it for list export.
    Hope this helps.
    Leon

  • 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

Maybe you are looking for

  • I cannot open app store and safari

    I need help with my imac, i cannot open app store or safari, there is no software update option when i click on the apple. I recently upgraded to Yosemite. I also did clean my imac. What shall i do? thanx.

  • JTextField character limit?

    is there any way to limit the number of characters that can be insered in a JTexrField?

  • My mac computer keeps freezing

    Hi, My Dad is having trouble with our Mac computer. When he goes onto a website the computer stops working and it doesn't open the webpage or links within the webpage. All other computers in the house are working, so is there any particular reason fo

  • How to undelete the data, deleted after revert to single disc

    There was just one drive in the media hub nmh405, so i have pressed revert to single disc without back up data before and  lost all data! Is there some options to restore the data?

  • Dashboard Widgets Gone

    I have been using Dashboard on occasion and I have about 8-10 widgets set up (world time, weather, CBS news, etc.). All of a sudden yesterday, I went into Dashboard and all widgets were gone. I tried adding everything back, but whenever I tried to ex