Table for Intersected Target Groups

Hi,
when intersecting two target groups one new target group is getting created. I am looking for the table that stores which target groups 1 and 2 were used to get the new target group 3.
Any help is highly appreciated.
Nicole Lange

Hi Nicole,
you will need the GUID of TG 3. Let's call it GUID3.
DATA model_tg_3 TYPE crmd_mkttg_model.
SELECT SINGLE * FROM crmd_mkttg_model
  INTO model_tg_3 
  WHERE object_guid = guid3
    AND reference   = space.
yields the position of TG 3 in the model.
  DATA edges_to_parent TYPE crmt_mkttg_step_db.
  SELECT * FROM crmd_mkttg_step
    INTO TABLE edges_to_parent
    WHERE to_node = model_tg_3-node
      AND to_step = model_tg_3-step.
yields the edges leading to the parents. Now you will have to read the parent nodes again from the node table:
  DATA parent_guids TYPE crmt_mkttg_guid_tab.
  IF edges_to_parent IS NOT INITIAL.
    SELECT object guid FROM crmd_mkttg_model
      INTO TABLE parent_guids
      FOR ALL ENTRIES IN edges_to_parent
      WHERE node = edges_to_parent-from_node
        AND step = edges_to_parent-from_step.
  ENDIF.
Now parent_guids should contain the GUIDs of TG1 and TG2 (at least in theory - haven't tested it, but that's the way you do it normally).
Hope that helps!
--klaus

