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

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.

  • Create Target Group in CRM from BW Query in Bex analuzer using program.

    Hi ,
    I want to create Target Group in CRM from BW Query in Bex analuzer using ABAP program RSCRMBW_TG_GENERATE_BUPA .
    I did all the setting and enable the Release the OLE DB for OLAP.
    The Target group is created but the Data from the report(BW query )  is not populated in the target group.
    Please help me what i need to do?
    Thanks,
    Nimai

    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.

  • Creating Target group with Bi Query

    Hi,
    I am trying to create Target group with BI query, for that I created one query on real time info cube  with 0BPARTNER, 0BP_GUID  and selected all navigational attributes.  In the query info object properties u2013 Advance setting I selecting u201C Values from Master Data Tableu201D  & Access Type u201C Master Datau201D , In query Property u2013 selected u201C Allow External Access to Queryu201D
    In CRM while creating Data source I can see the In objects selected in   the query u2013 selected Business partner info object as 0BP_GUID ,In the attribute list I just selected one item Industry code against the above data source, while running the Segment Builder when I selected the industry code it gives me 0 business partner where as I am having 20 BP with that Industry code.
    I appreciate your help ASAP.
    Regards,
    Rajiv Jain

    Hi Rajiv
    I have the same issue with my BI Query. Hope you have resolved by now, if you have please do let me know.
    What we have done is, created a BI Query and used this query in in CRM datasource, then created some filters where i can see the objects in the query while creating filters in Attributes List. But when we use these filters to create Target group, its not resulting any results in the query, i mean not brining any values on segmentation area. This issue is only in Production as we have already tested in Test and passed without any problems. But in Production we have this issue, i m not sure why this is happening, i spoke to BW team regarding this and they are not sure eitherl. If you know could you please let me know
    Thank you in advance
    Regards
    shankar

  • 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

  • Best to load preloader from external file or place it directly into existing movie?

    Is it best to load the preloader from external file or place it directly into an already existing movie?

    there's no one answer for everyone.
    but for an inexperienced coder that's already completed their main project and is adding a preloader as an after-thought, it's usually easiest to create a stand-alone preloader.
    and even for experienced coder's, that's usually the easiest way to preceed.

  • Target group from filter criteria of an attribute list.

    I have created an Attribute list in the T-code CRMD_MKTDS and a filter criteria for this attribute list.
    Now, I would like to use this filter criteria to create a Target Group.
    So, is there any Function Module, standard Report program or methods of any standard class  to create a target group using this filter criteria ?
    How can I determine the BPs related to the filter criteria and assign them to a Target Group?

    Hi,
    You can use class 'CL_CRM_MKTTG_GENIL_TG'  or Function module ''CRM_MKTTG_TG_READ'
    to create Target group's from Profiles.
    Hope this helps.
    Regards,
    Anup

  • Dynamic Internal Table for reading data from external file

    Hello All,
    The task was to create a internal table with dynamic columns,
    Actually this is my first task in the WebAS 6.20, my program is based on input file provided by user with certain effort. this file can have different effort for a one yr to five year frame..
    I needed to read the raw data from file, based on months create a internal table to hold the data, after this i need to validate the data...
    I have browsed thru dynamic internal table topic, but couldn't find any dynamic appending structure, the dynamic structure would contains 12 month fileds.
    can any one help me in getting my task completed..
    Thanks
    Kumar

    Hi,
    I see that you posted the same question a couple of days ago at Dynamic Internal Table for reading data from external file Didn't Charles's response address your problem?
    Regards

  • BAPI to create Target groups

    Hi Gurus,
    The scenario is I will get a list of Business Partners as a file.The program should create a Target group and attach the list of partners to the created Target group.Is there a BAPI to create Target group?.Kindly let me know
    Points assured for helpful answers.

    Hi RAghu,
    please check if the following BAPI's fullfill your requirements:
    BAPI_TARGETGROUP_CREATE
    BAPI_TARGETGROUP_ADD_BP
    if you want to fill a target group with BPs the target group has to
    exists before.
    Moreover, it is unlikely, that BAPI_TARGETGROUP_CREATE is useful
    in your process (because it generates a TG for an existing
    profile group!
    Kind Regards´

  • Create target group for contacts does not work

    Hi Experts,
    I am working on a Markting solution for a University with CRM 5.0.
    We need to contact certain Teachers in Schools (they have an orientation function for pupils that might study in the University in the future).
    I can segment for schools in Segmentbuilder. Now, I need to generate "new target group from contact". In my case the contact person of the school is the Teacher (function type is contact person). This does not work.
    Am I missing some parametrization, or is there a relation to sales area (wich we do not have).
    Hoping for your help. I will regard points generously.
    cristina

    Hi Cristina,
    I understand Schools are crated as Org and Teacher as Persons. There exist a Relationship between these similar to Contact Person (BUR001).
    Now, Follow the process
    1) Create a Data Source in CRMD_MKTDS.
    2) Assign an Infoset Query, as per your scenario.
    3) Assign Function Module "CRM_MKTTG_PF_BP_TAB_TO_CP" to data source
    4) Save, and then create an Attribute List.
    Go to Segment Builder and create target group based on above Attribute List.
    You'll get a list of all the contact persons. For your case, Teachers.
    Hope this helps......
    Regards,
    Vikas
    PS: This will only work if Schools - Org, Teacher = Person and Relationship = BUR001. If you have other criterias please copy Function Module "CRM_MKTTG_PF_BP_TAB_TO_CP" and edit it as per your business case. Then assign this FM in Data Source.

  • How to create a Group from an existing email -

    I just want to create a Group from an existing email received.  Don't want to add people individually to Address Book, then drag them to the Group.  Would prefer to copy/paste the addresses into the Group.  I'm part of a team at work wth 25 people!  Do I really have to add their addresses individually?  Seems ridiculous.  Don't even need their names - just the emails, so when I type in "United," for example, I get all the folks in that Group which is named "United."
    Thanks.

    There was a "magical" set of Applescripts that would have done that, but it no longer works.
    There is no way in the OS to do that besides making the Applescript yourself using the current Script Editor.
    Another way to do what you want is to select all of the addresses (select one, then cmd-A). Then, drag the selection to somewhere in the Finder. That will create a text clipping. You can then drag that text clipping into the address field in Mail.
    The text clipping will be named with the first few email addresses. You can rename it in the Finder.
    Each one can be your own "distribution" list.

  • 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

  • Create multiple PDFs from multiple files

    Hi everyone
    I'm trying to use the "Create multiple PDFs from multiple files" function in Acrobat 9 Pro (version 9.4.6) to create about 100 PDFs from InDesign CS5 files. Theoretically this would do the trick for my purpose. BUT: When running the function, it does not use the CS5 InDesign (version 7.0.3), but tries to open the files with InDesign CS3. Of course this does not work. We, as a professional working agency, have installed CS3, CS4 and CS5. Even with making the InDesign CS3 .app invisible an pushing it into the garbage bin during the process did not work. Acrobat still wants to access InDesign CS3. It is not possible to downgrade the files to CS3 files, for there are special (i.e. interactive) functions which only work in CS5. It would be more work than creating the PDFs manually, anyways.
    Does anyone have similar issues? Any ideas how to solve the problem?
    Thanks in advance.
    Thinka

    OK, cool, I found one, which seems to work just fine.
    http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    found here:
    http://forums.adobe.com/message/3712434#3712434
    Thanks for the hint!

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • Getting error "Cannot create a BACPAC from a file that does not contain exported data." from SqlManagementClient.Dac.ImportAsync

    We're trying to import a dacpac to azure via the new SqlManagementClient DacOperations ImportAsync api I get an exception with the error: "Cannot create a BACPAC from a file that does not contain exported data."
    This same dacpac imports fine using an alternate but less friendly API from sql server's tooling. We'd like to use the new management SDK instead for various reasons.

    Hi Kyle A Wilt,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • New Song Won't Play

    I just bought a song on iTunes and while downloading it said it couldn't be downloaded for an unknown reason. I re-tried downloading it and it worked, but i can't play it or put it on my iPod. It shows up in My Music, I just can't play it. Any Sugges

  • Pulling all Purchase Order documents that where changed in last hour.

    What is the best method for pulling all purchase order documents that have changed in the last hour? We want to create this program and schedule it as a job that runs every hour. In the backend our server stores all documents in GMT Time while our us

  • RMAN-05520: database name mismatch

    Hi All, My DB Version :11.2.0 OS :Linux What i am doing is to try duplicating the database on the same machine using RMAN. But what happens when i am trying to run the below mentione command i am getting below error RMAN> duplicate target database to

  • Autocomplete does not work in CVI 9.0

    IDE does not show the auto complete member of the structure. The issue is very similar in the post described here. And then when I look at the bug fix for the post here it mentions that it is fixed in CVI 2009 which I believe is the same as CVI 9.0.

  • HT4863 Message placed in outbox- reached my sending limit?-How

    I have somehow reached an internal iCloud limit that has not been noted by Apple in the mail spec below: Limits on Sending Messages   iCloud has several safeguards to ensure that only iCloud members can send messages using the iCloud outgoing mail se