Target Group - Export to File

Hi all,
I am having some difficulties exporting target group details to a file. The standard bit of functionallity allows you to export the file to the application server, which isnt really a very user friendly option.
What i was wondering is...
1. Is there was a way to save it locally?
2. Can you change the format of the file from a .dat to a spreadsheet?
3. Configure the type of data that is displayed in this file?
Points for any help!
Kind regards,
David

Hi,
if you open the target group itself (not via grapical modelling of the profile group), you see a table of the items of the target group.
Here you can export the table to excel (like any table in the UI).
Regards,
Claudia

Similar Messages

  • Authorization Error while exporting a target group to local file

    Dear All,
    When we tried to export a created target group to local file, system gave an error message: "Authorization required. See SAP Note: 697572".
    In this note, it tells that we should add certain authorization entries into the Java policy file under: \lib\security. It mentioned:
    Authorization              Target name       Action
    RuntimePermission                                modifyThread
    PropertyPermission        user.dir           read
    FilePermission            <<ALL FILES>>   read
    FilePermission            <<ALL FILES>>    write
    RuntimePermission                                  shutdownHooks
    And what we put into the policy file is as below:
         permission java.util.PropertyPermission "user.dir", "read";
         permission java.util.FilePermission "ALL FILES", "read";
         permission java.util.FilePermission "ALL FILES", "write";
         permission java.util.RuntimePermission "modifyThread";
         permission java.util.RuntimePermission "shutdownHooks";
    We are not sure about whether we should put  <<ALL FILES>> or ALL FILES, but tried both way and still didn't work.
    Could you please share your experience on this?
    Thanks!

    Tried again and it worked.

  • 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

  • Export target group by using mail form?

    Hi Gurus,
    we have a requirements to export the target group to a file but with the attributes we defined in Mailform. If I chose the export to a file then I need to enhance a BADI to define all these attributes again.
    Is it possible to export target group to a file by leverage the mail forms?
    We are working on CRM7.0
    Thanks,
    Wu

    Hi Hongfa,
    Export target group to file
    You use this function to export the business partner data for target group members to a file, so that you can process this data further at a later date, or simply for storage purposes.
    You can choose which business partner fields the export file will contain. You use the BAdI CRM_MKTTG_SEG_MEM_EX to define the fields you require.
    The name of the file you create is freely definable. The file name you specify is saved in the logical file path MARKETING_FILES, which you define in Customizing (see Prerequisites). The data is written to two files: a data file that contains the actual data, and a meta file that contains the description of the data (for example, field types and field descriptions). In the standard system, MARKETING_FILES refers to the DIR_GLOBAL directory (transaction AL11). There is no restriction on the number of business partners.
    Thanks & Regards,
    Srini

  • Target Group to file - u0093DATA FILEu0094 contents

    Hello
    When you export target group to a file, it gets stored in application server as Data file and Meta File.
    How can one see the contents of “DATA FILE”
    Thanks & Regards,
    Raju

    Hello Raju,
    it is not a good habit to ask the Question in multiple Threads and also contact via E-Mail. SDN is not OSS! We do this all for fun in our free time. Please have a look to my Answer in topic: Export Target group to file
    Regards
    Gregor

  • 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

  • Issues exporting file from Target group

    Hi Experts,
    Can someone let me know the process for exporting file from Target group, I am working on CRM 7.0 .
    or give me the SNOTE to implement the same.
    Thanks
    Leela

    Hi,
    for small Target Groups (i.e. Target Groups that can be displayed completely on the UI, < 10k members) you can export them via the export to spreadsheet button on the header of the Target Group item page (right side). Note that only the members that are shown in the table on the UI are exported. For bigger Target Groups, you can only export them to the application server. To do this, you will have to press the "Export to File" button on the header of the Target Group page. this will schedule a job which exports your Target Group to the application server. You can download it from there using report CRM_MKTTG_FEXP_SHOW_FILE.
    Hope this helps
    --klaus

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

  • 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

  • Export Target Group

    Hello,
    we want to export a file containing target group members using the
    function "Export to file" within a target group. (This should be without execution of a campaign - here we get the attachment created.)
    We did the customizing in Application Server System Administration Platform-Independent File Names Cross-Client Maintenance of File Names and Paths and set MARKETING_FILES to c:/temp/<FILENAME>.
    But no file is created.
    Thanks
    Bernd

    Hi Bernd,
    If you have defined physical path <P=DIR_GLOBAL>\<FILENAME> for the marketing files then you see file in AL11 in the dir DIR_GLOBAL.
    And if you want to export  file to local machine,two options are provided.
    1. Go to graphical modeler,and right click on the TG.Then you can see function File Export (Local).
    2. DIsplay list of Members of TG and click on export to Spreadsheet.
    But in both cases max. 9999 BPs can be exported to local machine.If you want to export more than this number then you have to export file to application server.
    Regards,
    Subash.

  • Export target group to Excel (CSV)

    Hello together,
    I have the following problem:
    When I export a target group to excel the field "house number" will be convert to a date format.
    Example: in CRM I have the house number 8-10. I open the excel file and in the field house number I have the entry 08.Oct.
    In the CSV-file the field entry is also wrong: 40459
    Can somebody help me?
    Thanks a lot.
    Matthias Buchheim
    Edited by: Matthias Buchheim on Jun 4, 2010 11:46 AM

    Hello together,
    I have the following problem:
    When I export a target group to excel the field "house number" will be convert to a date format.
    Example: in CRM I have the house number 8-10. I open the excel file and in the field house number I have the entry 08.Oct.
    In the CSV-file the field entry is also wrong: 40459
    Can somebody help me?
    Thanks a lot.
    Matthias Buchheim
    Edited by: Matthias Buchheim on Jun 4, 2010 11:46 AM

  • 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

  • Exporting Target Group to Spreadsheet only receive first 100 hits

    Hello
    I am having trouble getting the Target Group to display more than 100 hits.  My target will display the Current Size correctly but when I attempt to export that to a spreadsheet I only get 101 maximum.  If the target group is less than a 100 it will display all hits within the target group.
    Please assist.

    Thanks for posting the resolution.
    Regards,
    Anik Roy
    SAP Moderator

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

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

Maybe you are looking for

  • SSO portal to ITS service

    Hello Experts, I am trying to use SSO portal to  ITS service . I create a service DSU01 using transaction code and active it, it works normally in browser. the ITS is integrated in WAS640. when I create a IAC iview, I dont know IAC parameter, I'm pre

  • Is there anyway to change the size of the font in images in slideshow

    You seem to be able to change the size and style of the font in embedded Image Gallery, but is there a way to change the size of the font, that is displayed in the full screen slideshow mode? Small white font over black bars are very hard to read.

  • Ranges in screen layout

    Is it possible to have select options or ranges defined on the screen developed in module pool [ABAP program type (M)]. As if now, I only see a paramters option for any input/output element on the module pool screen. Can it be extended to act like se

  • Problem using the Lotus Notes Portlet with Domino DIIOP

    hi! the DIIOP service always gives a memory error when the session hits 60. I've read that in R5.0.10, the ORB_LISTEN_QLEN can be set. but I can't find that line in the notes.ini?! kindly advise. thx

  • Kindly help me out guys

    Can somebody tell me how to attach data to url of a jsf page for example String url="http://w-ngphc-0672.ng.ad.ep.corp.local:8080/Questionnaire/QuestionnaireConnector.jsp?ticket_id="+C.getTicket_id(); accesing this url uses value of C.getTicket_id()