Similar Messages

  • Pricing table for Material pricing Group

    Hi everyone
    I have a problem related to pricing. In ECC, if we create a condition table for material pricing group, assign it to the Access sequence PR00 and then download the customizing data to CRM, the access sequence appears in CRM but without this table.
    Could you please provide any clue to this??
    Also, I had created another table with the Material/Material Prc Grp, assigned it to another Z-Access sequence and assigned the access seq to a Condition type. Again I had downloaded the customizing and in this case, only the Condition type has arrived. Neither the access sequence nor the table has come.
    Could you please guide me as to what needs to be done??
    Please help!!
    Regards
    Debolina

    Hello,
    Please check your replication object e.g. DNL_CUST_CNDALL and see if you have filters defined there.
    You might have put filters which are preventing the download.
    Also, you have to define the new field mappings in CRM before you download the tables.
    V_CND_MAP_CNVFLD (transaction SM30).: This view contains the mapping between R/3 data structure (maintained in CND_MAPT_ACS_REM_CUST) to CRM data structure (Field Catalog).
    The relationship between R/3 field names and CRM field names must be defined in either  CND_MAPC_CNV_FLM or CND_MAPM_CNV_FLM
    Let me know if still issues.
    Koshal

  • Table for Commitment Item Groups

    Does smbd. know a table for Commitment Item Groups and probably a function module which reads a commitment item group from a commitment item ?
    Kind Regards
    Alexey

    You can use FM K_HIERARCHY_TABLES_READ with e_class = '0311'.
    Rob

  • " No entry in the conversion table for the syntax group" error

    Hi,
    Iu2019m getting an error in the port setup when I try to run an Access Test on the logical directory.
    Definition of path
    TFTS02\INTF\RD1\OUTB\MM\RFC WINDOWS NT missing
    Message no. SG024
    Diagnosis
    There is no entry in the conversion table for the syntax group WINDOWS NT and the logical path
    TFTS02\INTF\RD1\OUTB\MM\RFC.
    System Response
    The system cannot generate a platform-specific path.
    Procedure
    Make an entry for the syntax group WINDOWS NT and the logical Pfad
    TFTS02\INTF\RD1\OUTB\MM\RFC in the conversion table using the FILE transaction.
    Regards,
    Rajiv

    Hi
    the error is simple. The path
    TFTS02\INTF\RD1\OUTB\MM\RFC you are trying to access is not there so create the path in the FILE transaction.
    In file tcode goto NEW ENTRIES and give the path and also make sure that in AL11 the path and the filename you are trying to open exists.
    Thanks & Regards
    Jyo

  • How to get list of approved MSU for specified target group

    Hello guys,
    I have question about WSUS on windows server 2008 r2 sp1.
    I need to get list of approved MSU for specified target group only for windows server 2008 r2 sp1, but I don't know whole syntax.
    I can get list of approved updates for w2k8r2sp1:
    $Title_r2='R2'
    $Itanium='Itanium'
    $wsus.GetUpdates() | Select Title | Where {
       $_.Title -match $Title_r2 -and $_.Title -notmatch $Itanium -and $_.IsApproved -eq 'True'
    But how can I get it for specified target group?
    Please, help :)

    But how can I get it for specified target group?
    Is there some reason you're not just using the native console reporting to do this?
    Testing for 'R2' in the title will not guarantee getting all of the applicable updates, you need to query by Product Category to get all of them.
    From my quick research, it appears that GetUpdates() does not return target group information, just a flag state on whether the update has been approved, or not. I don't have a working PS WSUS instance available to me at the moment, but my guess would be
    that GetUpdateApprovals() (or something like it) is what you'll need to use to filter by Target Group.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • TAble for cost center group in 3.0 F transaction.

    hi, 
    i need to develop a report to extract cost center data from r/3 in 3.0 F version.
    can u guys help me that which table has got entries for cost center group.
    waiting for  your replies,
    Regards,
    Rachana

    hi  ,
    I have checked in csks, cska, cskb, and cssk as well, but i didnt find a field which holds the cost center group information ..please help me as this is a bit urgent ..
    Thanks in advance , 
    Regards,
    RaAchana

  • Table for Role & Authorization group

    Hi Gurus,
    I am looking for a table or FM to get all roles for Authorization group.
    I tried in SUIM tcode but could not able to find exact DB table for these.
    Giri
    P.S.: To Moderator:
           My earlier thread was locked for the same question, I was searching in SDN and google from last 3 days and could not able to find enough information on it. AGR_USERS, TBRG, TACT are the tables i found. But still there is a link missed between Role & Authorization Group.

    Thomas,
    My report have selection screen with Auth group and user.
    If user provides Auth. Group then need to find all roles linked to auth group and users assigned to that role.
    In my investigation, there is link between Auth. Group <--> Auth. object.
    Also Auth. Object <--> Role.
    but still there is a fine link missing between Auth Group <--> Role.
    For Eg: Auth Object S_TABU_DIS will be associated to all Auth. Groups but assigned to only limited roles.
    I tried to debug the SUIM transaction multiple times but couldn't find the tables to find the link and not able to find the FM's.
    if anybody have any idea to find that link between Auth. Group & Role then it will be helpful....
    Giri

  • Surveys for particular target Group

    Hi All,
    I am attempting to create a survey for a specific target group. To do this I am using the SURVEY transaction. In the SAP documentation after creating the survey  and Inserting a new question, it states to click on TRANSFER. This should allow me to enter question text. However the TRANSFER option is not available to me. Has anyone come across this before?
    I have created surveys using CRM_SURVEY_SUITE but can only attach these to transactions and not to specific target groups?
    Any ideas on how I could get around this.
    Thanks in advance,
    Mícheá

    Hi Nagarajan/Joseph
    Thanks for the replies.
    i got  this query which has been used when Quantity in GRPO > PO a approval template comes like the pic shown below
    "Select Distinct 'True' from POR1T0  Where $[$38.11.Number] > T0.Quantity and T0.docentry=$[$38.45.0]
    Like this when there is change in the PO quantity compared to GRPO this approval pops up
    .But quantity would come in row level rite ?.
    Please let me know how this query can be modified when comes to item group
    Thanks & Regards
    Darshan Desai

  • Fixed table for 2 repeating groups

    Hi,
    I have a template that has 2 group, both of which have to been within a fixed table.
    I've been successful in using one of the examples in the Forum to print only 15 lines per group and page break. But I also have a requirement to print 5 lines of another group at the footer level.
    Eg:
    G_Header
    G_Lines >>> 15 lines per page
    G_ACCT >>> 5 lines per page
    Does anybody have any ideas?
    Thanks
    Jo

    Hi,
    I have a table that will display the records in G_LINES and and using position() I can limit the # of lines displayed to say 25. I have a second table G_ACCT, I want to use the same logic and only display 5 lines.
    G_HEADERS
    ---G_LINES
    ---G_ACCT
    Both G_LINES and G_ACCT are at the same level and are children to G_HEADERS.
    The problem I'm having is that when I use lpp = 25 and lpp2 =5, G_LINES displays 25 lines on Pg1 with no problem, G_ACCT displays the first 5 (Pg 1), spills into the next page (Pg2) displaying the next 5, however, G_LINES does not display the next 25 until Page 3.
    Hope this helps.
    Thanks
    Jo

  • Table name for Internal order group and Profit center group

    Hello Friends,
    Could any one provide me the table for Internal order group and Profit center group.
    We are developing new customized report and user requested internal order group and Profit center group in the selection criteria.
    I have checked for this tables but found only these fields in structures.
    Thanks in advance,
    Ravi Kiran.

    Or use FM [G_SET_TREE_IMPORT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=g_set_tree_import] to read the hierarchy/Group. (Read FM and FG documentation, you can also add break-point and call some S_ALRxxx transaction which use this FM for the objects you need).
    Regards,
    Raymond

  • Personalization (Cross-Selling Rules for Target Group) in E-commerce

    Hi,
    Could any one suggest solution for the query...
    Scenario: Personalized Cross-Selling for Target Group in a Webshop (E-Commerce-B2B Occasional User Scenario). The Cross Selling is to
    appear only for Target Group, but the system is prompting the Cross Selling
    Rule for both Target Group aswell Global. The Config details are below
    mentioned.
    1. In Method Schema (11) we maintained Cross Selling Methods for Global as well
    as Target Group.
    (CRM_MKTPR_PP_CS_GL_READ & CRM_MKTPR_PP_CS_TG_READ).
    (I did remove Global Method for testing, but still it is appearing for Global
    Target Group)
    2. Created Cross Selling rules in CRM for Target Group Target Group & is
    Activated.
    3. Target Group Modeling done in Segment Builder.
    4. Target Group Assignment done in the webshop.
    5. Application Administration related tasks (clearing done).
    6. Product Catalog Updated Replication is done aswell.
    7. Simulation of Product Proposal is done using program
    "CRM_MKTPR_PRODUCT_PROPOSAL"
    Please suggest me if I miss anything to recommed Cross-Selling rules only to the Target Group.
    Thanks in Advance,
    D u r g a r a o

    Cartweaver
    http://www.cartweaver.com/
    Web Assist Power Store
    http://www.webassist.com/support/ecommerce-options.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Target Group for different Relationships

    Hi All,
    I would like to create the target group consisting of Buisness Partners(Level 2) having specific relationship with Identified Business Partners(Level 1).
    How should I acheive this?
    Do I need to create the target group for Business Partners(Level 1) and treat it as master group for creating target group for Business Partners(Level 2).
    Afterwords filters needs to be applied on the Buisness Partners(Level 2).
    Regards,
    Piyush

    I think help file is pretty clear. SAP provides one example with CP but they expect you to follow up the following (there is some programming involved):
    You have defined data sources that are capable of providing the business partner relationship information. In the case of InfoSets, this means that the InfoSet itself contains all the fields required to provide the partner function information.
    You need a conversion function for the data sources Business Intelligence Cube and Attribute Set. This function uses a function module to deliver the required information (for example, contact person for an organization). You need a separate function module for each relationship type. The standard delivery contains the following example function modules:
          CRM_MKTTG_PF_BP_TAB_TO_CP
          CRM_MKTTG_PF_BP_TAB_TO_CP_BW
          CRM_MKTTG_PF_FIND_CPS
    Cheers

  • Custom Attributes in Target Group Email Campaign Not Refreshed

    We have a campaign sending emails to a target group of BPs.  To fill our custom attributes with values  we have implemented our code in badi CRM_IM_ADD_DATA_BADI method CRM_IM_BPSELE.  We tested our code using the Test Send feature from the email form and all worked fine.
    But when we ran the campaign in the background for a Target Group with multiple BPs it would not work correctly, our attribute values were incorrect. 
    We discovered while debugging the job, that the badi gets run once for each BP, but the attribute values from the previous BP do NOT get refreshed.  In fact there are 2 entire sets of attribute records in the CT_ATT_VALUES table parameter.  Each time through it multiplies by another set of our attributes.
    I have put code in the badi as a workaround that deletes the previously filled attributes for the previous BP, but I'd like to figure out what is causing this problem.
    Any help would be appreciated.
    thanks,
    Lee

    Hi Lee,
    Is this issue resolved for you now??
    I am facing the similar problem.
    Though the BADi is not used for these two mails (it is used in some other mail forms), it is actually called in 'CRM_ERMS_MAIL_COMPOSE' Function Module and the process is same as u said. There are 2 sets of values.
    I am using a Mail Alert functionality where in a 'Mail Alert ON' is sent to field engineers (FE) and then upon FE accepting the work we will send a 'Mail Alert OFF' to FEs.
    Problem is, we get one or two fields data incorrectly sometimes. I am not able to find out the root cause yet.
    Please let me know if you have had any resolution to this!
    Thanks in advance.
    Chaitanya

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

  • 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

