Grouping by Combo Products.

Hello one and all,
I need some help in completing a query.
I have a Products table gives the list of combo-products available. The sample data would look like,
ComboCode Product Code Description
Shirt+Shoe T-Shirt T-Shirts and Shoes
Shirt+Shoe Shoes T-Shirts and Shoes
ShirtOnly T-Shirt Only T-Shirts
ShoeOnly Shoes Only Shoes
The Sales table has a record for each of the Products purchased. If a User U1 has purchased both T-Shirt and Shoes there would be 2 records in this table.
UserID ProductCode
U1 T-Shirt
U1 Shoes
U2 T-Shirt
My problem is I need to get the Users list by the combo products they have. Meaning which U1 will have a code of Shirt+Shoe since he has bought both T-Shirts and Shoes where as U2 will have a code of ShoeOnly. Also note that I should not include U1 in ShirtOnly as he has been counted in Shirt+Shoe
Looking forward to a response
Warm Regards,
Krishna Murthy

Show us your best attempt so far.
Also please reread what you wrote. Your description seems to conflict with your sample data.

Similar Messages

  • Item category group of a product

    hi experts..
    is thier any function module or table which will return item category group of a product..
    where my input is product guid or product id.
    thnks in advance
    sam

    hi mcg...
    thnks for ur reply ...
    but is not working ....
    it tryed in this way and i able to get item category
    Get the prodcut id(PRODUCT_GUID) for the product using table COMM_PRODUCT.
    call function module com_prodcat_api_get_settypes
    exporting 
            product_guid
    importing
         settypes
    then
    read settypes into workarea with key frgtype_id = 'CRMM_PR_BTR'.
    and from table crmm_pr_btr i selected item_cat_group where condition is
    frg_guid = workarea-frgtype_guid.
    and it is working
    thnks
    sam

  • Amending Purchasing Groups on a production client

    Our production client is set to 'not modifiable' within SCC4.
    Our customer wishes to directly maintain MRP Controllers and Purchasing Groups on the production client. Currently amendments are made on development
    system on a transport and transported through.
    It is possible to amend MRP Controllers on the production client using OMD0 despite client being 'not modifiable' .
    However unable to amend Purchasing Groups on production client using OME4 due to client being 'not modifiable' .
    Does anyone know how to get round this so that Purchasing Groups can be amended ?
    Note - System is MySAP2004 (ECC 5.0)
    Regards
    Phil.

    You have 2 options:
    1) Create a Z t-code and a program which directly updates the table T024 (Purchasing Group)
    2) Use 'Current Setting' option. See note 135028 on how to do this. This is the preferred option.
    Lakshman

  • Update Purchasing group directly in production system

    Hi,
    We keep getting purchasing group changes requests and we follow conventional approach, configure in development - move to Quality and then to Production.
    Since we have high number of requests, we are exploring the direct maintenance in Production system. Please advise on the best approach to this.
    thanks
    Mahesh

    there is an alternative missing.
    you can change a customizing activity to be a master data activity, and you do not need to have the PRODuction system open for customizing..
    this is explained in OSS Note 135028 - Transfer IMG activity to current setting
    However, I have made my experience in the past as I joined my current employer. In this system the purchasing groups were maintained in production system, which I did not know, and some key user did not know too, as they asked me to add a new purchasing group. I did this in the development system and transported to prouction.
    And it happened, that I added a purchasing group in developement that was already accopied in production, so the entry in production got overwritten with my transport. so for a couple of days 2 buyers worked with the same purchasing group, they did not even realize it, as nobody is really looking at a PO form if a system is live for many years. This caused some trouble with statistics and as well with communications between vendors and us.
    a second experience was made by the fact that people had deleted purchasing groups, after buyers had left the company. But SAP validates the existing of purchasing groups when archiving purchase orders. So I had to recreate all deleted  purchasing groups before I could continue with archving.
    I think that this experience is reason enough to not give this customizing activity into user hands.

  • FM returing Item Category Group for a Product GUID or ID

    Hello All,
    If any one know any Function module which returns Item Category Group for the particular product.
    I had tried it with the tables COMM_PRODUCT = > COMM_PR_FRG_REL => CRMM_PR_BTR but i wanted some standard function module.
    Thanks in advance.
    Regards,
    Santosh

    Hi Santosh,
    Check the FM COM_PRODUCT_GETDETAIL_API.
    Pass the product guid or product id and Required Settype as CRMM_PR_BTR.
    You will get the Item category group.
    Hope it helps.
    Regards,
    Shahina

  • Dependent requirement grouping in SCM Product heuristic

    Hi,
    How to group dependent requirement?
    Example - SFG (Semifinished) order created with Lot size =1
    dependent demand created  - for child part with lot = 1
    Purchase requisition created for child part with lot size >1 (periodic lot size)
    are any method to aggregate dependent requirent?
    Regards
    lav Mishra

    Hi Lav Mishra,
    Other method to aggregate dependent requirement is to have minimum
    and maximum lot size.
    When you are using period lot size, you need to put check against
    "start of lot size grouping" indicator in procedure tab of Lotsize
    in material master of APO
    Regards
    R. Senthil Mareeswaran.

  • How to Enhance search help for product groups. Currently no ability to add multiple lines from result list

    Hi All,
    In CRM Web UI,  there is no multi selection option for product group id f4 help for Custmer event creation or edit screen under  “Product” tab=> Product Group ID field.
    Web UI Component Details -
    UI component : TPMOE
    View : TPMOE/ProductEOL 
    Context: PRODUCT  Attribute : -PRODUCT_GRUOP
    Click on Product Group ID field then below F4 Help screen appears.
    In the product group results list, user can select only one row and Then all the product will be queried for selected product group, transferred to product list tab.
    Current technical design for Product Group F4:
    a) SE11 Data Dictionary search help “CRM_MKTPL_PGRP1”  is used and data is fetched displayed based it( Refer method GET_V_PRODUCT_GROUP of context node class CL_TPMOE_PRODUCTEOL_CN00)
    b) In UI, F4 pop up is handled by UI Framework in SAP generic manner so no multi selection is allowed.
    c) A round trip event is triggered after selection of row from results which reload view with queried product result based group selected.
    Requirement :-
    In the product group F4 results list View, user should be able to select multiple row .As SAP GUI has the option of multiple entry selection from search help window with the help of field called MULTISEL.
    System should query for products  with all selected product group, transferred to product list tab.
    Note: - The multi select options works fine for GUI, but for UI standard SAP code ignores this or never is this structure taken into consideration. Standard class to display F4 help on UI is CL_THTMLB_F4HELP.
    Can we enforce same behavior like DDIC search help in Web UI too  Or suggest how we can achieve this requirement?
    Thanks in advance
    Regards,
    Arjun

    Hello All,
    We have achieved this requirement by Custom development and approach followed as  -
    Define UI object model zprgrp & zprgrpquery and object relationship in table ZCRM_OBJTAB
    Query Strcuture : ZCRMST_PRGRP_SEARCH & Result List structure : ZCRMST_PRGRP_RESULT      
    Created Custom component : ZPRGRP with Search /Result view and with GENIL Class, search logic
    Defined custom ComponentUsage “ProductGroup1SearchHelp” for ZPRGRP in Standard Component TPMOE
    e.  Called F4 application for field product _group with help component usage created in step d.
    Regards,
    Arjun

  • MD06 report: by Product group

    Hi,
    I am using the functional module "MD_MRP_LIST_OVERVIEW" to get the data like MD06 for one of my report.
    My problem is in functional module "MD_MRP_LIST_OVERVIEW" when I try to fetch the data based on "Product Group" (Selection by: Product group) system is giving me error "u2018No material transferredu2019 after executing of this functional module in SE37.
    I am passing following entries in "Functional Module" (in ERM61R)
    WERKS2 = PR01 (PLANT NAME)
    PRGKZ = X
    PRGRP = 100 (Product Group name)
    ADBKZ = X
    Could any one suggest if I am missing any entries in selection for functional module "MD_MRP_LIST_OVERVIEW ?

    I doubt MD_MRP_LIST_OVERVIEW would be of much help in your report, as it does a CALL SCREEN, so it would leave your report. Are you sure you want to do that?
    Instead I would suggest you use MD_MRP_LIST_API or BAPI_MATERIAL_MRP_LIST, read the materials from your product group & pass it to one of these FM's

  • Report showing purchasing group and product responsibility

    Hi,
    Is there a report that will show all purchasing groups and which product categories that they are responsible for?
    Or
    Is there a report that will give me each product category and which purchasing groups that are responsible for that product category?
    Sincerely
    Anders

    not clear as to what you want...
    PP forum would be best for it... Or if you specify your req more clearly as to what input you give and what output you want, may be we can help
    Ajay

  • Top 3 customers group by product in OBIEE

    Hi,
    Can somebody assist me how can I display a report in oracle Bi answers consisting of three columns called Product, Customer and Revenue. In the report, I need to display Top 3 customers group by Product. How can I use the "group by" function in oracle BI? Please assist me.
    Thanks,
    Bk.

    to get the top3 customers you have a specific function topN in oracle answers.
    if you say you want to group by only product remove the customer column from answers and SUM Revenue....i assume revenue is summed in rpd.
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Oct 19, 2010 7:03 AM

  • Multiple Local Product Categories for One ECC Material Group

    Hello experts,
    I have a question regarding Product Categories. I am using an Extended Classic Scenario and so, I retrieve Material Groups from the backend. Nevertheless, in order to have a more accurate split than ECC Material Groups in SRM, I would like to create local Product Categories which point on the same ECC Material Group. Eg. : 
    ECC Material Group
      - SRM Product Category 1
      - SRM Product Category 2
    I saw that I can create this kind of structure in COMM_HIERARCHY and I updated it in the PPOMA_BBP (I set * for backend and for SRM).
    Nevertheless, when I create a SC, I can not find the local Product Categories I created?
    Do you know how I could process?
    Thanks for your help
    Patrick

    Hi Patrick,
    Looks like you got confused in understanding the concept.
    You can not create a Local product category (material group) from a back end product category.
    You can have both backend R/3 material groups and local product categoris (material groups) parallelly.
    That means in COMM_HIERARCHY for R3MATCLASS hierarchy you have two nodes created under that, one for backend material groups and the other for local material groups.
    In stand alone scenario or de-coupled scenario you can use local product categories and not in Extended classic and Classic scenarios.
    For accessing a local product category you should have a local P.Org, local P.Group and the users should be assigned to these local P.Orgs or P.groups.
    If you have such a setting in your org. structure then you can create S.Cs for local Product categories and local materials.
    Hope this makes you more clear in understanding the issue.
    Clarifications are welcome.
    Award points for helpful answers.
    Rgds,
    Teja

  • IA07 : Key for Task List Group and Production resource tool number link

    HI abapers,
    In IA07 TCODE , i want to retrieve Key for Task List Group( PLNNR ) and Production resource tool  number ( FHMNR) .
    In technical settings for both the feilds, structure names are mentioned.
    Is there any function module or table link to retrieve both .
    thansk & regards
    Raghul

    Hi Raghul,
                    i am also facing the same issue. Kindly let me know if u get any solution for this.
    Thanks in advance.
    -AruN.

  • APO product allocation and customer hierarchy groups

    Hi,
    we have customer hierarchy groups. In the future we want to use product allocation in APO.
    The values of the customer hierarchy groups will be changed often.
    How can we map the customer hierarchy group to a product allocation group?
    Thanks,
    Michael

    Hi Michael,
    Not sure it is the only way but you can try the following,
    1. maintain the field catalogue and the product allocation group in APO
    SPRO
    Advanced Planning and Optimization
    > Global Available-to-Promise (Global ATP)
    > Product Allocation
    2. Maintain the planning area accordingly
    (+ the connection to the PA - still in SPRO...)
    Now start the real thing:
    3. pass the customer hierachy to the sales order in R/3
    You can use exit: MV45AFZZ u2013 form USEREXIT_MOVE_FIELD_TO_VBAK
    4. Pass the information to APO
    A new exit: FV45VFZY form USEREXIT_CATALOG_VALU - Adding to the APO field Catalogue
    Now you mentioned frequent hierarchy changes... that I don't know how to handle. When you change the hierarchy how do you want the consumption to happen? I guess the new sales order should consume the new hierarchy, but what about the old assignment?
    If somebody know ho the system handle that, that would be great!
    Thanks and Regards
    Julien

  • Product group Vs Material Group

    Hi All,
    I need to understand the concept of product group, is it different from material group?
    If product group is different from material group, what is the significance and where is it used.
    Awaiting your inputs here.
    Thanks,
    Regards
    Raghavendra

    Hi,
    pls go through this link:
    Product Group:
    http://help.sap.com/saphelp_46c/helpdata/en/a5/631b1243a211d189410000e829fbbd/content.htm
    Material Group:
    http://help.sap.com/saphelp_40b/helpdata/es/76/bf96dd7834d111a4620060b03c3b0e/content.htm
    Regards,
    S.Singh

  • Aggregate planning to support Product Group/Material/SKU 3-level ?

    Hello Everyone,
    For the AFS and APO integration, we want to have planning run on  Product group, Material and SKU.
    I know the standard AFS and APO integration will support aggregate planning on Material and SKU level. Will it be able to run SNP aggregate planning on Product group/Material level?
    Thanks,
    Bin

    Dear Bin thanks for clarifying
                              You can try the below two options if its only for a reporting purpose and no capacity planning has to happen at that level.
    1. THRU ABAP: Maintian the Product group in the Product attribute field in the Extra tab of the product master and then a Report can be developed through ABAP which can pick the capacity available to consumed by different product groups. As it will already have the product wise capacity consumed it will be easy to map it for the ABAP person using Product group info. From product attribute tab.
    OR
    2. IN the MPOS of your linked planning area maintain in the char attributes the Product attribute field 1.
    By this when you load the capacity view for a particular  you can detail all it Product attribute wise too like product wise.
    As you will have maintained Product attribute as Product groups you will have the capacity consumed by each product group.
    I havent tried 2nd option myself but i am certain to quite an extent it will work.
    Regards
    VIrender

