Storing transaction data in target group

Hi all,
I understand that a target group is basically a collection of business partners however I have a requirement to also store some attributes of a transaction within the target group in order to drive outbound communication.
Does anybody know if this is possible and if yes how is this done? I know that there is a target group in which objects (iobjects) are stored together with the business partner but can we define our own target group table(s) so that we can store our own details besides just the business partner?
Thanks,
John

Hi John,
sorry, but it is not possible to store additional data when selecting a Target Group for performance reasons. Maybe you could retrieve the information when executing the campaign?
Hope that helps
--klaus

Similar Messages

  • 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

  • Why APO transaction data is not stored in tables

    Hi All,
    Why APO transaction data is not stored in tables.
    can u explain me.
    Babu

    Good question Babu,
    There indeed are tables for master data in APO database whereas the transaction data (qty, amount, dates and document numbers) are stored in a denormalized data base called livecache. But the master data too is identified with GUID's.. a cryptic and unique number given to e.g. a location, prodcuct, t/lane, customer and documents. This is because of speed of access if e.g. an external system is to fetch an information from APO using a unique session ID, instead of making a sequential read in APO tables, it read the live cache by called the GUID's that the calling characterics of the event. If one or more ECC system or an external execution system is connected to APO and one of the system collapses and rebuild again or if a system is assigned to a new business system group etc.. then its likely that systems can be out of sync and its where the live cache syncs up the data with APO tables again. If you still want to see tables in human readable format.. there are views available e..g the tables for locations LOCID and table for products MATLOC would take only GUID as inputs but the view V_MATLOC will show you the materials and locations by the numbers you know.
    Hope I was able to explain. But yes the why part is still something of a mystery to me.. becasue with transparent tables it is easier to create local reports in APO and thats what probably SAP doesnt want. SAP can answer best as to what were the initial user and commercial considerations when developing APO
    Regards,
    Loknath

  • How to see target groups in Data Target in the APD

    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.

    Hello,
    I have seen  this problem in other systems and it was caused by a GUI bug. Can you please check that you have the latest GUI patch installed for your GUI  release.
    Best Regards,
    Des

  • Add business partner to target group - some data missing

    Hello,
    I created a target group. This target group includes data of person and the associated data of organization (for example: city, street, ...). Now I want add some other person. I have two opportunities when I have open the target group:
    1. In the table of the target group
    In the column "Business Partner ID" I can open the input help and search the person which I want add zu the target group
    2. In the view of the target group
    On the top there is a button "Import Business Parterns", there I can upload txt files with the bp-no. from the person.
    It works only the first possibility. There are all data of person and organization included.
    At the second possibility there are the data of person included, but it lacks the data of organization and I don't know why.
    Does anybody know, what's the problem? Is it standard or is it a bug?
    Thank you in advance.
    Best regards, Jasmin

    For information:
    When you want add business partner by file upload to the target group, in the SAP standard the target group can handle only one ID, either the account ID or th contact ID. So when I add some contact IDs by file upload to the target group then I miss the data of the account. So, I have to build up the same target group a second time.

  • Age group to make it time dependent display as per transaction date

    Hi All,
    I have a doubt in displaying a attribute as time dependent. Below is my scenario.
    I have a cube where am capturing the transaction data of the customer. Currently while the customer data loading using the customer number i do look up to the customer master data and findout the D.O.B and calculate the Age group(bucket) and punch it in the transactin cube itself. Note Age group is calculated based on the DOB and the transaction date. It was working fine.
    But issue raised today customer is registered and he is allowed to do some transactions immediately after that, and the personal details like DOB, address is captured latter. Hence all the transactions until his DOB is maintained in the source system is puched in cube w/o DOB.
    Hence i do not want to have it in the cube and want to have the age group to be fetched from attribute / some other mean. But in case if i make the agegroup as attribute of the customer it will show only the current age. But i need to show the agegroup as on the transactions date.
    For ex. today customer age is 25 and day after tmr his age changes to 26. And in this case if i execute the report for whole month under 25 i should get the transaction and under 26 age i should get the respective transaction.
    how should u achieve this. please help me out.
    Note: Having a virtual KF seems createing the performance issue because data volume pulling out is more in numbers.
    thanks in advance
    Prem

    Hi,
    In this scenario i think Virtual Key figure is inevitable.
    Hope that helps.
    Regards
    Mr Kapadia
    *Assigning points is the way to say thanks.**

  • 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

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

  • Creation of Target group.

    Hi All,
    I having one urgent requirement, we have maintained the Ztable for maintaning the information of Vehicles against Business partners.
    The Fields in the said Ztables are Vehicle type, vehicle Reg Number and BP number.
    I want to send the mails using target group to customer who is having Perticular vehicle type for that i have created Infoset using the Ztable, then i have created the data source for target group still i m not getting the desired result !!!!!!
    please anybody tell me that i  missing any of step for above requirement ???
    how to link up the BP to Ztables fields ???
    How to create the said Target group ???   
    Regards,
    Dipesh

    Hi,
    You can try this alternative solution:-
    Instead of maintaining vehicle type etc in Z table, please crate it as "attribute", and assign it to Business Partners.
    You can use CRMD_PROF_BP transaction to assign Attributes to Business partners.
    Based on the attributes , you can subsequently create the "target group".
    Regards,
    PD
    Pl. Reward points if it helps !!

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

  • Creation of Campaign Id and assign Target Group to it.

    Hi all,
    I am facing a problem in creating a Campaign Id. This is the first time i am working on CRM Marketing Campaign, and i dont know the process of creating a Campaign id for a Target Group created for BP's. Please do help me in providing me any program or link where i can find the sample programs for creation of campaign id, Campaign Element, Profile Set, Target Group, Assigning BP's to Target Group.. I am presently using the below mentioned function modules/BAPI's for creation of Profile Set, Target Group etc.,
    For Profile Set Creation:                                         BAPI_PROFILESET_CREATE
    For Target Group Creation:                                    BAPI_TARGETGROUP_CREATE
    For Assigning Target Group to Campaign:             MKTPL_TGGR_ASSIGN_CREATE
    for Campaign Element:                                            MKT_ELEMENT_CREATE
    Please provide me complete program to explain the above.
    Thanks in Advance,
    Nagesh Thanneeru.

    hi,
    Target group is a group of BP, like a BP list.  It's a kind of master data which can be used in business transaction.
    And profile set is a base of target group, just like Product Hierachy and Product category.  Each target group should belong to a profile set. So create the profile set, before you create target group.
    Campaign is a kind of Marketing element of CRM Marketing.  In campaign, it need the BP or BP group or Target Group as its campaign objectives. Just like Customer of Sales Order, Vendor of Purchase order.
    Campaign can be assigned several target groups or BP or BP groups in it.
    So if you want to create campaign and assign target group to it, the steps is:
    1.  create a profile set  by BAPI_PROFILESET_CREATE
    2. create target group by BAPI_TARGETGROUP_CREATE, in this calling, you will use the profile set created before.
    3. create campaign by MKT_ELEMENT_CREATE
    4. assign the target group to your campaign, by MKTPL_TGGR_ASSIGN_CREATEl, the target group comes from step 2, the campaign comes from step 3

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

  • Cannot transfer transactional data

    Hi Experts,
    I really need your help regarding this incident.
    I am having problems with the APO system. I cannot transfer the transactional datas from APO to R/3. However, I am able to successfully transfer the transactional data from R/3 to APO. When I had run /SAPAPO/CCR, it returns the error "No Active Integration Model". Isn't it that integration models are only configured in R/3? I think the integration models in R/3 are properly created coz I am able to transfer the transactional data from R/3 to APO.
    I would really very much appreciate your help.
    Thanks again.
    Sincerely yours,
    Ria

    Hi Ria,
    Suggest you to again review CIF setting and make sure right logical system is defined :
    CIF Settings in R/3 :
    Check ALE settings or activate ALE settings
    Define the logical system BD54
    Assign logical system to a client SCC4
    Set the RFC destination SM59
    Assign target system and queue type CFC1
    Maintain the SAP APO release NDV2
    Activate BTEs for SAP APO integration BF11
    User parameters for CIF CFC2
    CIF Settings in APO :
    Check ALE settings or activate ALE settings
    Define the logical system BD54
    Assign logical system to a client SCC4
    Set the RFC destination SM59
    Set up business system group
    Create BSG /SAPAPO/C1
    Assign logical systems to BSG /SAPAPO/C2
    Maintain distribution definitions /SAPAPO/CP1
    User parameters for CIF /SAPAPO/C4
    Make sure you have right setting in SAPAPO/C4
    Logging :Detail
    Debug : Debugging off
    Also check in SM58 for any error and SM59 for connect and check below thread
    APO with Variant Configuration - Characterisitcs based SNP
    Manish

  • 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

  • Load Transactional Data Current Year: 0PM_OM_OPA_1

    Hi Experts,
    We are doing load monitoring on dailiy basis, As we are doing some testing in the BW Development system, we are loading data into the cube 0PM_C01. we want to load the current year data (2007-2008). but whenever we are trying to load through the InfoPackage "Load Transactional Data Current Year: 0PM_OM_OPA_1" it doesn't delete previous load requests. It was initially configured with this option not selected. we recently changed it, but it still doesn't delete. The only difference we see between this load and others that do delete is that this one is executed from a process chain rather than an InfoPackage Group. What do we need to do to make it delete previous load requests?
    And moreover the data is updated in the data target with two infosources namely 0PM_OM_PA_1 and 0PM_OM_PA_2.
    Because you eliminated use of the four conditions, it deleted the delta initialization and delta update requests loaded from InfoSource 0PM_OM_OPA_2.  We don't want it to do that!!!  I'm not sure whether we had any test data in the cube that had been loaded from the flat file, but I imagine it would delete those as well.  I believe we need all four conditions checked,
    So please help me in this regard. points will be assigned.
    Regards
    sekhar

    Hi experts,
    Please help in this regard.
    we are loading the data from two insources to one data target. two insources are :
    0PM_OM_OPA_1 and 0PM_OM_OPA_2 , as they are loading the  current year data.
    we have scenario like this please give your valauble inputs.
    I am still perplexed by the "Overlapping" option.  Why doesn't the "Same or more comprehensive" option work?  The requests we want it to replace have identical Data Selection because they were loaded by the same InfoPackage.  The InfoPackage "Load Transactional Data Current Year: 0PU_IS_PS_2" (ZPAK_3RUTSXU2BWPBKELMBE0T6NS3U) uses the "Same or more comprehensive" option and it does delete previous requests.  What is different about 0PM_OM_OPA_1?
    points will be assigned for the speedy reply.
    thanks
    sekhar

