Sending CRM target group to BW

Hello,
Could u pls tell me how to export a target group created in CRM to BW
Thanks & Regards,
Raju

Hello,
did you get the needed informations?
I have the same quetion, haw to get the target groups from CRM to BW.
Thanks,
Cornelia

Similar Messages

  • CRM Target Groups and Product Segments - BW and BPS settings

    Hi gurus,
    I have some questions regarding the CRM Target Groups and Product Segments as it relates to BW and BPS planning layouts.
    1. When a target group is created in CRM, is it supposed to also be create master data entry for the object 0TGGRP_ID in BW? If it is, what kind of settings need to be made to ensure that? When we create target groups in our CRM instance, we donu2019t see the master data being updated for the  0TGGRP_ID info object.
    2. Where exactly (in BW) is the relationship between the target group and the underlying customer/business partners  stored/updated? We have a requirement to use target groups for defining the trade promotions and still being able to explode and plan on (individual) customers in the embedded BPS Planning layout. I believe that we need to have target group and associated customer assignments stored somewhere (?) in BW and use BPS characteristic relationships to populate all the possible combinations for a target group ID being passed from CRM. Am I correct in my assumptions? Any ideas if SAP has already delivered something similar in the BPS business content for TPM? 
    3. We are planning to use product segments to define the trade promotions as well. I believe BW info object is 0CP_SEGMENT. Similar to what I mentioned in Question 1, I donu2019t see any master data being updated for 0CP_SEGMENT. Am I looking at a wrong BW object or missing some key settings?    
    4. Where is the relationship between a Product Segment and the associated products stored/updated in BW?  How do I create a trade promotion using a product segment and make the BPS planning layout populate individual products in the lead column?
    Thank you for your help

    Hi Anna,
    After reading your post, what i understand is that there is no existing relationship present in CRM system between the Org BP and the contact person BP.
    As per my Knowledge in order to create a Target group with Contact Persons you should have an active relationship persent in the CRM system bewteen the BP and the Contact person.Now as your sceanrio suggests that the Contact person's are present in the BW system but not in CRM, i would assume that the relationship also exsits in the BW . So if it does then your BW team should be able to help you in creating the necessary infocube with there analytical tools and you can then use there cube as the datasource and create the necessary Target Group with Contact persons.
    Comming to the second part of your question, your guess is absolutely right but to give you more detailed infomation , the BP ID is converted in a unique GUID and this is passed into the program to retrive the necessary information from the BP after the campaign is executed.
    Hope this helps!!
    Regards,
    Naveen

  • Send data from APD to CRM target groups

    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.

    Does someone have the manual CR900? the manual BW380 sais that there is the information I need, Is there a kind soul that can help me? I will thank it a lot.

  • Exporting CRM target groups to BW

    Hello
    Could you pls suggest ways to export  Taregt groups generated in CRM  to be exported to BW
    Thanks & Regards,
    Raju

    Hello,
    did you get the needed informations?
    I have the same quetion, haw to get the target groups from CRM to BW.
    Thanks,
    Cornelia

  • Target groups to file

    Hi!
    I am in the Segment Builder and using the function for sending target groups to file. This works fine, but the issue is that I want to have a layout that show fields, not only from standard tables, but also customized tables as well as field from BW. Is there any way to solve this?
    Another issue I have faced when sending the target group to file is that it does not send all business partners. Does anyone know a constraint as to how many fields you can export? The problem may also be that when you open a target group there may be a constraint as to how many business partners are showing.
    To information, I am working with CRM 3.1, but especially for the first question I am interested in the answer regardless version.
    Thank you,
    Camilla

    Hi Camilla,
    I had a similar problem because I want to print a mail out of CRM sorted by ZIP Code. I've opened a OSS Message on this topic and got this answer:
    The sorting is possible, unfortunately, there is no standard code, note available for this purpose. But there is a BADI which can be used for this purpose, the badi is CRM_MKTTG_SEG_MEMBER_EX.
    Here is the details of the BADI & the Interface, where the
    customer has to make the necessary changes.
    Interface : IF_EX_CRM_MKTTG_SEG_MEMBER_EX
    Method select_tg_member_details
    LOOP AT lt_tg_i INTO ls_tg_i.
    IF NOT ls_tg_i-bp_guid IS INITIAL.
    MOVE ls_tg_i-bp_guid TO ls_partner_guid-partner_guid.
    APPEND ls_partner_guid TO lt_partner_guid.
    ENDIF.
    ENDLOOP.
    Before this loop, you can sort the internal table lt_tg_i according to your qown requirements.
    Regards
    Gregor

  • 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

  • CRM target griup 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

    Thnak you ashwin..
    These were my steps
    1.Created a clustering model
    2.checked for inconsistencies and activated both the training model and training source
    3.Trained source online
    4.Viewed training source results-Value Distribution,Attribute data and Attribute charts and went ahead to create a target gruop
    5.Created target group
    6.Selected "immediate" and saved .
    7.Went back and selected my training source and rightclicked to monitor it
    8.The results were as shown in the figure below
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    It flags that as Incorrect target group creation.Please see the figure.
    What could be the problem here?
    Thank you
    Aditya

  • Expand existing Target Group

    Hi All,
    I need help on Target Group for CRM Data Target in BW APD. I did a simple Analysis Process in APD, and put CRM as my Data Target. I choose the CRM as the data target and select CRM Target Group. However, on the Target Group tab, I can create Profile Set and Target Group, and data is transferred to CRM correctly. My question is, if I want to choose the Change Existing Profile Set and Expand Existing Target Group from the menu, they are grayed out and I can not choose anything. It doen not make sense that I have to create new Target Group everytime I run the Analysis Process.
    I found the problem, the aleremote user must be defined as dialog instead of communications.
    Thanks,
    Ricky
    Message was edited by: Ricky Amirudin

    Hi Ravi,
    to change the title dynamically, you need to redefine the Methode:
    IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION in your main component overview.
    go through this code and modify as per your requirement.
    DATA lv_bp_number TYPE string.
       DATA: lr_cucobupa    TYPE REF TO cl_crmcmp_b_cucobupa_impl.
       TRY .
           lr_cucobupa ?= get_custom_controller( if_iccmp_global_controller_con=>cucobp ).
         CATCH cx_sy_move_cast_error.
           RETURN.
       ENDTRY.
       description = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_IC_APPL/IDENTIFY_CUSTOMER' ).
       IF lr_cucobupa->is_bp_search_done( ) EQ abap_true.
         lv_bp_number = lr_cucobupa->typed_context->customers->get_s_struct( attribute_path ='STRUCT.BP_NUMBER' component = 'BP_NUMBER') .
         IF lv_bp_number IS NOT INITIAL.
           CONCATENATE lv_bp_number ')' INTO lv_bp_number.
           CONCATENATE description '(ID:' lv_bp_number INTO description SEPARATED BY space.
         ENDIF.
       ENDIF.
    Thanks & Regards,
    Srinivas

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

  • Automatic Profile Set / Target Group Creation in SAP CRM

    Hi,
    Need some help on the listed process.
    Is there any procedure to create Profile Ser/Target group automatically based on certain criteria? We want to reduce the manual work of Profile/Target group creation for the users.
    We are currently using SAP CRM 5.0 and looking at options of creating Target Groups automatically based on infoset. The criteria used to model is below mentioned.
    - New Customers  & Head Office (They are the customer specific Z-fields in BP Master Data)
    - Relationship Data: Has contact person Relationship. This is based on the assignment of Contact person to the BP (i.e. Day when the Relationship assignment done to the respective BP Master Data --> under Relationship tab page.
    We are not using Attribute Set (that we assign to Marketing Attribute tab page of BP Master), for your information.
    Appreciate, if you could let us know whethe this is possible by Standard feature/ any work around on this.
    Kindly do the needful.
    Thanks,
    Rahul

    Hello Rahul,
    it is possible to create a target group from an external list as far as i am aware. Maybe have a look at
    http://help.sap.com/saphelp_crm50/helpdata/en/57/d7de42777c2978e10000000a155106/frameset.htm
    Regards
    Mark

  • How can we download target group from sap crm gui

    Hi Experts,
    Please let me know, how to download target group from the SAP CRM GUI . Information: TG having 75000 BPs and using sap crm 7.0
    Thanks in advance..!!
    thanks and regards
    Vinay

    Hi Vinay,
    You can consider below link if you have already not done.
    Export Target Group | SCN
    Also found below note/s which may not be appropriate for the version that you are working, still will give some hints on how to go about it especially when you have more BPs to be downloaded.
    490694 - Target group export from CRM Online to application server
    459913 - Target groups: Exporting BPs to application server
    Rgds
    Hari

  • XSLT transformation error when importing target group in CRM Survey cockpit

    Hi,
    I created a target group using the segment builder and exported that to a local file. Then when creating a survey using CRM survey cockpit (tcode: SURVEY) and trying to import the same target group from the local file; I get an error :
    "Error when applying a XSLT transformation"
    System Response
    Data transformation cannot be executed. Application functions that depend on the transformation cannot be executed
    I tried various file formats : RTF, TXT, XLS, HTML but still I get the same error. Export to XML option is neither available while exporting from segment builder nor while importing into Survey cockpit. The target group is not empty.
    Are there any settings to be maintained to resolve the error ?????
    Dhaval.

    Hi Suhel,
    Thanks for the response... as far as my understanding goes, the crm survey suite can be used for maintaining questoinnaires that are transaction specific. also the functionality of question tables and rows is not available in the survey suite but is available in the survey cockpit (tcode: SURVEY).
    However the same does not allow me to refer to the target groups created using the segment builder.... Is there a way I can use the target group created through the segment builder in the survey cockpit ????
    Dhaval.

  • How transfer target group from CRM to CDB

    Dear all,
    i created a new target group.
    I would it's transferred in CDB and I thought that the system would have done it automatically.
    It appears that there is any kind of error (the target group is also in active status) but the situation is that the target group isn't in the CDB table and i don't find any adapter object or kind of report in CRM.
    I'm working with CRM 4.0
    Can someone help me?
    Thanks in advanced!
    Best regards,
    Giuseppe

    Hi,
    target gruop should be transferred into CDB automatically
    when it is assign to the marketing campaign or promotion and
    MSA user has active subscription for Promotions & Campaigns.
    regards, Robert

  • 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

  • Creation target group in CRM from SAP BW by Bex.

    Hi,
    I  am using RSCRMBW_TG_GENERATE_BUPA ABAP report to generate target group in CRM from Bex Query . On exection target group is created  in CRM but no record (business partner ) is transferred across .  I have assigned role "SAP_BW_CAMPAIGN_MANAGEMENT" to my user ID  and i have SAP_ALL authorization in user ID.
    Thanks
    Romita

    Hi Nimia,
    Did you manage to resolve this, I am having the same problem. I am not getting any errors and the target group is created but there is no data in the target group.
    Thanks,
    Rue.

Maybe you are looking for