Maybe you are looking for

  • Problems with Custom File Info Panel and Dublin Core

    I'm creating a custom file info panel that uses the values of the dublin core description and keywords (subject) for two of it's own fields.  I'm having problems with the panel saving if they enter the description on the custom panel first, and with

  • Submenu HOVER change doesn't work

    I've tried everything I could think of (for the past 2 hours). The Submenu Text Change Instruction doesn't work for me (PC, IE7 and Firefox) I've tried to add all kinds of properties to make the SUBMENU Item change when the mouse hovers over it. What

  • Leopard Desktop Display - How to Size Photo Centered on Desktop Screen ? ?

    6/14/2008. Since I installed Leopard two days ago, I have a challenge that I did not have on OS X 10.3.9. A "minor" one. I changed the color on my desktop screen, via System Preferences and Desktop and Screen Savor. I chose to use an imported photo,

  • Can I use the 3 RCA plugs?

    Hi, so.....just found I can bypass the computer to listen to our 1st iPod by plugging directly into the computer speakers. Now, does that also mean I can use 3 wired RCA plugs (2 for L+R channel into home stereo and video directly to the tellie)? Thi

  • Caught in failing lion server installation loop

    Hi, I tried upgrading my Mac mini server (2010) from Snow Leopard Server to Lion Server. Midway through the installation the process is aborted with the error message "a recovery system can't be created, press restart to return to your previous syste