Query with creating sub material group

Hi
We hv requirement of additional submaterial group with existing material group. i hv configured & its coming in sales org2 tab as below.
However when i got mm02, and check put input values its asking for input values
after clicking on continue w/ o project , it goes to IMG screen. If i define material group in OMSF , its not coming as input values. How to get those input values ?
Sachin

Did you maintained in the path what mentioned earlier , i can see in material master after maintaining  the material group 1 to 5.
Even after maintaining this entries you are not able to maintain in sales org 2 do let me know.

Similar Messages

  • Creating new Material Group

    Hi SAP Gurus,
    How to Creating new Material Group?
    Regards,

    Hi,
    Go to OMSF and here click on "New Entries" button and maintain the Material Group and its Description and save.
    Config Path: - SPRO > Logistics - General > Material Master > Settings for Key Fields > Define Material Groups

  • Create New Material Group included in Fiscal Year Range

    Hi,
    I have Report Maerial Group, Material & for each one having Fiscal Year
    I want to create new Material Group XXX and be included in the range of fiscal year K1 & K2
    How do I connect these two fiscal year to the new Material Group
    Thx

    Hi
    I hope  there is no assignment of GL account to material group. If you want that, you can assign Valuation class to material group in OMQW transaction.
    Because of the valuation class, the system can find the assigned G/L account number in OBYC. In this case Transaction Key GBB and General modification VBR.
    is it fine for you?
    regards
    Srinivas
    Message was edited by:
            Srinivas Ponangi

  • Is it possible to create a Material Group Hierarchy in SAP ECC?

    Hi,
    I'm trying to create a Material Group Hierarchy (not a Product Hierarchy) in SAP ECC.
    I've read some discussions about this theme:
    MM Material group hierarchy ?
    but still I'm sure if it is possible to create a Material Group Hierarchy  in SAP ECC or if it is only an IS Retail functionality.
    Thanks in advance,
    Luis.

    Please check this answered link:
    Re: Material Group Hierarchy
    Re: Material Group Hierarchy
    Re: Material Group Hierarchy
    Edited by: Afshad Irani on Jul 1, 2010 1:03 PM

  • Complete step by step procedure to create new material group.

    Hi,
    Please suggest procedure to create new material group in R/3 system and assigning it to G/l account.
    How to reflect it into EBP ssytem.
    Many thanks in advance.

    Hi,
    T. Code: - OMSF
    Path: - SPRO >> Logistics u2013 General >> Material Master >> Settings for Key Fields >> Define Material Groups.
    Select existing material group and click on Copy As button.
    Enter material group code, material group name and long description for material group.
    Then click on save button for save material group.
    Regards,
    Mahesh Wagh

  • Automatic change of G/L account with change of material group in PO

    Experts,
    we're facing an issue with the change of the G/L account in a PO after the material group has been changed. We're creating purchase requisitions from SRM (account assignment type K) with material group and G/L account. Starting to create the PO with ME21N from PR we want to change the material group. After the change we still have the original G/L account.
    Valuation class and account assignment is defined correctly and if we create a manual PO the correct values are used. What do we need to change so that the G/L account is directly changed with the change of the material group?
    Thanks
    Hubert

    Hi Hubert,
    I am assuming that you are not using the material master  and trying to default the G/L account using the material group.
    Can you check whether the valuation class assign in this config for the respective material group are same.
    Purchasing> Material Master > Entry Aids of items without a material Master.
    System should default the G/L account if you maintain different valuation class in material group with the respective G/L define in OBYC.
    Secondly, Please check the Account assign categories configuration for the account  modification.
    Purchasing > Account assignment > Maintain Account assignment Categories.
    Cheers!
    Daya

  • Rest query with filter sub-string (contains, not eq)

    Hi,
    how can I do a REST-query with a filter for a string-column which is only a sub-string? I only found EQ, for example $filter=(name EQ 'tom') which compares the whole string.
    But I would like to query records, where a string-column CONTAINS a specific sub-string.
    Thx, Tom

    Hi Tom,
    Do you use it on azure Data Market place? Did you try to add "*" on your query string, like this
    post.
    Also, you could try this tool from this
    thread. Also, for this issue, I suggest you could post it on
    SQL forum for better support.
    If I misunderstood, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Rewrite the query with out joins and group by

    Hi,
    This was an interview question.
    Table Names: bookshelf_checkout
    bookshelf
    And the join condition between these two tables is title
    We need to rewrite below query without using join condition and group by clause ?
    SELECT b.title,max(bc.returned_date - bc.checkout_date) "Most Days Out"
               FROM bookshelf_checkout bc,bookshelf b
               WHERE bc.title(+)=b.title
               GROUP BY b.title;When I was in college, I read that most of the SELECT statements can be replaced by basic SQL operations (SET OPERATORS). Now I am trying to rewrite the query with SET operators but not able to get the exact result.
    Kindly help me on this.
    Thanks,
    Suri

    Something like this?
      1  WITH books AS (
      2  SELECT 'title 1' title FROM dual UNION ALL
      3  SELECT 'title 2' FROM dual UNION ALL
      4  SELECT 'title 3' FROM dual ),
      5  bookshelf AS (
      6  SELECT 'title 1' title, DATE '2012-05-01' checkout_date, DATE '2012-05-15' returned_date FROM dual UNION ALL
      7  SELECT 'title 1' title, DATE '2012-05-16' checkout_date, DATE '2012-05-20' returned_date FROM dual UNION ALL
      8  SELECT 'title 2' title, DATE '2012-04-01' checkout_date, DATE '2012-05-15' returned_date FROM dual )
      9  SELECT bs.title, MAX(bs.returned_date - bs.checkout_date) OVER (PARTITION BY title) FROM bookshelf bs
    10  UNION
    11  (SELECT b.title, NULL FROM books b
    12  MINUS
    13* SELECT bs.title, NULL FROM bookshelf bs)
    SQL> /
    TITLE   MAX(BS.RETURNED_DATE-BS.CHECKOUT_DATE)OVER(PARTITIONBYTITLE)
    title 1                                                           14
    title 2                                                           44
    title 3Lukasz

  • Query with many sub-selects on the same table

    Hi,
    Please consider the example below (Oracle 11g):
    create TABLE test1 (order_id number, CODE VARCHAR2(10), VALUE NUMBER);
    insert into test1 VALUES (1, 'A', 100);
    insert into test1 VALUES (1, 'B', 200);
    insert into test1 VALUES (1, 'C', 300);
    insert into test1 VALUES (1, 'D', 400);
    insert into test1 VALUES (2, 'A', 10);
    insert into test1 VALUES (2, 'B', 20);
    SELECT order_id,
           CODE,
           VALUE,
           (SELECT VALUE FROM test1 t1
           WHERE t1.order_id = t.order_id
           AND   t1.code = 'B') b_Value,
           (SELECT SUM(VALUE)/COUNT(*) FROM test1 t1
           WHERE t1.order_id = t.order_id
           AND   t1.code IN ('C', 'D')) cd_Value,
           (SELECT COUNT(*) FROM test1 t1
           WHERE t1.order_id = t.order_id
           AND   t1.code IN ('C', 'D')) cd_qty
    FROM   TEST1 t
    WHERE  CODE = 'A';In my real-life case, I don't have 3 but tens of sub-query columns like those. The performance is OK but I was wondering whether there were a better way in terms of performance and maintainability to write this query.
    I thought of the WITH clause but couldn't see how it could help much.
    Please note that some sub-queries can be more complex than just looking up a column, like in column cd_value/cd_qty.
    Any suggestions?
    Thanks
    Luis

    Simpler, but will go for two table scans. You will have to use outer joins according to your requirement.
    select t1.order_id,
           t1.CODE,
           t1.VALUE,
           max(decode(t2.code,'B',t2.value)) b_value,
           sum(decode(t2.code,'C',t2.value,'D',t2.value,0))/nullif(sum(decode(t2.code,'C',1,'D',1,0)),0)  cd_value,
           sum(decode(t2.code,'C',1,'D',1,0))  cd_qty 
    from TEST1 t1,test1 t2
    where t1.CODE = 'A'
    and t1.ORDER_ID = t2.order_id
    group by t1.order_id,
           t1.CODE,
           t1.VALUEEdited by: jeneesh on Feb 7, 2012 11:54 AM

  • Create new material group

    Hi,
    I have report Quantity all material, the etXX is included in the range NXX and
    AXX is not assigned.
    We would like to create a new product group u201CNEWGR1lu201D and include etXX  and AXX .
    please give instrauction whay should I check first, then steps to be done
    Thx

    Hi,
    This is not a suitable forum for this query... please check in MM Forum
    Regards
    Raj

  • Problem with create asm disk group

    Hi all
    I am about configuring ASM, so I have downloaded the Grid infrastructure 11g (32 bit), I have configured and created parameters and directories.
    I runned the installer but get stack at the 3 step where I have to change the discovery path. I have taped as path /dev where I have created 3 partitions sdb1, sdc1 and sdd1.
    Is there any thing should I perform on partitions may be or parameters to set before I go through the installation?
    Thanks for help

    You can use the below link to install ASMLIB:
    http://gssdba.wordpress.com/category/asm/
    REFERANCE : Doc ID 580153.1
    There are two different methods to configure ASM on Linux:
    ASM with ASMLib I/O: This method creates all Oracle database files on raw block devices managed by ASM using ASMLib calls. RAW devices are not required with this method as ASMLib works with block devices.
    ASM with Standard Linux I/O: This method creates all Oracle database files on raw character devices managed by ASM using standard Linux I/O system calls. You will be required to create RAW devices for all disk partitions used by ASM.
    You can download the ASMLIB rpm’s from below URL:
    http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html
    STEP 01: LOG IN AS ROOT USER AND INSTALL THE RPMS
    [root@node1 ASMLIB]# rpm -Uvh oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm \
    > oracleasmlib-2.0.4-1.el5.i386.rpm \
    > oracleasm-support-2.1.8-1.el5.i386.rpm
    warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    Preparing… ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.18-164.el########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    STEP 02: CONFIGURE ASMLIB
    [root@node1 ASMLIB]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets (‘[]‘). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [ OK ]
    Scanning the system for Oracle ASMLib disks: [ OK ]
    STEP 03 :CREATE ASM DISK
    [root@node1 ASMLIB]# /etc/init.d/oracleasm listdisks
    [root@node1 ASMLIB]#
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk “VOL1″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdc1
    Marking disk “VOL2″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL3 /dev/sdd1
    Marking disk “VOL3″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL4 /dev/sde1
    Marking disk “VOL4″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm createdisk VOL5 /dev/sdf1
    Marking disk “VOL5″ as an ASM disk: [ OK ]
    [root@node1 ~]# /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    VOL4
    VOL5
    [root@node1 ~]#

  • Error in query with COUNT expression and Group By Clause

    Hi
    I have this query that when run gives me the following error:
    SQL command not properly ended:
    The code is as below:
    SELECT
              st_enrollment.student_id ,
              ce_family_member.last_name ,
              st_enrollment.grade_level ,
              ce_family_member.DATE_OF_BIRTH ,
              ce_family_member.GENDER,
              at_hourly_attendance_records.ABSENCE_REASON_CODE,
              at_hourly_attendance_records.CALENDAR_DATE,
              COUNT(st_enrollment.student_id) AS days_absent
              FROM
                      at_hourly_attendance_records,
                      ce_family_member,
                      st_enrollment
              WHERE
              st_enrollment.student_id = at_hourly_attendance_records.student_id
             AND ce_family_member.student_id = st_enrollment.student_id
                AND st_enrollment.school_id = 705
                AND st_enrollment.school_year = 2006
                AND st_enrollment.district_number = 1000
                AND at_hourly_attendance_records.ATTENDANCE_STATUS = 'A'
                AND at_hourly_attendance_records.CALENDAR_DATE < '16-MAR-06'
              GROUP BY st_enrollment.student_id,
                       ce_family_member.last_name
                         st_enrollment.grade_level ,
                         ce_family_member.DATE_OF_BIRTH ,
                         ce_family_member.GENDER,
                         at_hourly_attendance_records.ABSENCE_REASON_CODE,
                         at_hourly_attendance_records.CALENDAR_DATE;
           All suggestions are gratefully acknowledgment, Thanks in advance

    Thanks a lot. In fact I discovered it myself and I am immensely grateful to you for pointing the error..

  • Assign Source of supply is not working for contract with material group

    Dear Experts,
    I have searched all the threads and gone through before posting my query. So i would ask moderators to go through the thread properly before rejecting this.
    We have value contracts with respect to a particular material group without material and with item category W in the contract item, Please note that for the materials with this material group, the source determination is not set and source list is also not maintained.
    When we create PR for the material with this contract, and when we click on assign source of supply contracts used to get popped up, but recently from few days, when we click on assign source of supply we are getting an error " no source found for this item ".
    Can anybody help on this.
    Regards

    @ Biju,
    As mentioned earlier, we are not creating PR with reference to contract.
    first we are creating contract with item category W (material group), without material and plant details.
    we create PR with or without material with account assignment K and with the material group in the transaction ME51N, and after inputting all the fields, we click on assign source of supply, it was proposing the existing contracts with respect to material group earlier, but it is not happening for particular material group(it is working for all other material groups)
    Hope it is clear.
    @ Dev Patra,
    we are using DIEN-Service material types and we assign that particular material group to only service material type.
    we have not ticked, source list in the material master, we donot have any source list for the materials under that material group.( please check the note 457110- question number 14.)
    Regards

  • Filter query with sub query using Dropdown box

    Dear Community,
    I have 2 queries
    1. Main Query with 2 fields:  Project | Project value
    2. Sub Query with 2 fields:  Project group | Project
    Project group can be belonging to number of projects and project can be belong to number of project group (Many to Many).
    My customer wants the main query will open without any filtering.
    When I choose project group from WAD dropdown box, the main query will filtering all the projects that belong to the project group.
    I create WAD; define dropdown box as sub query, and Analysis as main query.
    In the dropdown box I choose "data binding" char and create command "set selection state by binding" (project to project) but it doesnu2019t work. 
    I also try to do this by Replacement Path in the main query, but the variable requires the attribute will be ready for input.
    Thanks a lot
    Yaniv

    I am not sure about your comments on replacement path variable. Without having tried it, here is what I would have attempted:
    The main query needs to use a replacement path variable for Project that is replaced by the results of the sub-query. Sub-query would have a regular input variable for project group. (as a quick test, if you had one analysis item for main query with variable input enabled, it should prompt you to enter Project group).
    Now the drop-down needs to be associated with a javascript function. The javascript function needs to implement command "Set variable state" for the main query data provider to selected value of the drop-down.
    The drop-down should be associated with the sub-query data provider, just used to populate the list of values in drop-down.

  • Material replication from R/3 to SRM - Issue with Material group

    Hello All,
                      I am working on BADI PRODUCT_CUSTOMER2 and method MAP_R3_TO_CRM_MATERIALMaterial replication part from R/3 to SRM.
    I am using a Ztable to map r/3 material group to SRM material group(Product category).
    For example Material M1 with material group 100 is transferred to SRM. Material group(Product category) 100 exist in SRM, but I am changing the material group to 200 in the product_customer2 badi.  its working fine.
    In another scenario, Material with material M1 with material group 300. Material group(product category) 300 does not exist in SRM,
    I am changing the material group to 200 in the bdoc, in the product_customer2 badi. It is not working. The LUW is failing in SMQ2 transaction with the error "Error in Mapping (Details: transaction SMW01)". The BDOC is failing with error "Category for material group 300 does not exist"
    I tried to deactivate the badi PRODUCT_CUSTOMER2, even then the FM MAP_BAPIMTCS_AND_PROCESS is validating the material group from R/3.
    I tried to change the material group 300 to the existing material group 200 at initial stage in debugging in function module MAP_BAPIMTCS_AND_PROCESS but still the bdoc is failing with error "No storage form defined for product type 01 / logical system".
    I am doing my testing using the following steps.
    1. change the material descriptioni in MM02 in R/3.
    2. An item is displayed in the queue in SMQ2 in SRM.
    3. I have debugged the LUW and analyzed my badi by setting breakpoint at method MAP_R3_TO_CRM_MATERIAL, its changing the material group in the bdoc properly.
       that didnt work.
       also i tried to change the material group in the function module MAP_BAPIMTCS_AND_PROCESS before the badi is called.
    4. I am checking the BDOc status using tcode SMW01 and checking the material using tcode COMMPR01.
    can someone tell me how I can change the R/3 material group to SRM material group at the time of mapping in SRM?
    Thanks
    Sathish PM

    Hi find below for the product cat
    Steps to create the product category in SRM:
    1) Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
    2) Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
    3) Do a test and check if the product category is available for procurement in SC.
    Regards,
    Satish

Maybe you are looking for

  • Can I return my iPad to previous software update

    Having updated to iOS 8 my ipad 2 is very slow and buggy. Can I return it to iOS 7.

  • DBIF_SETG_SQL_ERROR - after Upgrade to 10.2.0.2

    After Upgrade from Oracle 9.2.0.7 to Oracle 10.2.0.2 i have the Problem that the User: <SID>adm cannot use brtools for example brsapce to extend a tablespace exec(): 0509-036 Cannot load program /usr/sap/NT1/SYS/exe/run/brspace because of the followi

  • How to input file at runtime in Fileadapter applicatiopn

    How to specify File Name  and Dir name at run time in File Adapter.

  • An Error Message ; "Account 130131 already exits" in FK01

    Hı Friends, When I creating new Vendor with FK01 transaction , system gave me an error "Account 130131 already exist" , I controlled in SPRO, vendor number range and shows "Status" 130136... and I also controlled Vendor list,the last vendor is 130130

  • Report scheduling

    hi everyone, I have a small doubt regarding reports....how we are scheduling the reports.......daily reports, monthly reports...yearly reports...in real time...environment. I knew how to write the coding for reports...what about this schduling the re