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

Similar Messages

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

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

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

  • How to print multiple mail forms in a single run?

    How can multiple, personalized letters be printed out from SAP CRM 7.0?
    Business requirement:
    When for example entrance tickets for a trade fair are sent to a group
    of customers, the accompanying letters are to be printed out of the CRM
    system.
    In SAP CRM 5.0 this was done by creating a marketing campaign, linking
    a target group & assigning a mail form to it.
    By selecting the communication medium "Printer" it was possible to
    print multiple letters in one run and send these documents by mail (not e-mail).
    The quantities of letters that have to be sent are too small to
    outsource the job to an external service provider (e.g. a printing house).
    In the latest version of SAP CRM the communication medium "Printer" is
    however no longer available in marketing campaigns.
    Does anyone know how this requirement can be met in SAP CRM 7.0?
    Thanks in advance for your reply,

    Thanks for your reaction.
    We considered working this way, but the idea was dropped because the quantities of letters that have to be sent are too large (several hundreds) & also because no follow-up of these activities is needed.

  • 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

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

  • 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

  • Enhance output of Target Group in segment builder

    Hello Experts,
    We are implementing SAP CRM Lean Marketing using CRM 7.0. Our business requirement is to do segmentation based on Company attributes and Relationship Category. The output of the target group should enlist the persons related to the Company based on the relationship category selected while doing the segmentation.
    Using standard InfoSet CORM_MKTTG_BP_ORG_CDE and while creating data source selecting BUT000_PER-PARTNER_GUID in the field business partner, we are able to get the list of persons matching the segmentation query (based on the relationship category e.g. Has Supplier, Has Contact Person, etc) . But the issue is , the output of the target group (shown as an ALV grid , when the target group is opened in segment builder) only enlists matching Persons, it does not enlist the related company ID /name in front of the Person ID in the output of the target group. And this Company BP ID is not available if I try to modify the output layout. So business is unable to understand the Person enlisted in TG belongs to which Company. Can we enhance this ALV grid output of the target group displayed in segment builder ? if yes , how can it be achieved ? If this is possible and we are able to add related company BP ID/ name in front of every person enlisted in the target group then our issue gets resolved. Or is there any alternative solution to resolve this issue ?
    Highly appreciate your early response in order to resolve this critical issue.
    Thanks and Regards
    Ambar
    Edited by: AMBAR ADHAV on Sep 10, 2011 11:53 AM
    Edited by: AMBAR ADHAV on Sep 10, 2011 2:22 PM

    Hello Experts,
    We tried implementing BADI CRM_MKTTG_SEG_MEM_EX in order to add Company ID/ Name , but the issue is the BADI gets Input as persons BP id, nothing else, due to this if a person is having relationships with multiple companies, the BADI is unable to identify which company to choose as Relationship Category is not available to the BADI. And further issue is if a Person is having same relationship category with 2 companies e.g. Supplier for company A and for Company B too , in this case too the BADI is unable identify correct Company to return to the target group output
    Is there someting in the Infoset that can resolve our issue ? How can I make available the fields in the infoset to the ALV output of the target group. Using SQ02 I am able to add fields to the field groups for selection in segmentation, but can anyone guide, how to make the field available in the output list ?
    Please provide your technical assistance
    Thanks
    Ambar

  • Multi line values in mail forms to send emails

    Hi All,
    Ours is CRM 2007 application, as part of new capability adding to the system, we need to send email to customer with few details once service tickets saved in the system. we decided to use mail forms to create the template and send email to the customer with details. as part of this we need to send multi line values as well in the mail form - email as shown below. example field here is for working hours of the customer office.
    Saturday - Sunday 10am - 4pm
    Saturday - Sunday 10am - 4pm
    (excluding public holidays)
    Can some body tell me how to send the multiline values using mail forms - emails to customers. right now we receive the last line. I dont see any help in mail form documetation as well on this.
    I appreciate any help in this if you already have some solution.
    Regards,
    Srinivas

    Hi,
    Are you using below any FM to send mail ?
    1. CRM_IM_EMAIL_CREATE_SEND_40 2. CRM_IM_EMAIL_CREATE_SEND_51
    if so, then inside this FM there will be call to BADI CRM_IM_ADD_DATA_BADI . This badi will get the data for custom/additional attribute values. Basically it will get one value ( last value ).
    What u might need to do is after this badi call u need to loop ur values and set it . For doing that u might need to make this FM tocustomer name space or look for implicit enhancements.
    We have done similarly for sending mail duringcampaign execution. That was done in different place.
    hope it might help you to analyse more.
    Regards
    Sandeep

  • To create varaibles in Mail Forms for Order Confirmation

    Hi All,
    I am having an requirement to send an email for order confirmation with some customer dependent data and some product data to be sent along in the mail, This has to be done through action.
    I want to use mail forms for this but in this I am not able to create variables in the mail form through which i can pass th value to the variables in the mail form.
    Please suggest what to do for variable creation in mail form.........
    Is there any standard oder confirmation template available as it is available for campaign??????
    Thanks and Reagrds
    Mayank

    Hi Mayank,
    I am not sure but u can try below standard smartforms :
    CRM_SERVICE_CONF_EXT
    CRM_ORDER_SERVICE
    Regards,
    Dipesh.

  • Target Group creation & Segmentation

    Hi Friends,
    Can you tell me the use of the toggle buttons OR/AND WITHIN AN ATTRIBUTE / OR/AND ACROSS ALL ATTRIBUTES below the Attribute Lists in the Segment Builder.
    I my Project there is a requirement where the Client wants to use OR & AND CONDITIONS while creating a Target Group.
    Thank you,
    Rajendran S

    Hi Rajendra,
    When you have more than one filter to create a target group then use these toggle buttons to set AND / OR conditions between filters of different attributes or different filters of same attribute.
    OR/AND WITHIN AN ATTRIBUTE :
    If you have two filters with in same attribute, select two filters and while drag and drop the condition you see in toggle button will be set between two filters.
    Ex: If Toogle button is set to : OR WITHIN AN ATTRIBUTE
          Attribute : City
          filter1:  Havana
          Filter2: Atlanta
    select two filters and drag and drop to the work area, then an OR condition will be set between two filters
    If Toogle button is set to : AND WITHIN AN ATTRIBUTE
    Then the condition between two filters will be AND.
    Similar functionality with other toggle button OR/AND ACROSS ALL ATTRIBUTES.
    Thanks,
    Priyanka

  • Error assigning Target Group to Campaign Element

    Hi
    I have created a Target group for a Campaign. I have saved and exported target group to channel and started the Campaign. But it shows error message saying No Target Groups are assigned to Campaign Element..
    Why is it showing error even after assigning members for the target group and exporting the TG to Channel. I have updated the status from created to released, approved before Starting the campaign.
    Please help.
    Thx.

    Hi Kalees
    Do you have a campaign element in your campaign? If so assign the target group to the campaign element in the segments assignment block.
    Cheers
    Declan

Maybe you are looking for