Maybe you are looking for

  • How do I stop Firefox from archiving conversations after I send a message to someone?

    When someone sends me an email and I reply, the conversation automatically goes to the archive. I can retrieve it by clicking on the 'undo archive' link, but I want it to stop archiving things in the first place. It seems to do it no matter who the c

  • [SOLVED]no sound on kernel 3.2.5-1 (alsa /how to patch conexant audio)

    Hello I'm not sure if I have to post this in Newbie Corner or Multimedia, if I'm false here please move the Topic. I installed arch yesterday so I'm new to it. My hardware is a Thinkpad Edge e325. Now to my issue, I cant get my speakers to work. I've

  • Why is a simple Java applet not diplaying properly in its window bounds?

    Hello, I am having difficulty displaying applets on the Mac. Here is one of the simplest applets copied exactly from the Sun java website. This applet runs fine on PCs, unfortunately, on my sister's Mac, it does not display properly. It looks like th

  • Black flickering, freezing, kernel panics

    Hi, I'm hoping someone can help me out.  My 2009 13" MBP seems to be having some issues and I can't fingure out what's going on. Every now and then, the lower half of the screen will flash black repeatedly.  This has happened in Safari in full screen

  • Applescript and ping

    Hi guys, I need to write an Applescript that allows me to do this: Ping google. If google answer ping mywebsite 1, otherwise display an error message. Then ping my website 2, if this answer launch safari and connect it, if doesn't answer display an e