Maybe you are looking for

  • BPM messages stuck In Process - never get sent

    Hi all, We have had a number of BPM processes running successfully in our XI 3.0 DEV SP17 system for weeks now but suddenly, none are now working. Our BPMs wait a specified amount of time before creating a bundled outbound message. In SXMB_MONI, the

  • Elements 8 will not open

    I am running Mac OS X Version 10.6.8.  I use Elemets 8.  Yesterday no problem using application.  Today, it will not open, just white window.  Have uninstalled, re-installed, same problem.  Adobe Customer support states they do not offer support for

  • HT204406 Why am I hearing ads on iTunes Radio?  I subscribe to iTunes Match.  Can Apple fix this?

    I've been hearing ads when listening to iTunes Radio on my laptop (Windows 7, iTunes 12.0.1.26).  I subscribe to iTunes Match. With one of the iTunes updates, the ads came back for some reason.  Is there an option that I'm missing to turn off the ads

  • How to use variant in Query broadcasting?

    Hi,gurus here,we need to distribute report based on query daily to users. We hope the required-entry variable of query can be filled according logic such as curren day,curren month,etc. automatically. In General Precaculation tab of Setting new setti

  • QuickEdit Lookup Column Sort

    Hello,  I have the following issue and i would like to understand why it has happened in my enviroment and the solution if its possible. About enviroment: Currently running SharePoint 2013 but it was upgraded from SharePoint 2010. Deployed in a 2 ser