SM30 and for updating material groups.

Hi,
what is the table for updating with trx SM30 material groups?
Best regards

Hi,
Try table T023.It may workout.
Regards,
Rambhupal reddy

Similar Messages

  • Report showing vendors for particular material groups

    I am trying to perform an analysis to determine vendors which have procured items for specific material groups.  I have 64 different material groups which represent indirect materials and I want to be able to determine what vendors have been procuring these materials.  I have run transaction ME2C to examine purchasing documents, however there is way too much information and the system cannot generate the list.
    I was curious if there was some aggregate report that I could use in the Logistics Information System.  I know the Purchasing Information System has Standard Analysis for Material Groups, however I have to drill down to each Material Group and change the breakdown by Vendor to get the list and this can be somewhat time consuming considering I will have to do this 64 times.
    Any suggestions would be appreciated.
    Thanks,
    Don

    use transaction MC$<
    execute the selection
    in the report choose from menu settings > characteristics display
    and select either Key or Key and description
    then choose from menu  Material group analysis > Export > transfer to XXL

  • FOR UPDATE with group functions

    Hi,
    Is it possible to have a select .. FOR UPDATE and in that select using group by and having count? If so, where should be placed the FOR UPDATE clause?
    Thanks

    Hi,
    Update and FOR Update are different functinalities of Oracle.
    Update as name suggest :- update Database records based on the condition we give.
    For Update :- It donot update any Database records, it helps to lock set of columns. we generally use FOR Update in Select query.
    Please refer below link for better understanding on FOR UPDATE function
    http://download.oracle.com/docs/html/B10952_01/o4o00091.htm

  • Contracts for services without service masters - updating material group

    Hi all
    I have some contracts for services where the services themselves are not linked to service masters. If the material group is updated in the contract at item level, this change is not being applied to the service lines. When the services are pulled through to a purchasing document the original material group / G/L allocation is being used rather than the updated one.
    This issue also occurs if a new contract is set up but the services are copied from an existing contract. The services adopt the material group of the original contract rather than the new one.
    Any ideas on how this can be overcome?
    Many thanks

    Business workaround implemented since was unable to resolve.

  • How to update Material group code in contracts ?

    Hi,
    We implemented SAP in my company a year ago. AS you can imagine we need to do some cleaning now we know how it works...
    We have change the Material Group code for over 1100 items.
    Thing is, the material group code in the contracts do not update automatically.
    I see two ways to handel this :
    1- re-enter contract
    2- delete lines that needs to be changed and recreate them...
    I know for sure that both solutions would work but they are time consuming so I was wondering if one of you had another idea ( a quick or at least a massive one would be appreciated...)
    Thanks for your help.

    Hi,
    You can use transaction MEMASSCONTRACT for mass changes to contracts
    Caution:- Please use this transaction if you know, else first practice it in sandbox and then use in production environment
    Thanks
    Diwakar

  • Report On Receipt Of materials for a material Group

    Dear All,
               I have a requirement. I want the value of goods receipt for a particular material group for a particular period. MB51 does not provide input for material group.
              I have seen other standard reports related to purchase , but all of them considers Purchase Order date as the date of selection. So these reports exclude Goods Receipt of materials which falls on a selection date but whose PO is out of that selection date. Problem with MB5B is that includes cancelled documents as receipt as well and adjusts it with same quantity in Issue column.
              Is there any standard report which will give me  a perfect report or is it possible with query. Please let me know the table names ..
    Regards
    Abhijit

    hiii
    In ME80FN , u 'll ge the material group wise value .
    Thanks
    SAP-MM

  • Problem combining select, order by, rownum (top-N) and for update

    Hello,
    i have serious problems with this.
    -- drop table testtable;
    create table testTable (id number(10,0) primary key, usage number(10,10));
    -- delete from testtable;
    insert into testtable values (11, 0.5);
    insert into testtable values (10, 0.3);
    insert into testtable values (12, 0.3);
    insert into testtable values (9, 0.3);
    insert into testtable values (8, 0.9);
    insert into testtable values (3, 0.0);
    insert into testtable values (2, 0.02);
    insert into testtable values (1, 0.05);
    insert into testtable values (7, 0.7);
    insert into testtable values (6, 0.4);
    insert into testtable values (5, 0.2);
    insert into testtable values (4, 0.1);
    select * from testtable;
    -- without FOR UPDATE
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10;
    --> WORKS
    -- without ORDER BY
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    where rownum <= 10
    for update of id_;
    --> WORKS
    -- without WHERE ROWNUM <= 10
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    for update of id_;
    --> WORKS
    -- But what i need is this:
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10
    for update;
    --> ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc., SQL State: 42000, Error Code: 2014
    select * from (
    select tt.id id_, tt.*
    from testtable tt
    where tt.usage > 0.1
    order by tt.usage desc, tt.id desc
    where rownum <= 10
    for update of id_;
    --> ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc., SQL State: 42000, Error Code: 2014
    I have tried every single solution i could come up with.
    But nothing worked.
    My latest idea is to include a comment in the query and set up an ON SELECT trigger which evaluates the comment and enforeces the lock.
    But i'm not sure if this is even possible.
    I cannot split the statement into two because i need the lock immediately when the wanted rows are selected.
    One major criteria for the rows is the order by. Without it i get a random set of rows.
    And the rownum <= 10 is also needed because i don't want to lock the whole table but only the few needed rows.
    I tried row_number() over (order by ...) but this is considdered a window/group-function which disallows the for update as well as the order by.
    During these tests i noticed, that when using the row_number()-function the resultset is ordered automatically (without an additional order by clause).
    But this doesn't help anyway.
    I tried using piped functions to wrap the select to apply the rownum manually by cursor skip, but this doesn't work either. First of all i wasn't able to wrap the query the way i imagined and second the lock would be applied to the whole resultset anyway but only the reduced rows would be returned.
    I heared about LOCK-hints from other DBs, is there anything similar here?
    Any other solution??
    btw. it has to be high-performance after all.
    Greetings Finomosec;

    No, not perfect.
    This is the expected result (ordered by usage desc, id desc):
    ID     USAGE
    8     0.9
    7     0.7
    11     0.5
    6     0.4
    12     0.3
    10     0.3
    9     0.3
    5     0.2
    This ist the one produced by your statement:
    ID     USAGE
    5     0.2
    6     0.4
    7     0.7
    8     0.9
    9     0.3
    10     0.3
    11     0.5
    12     0.3
    Use limit 5 in your tests, and you will also notice that the following doesn't work either:
    select * from testtable ww where ww.id in
    select id from
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    where rownum <= 5
    order by usage desc, id desc
    for update;
    It's because the order is not applied to the result.
    But the following modification works (at least principally):
    select * from testtable ww where ww.id in
    select id from
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    order by usage desc, id desc
    where rownum <= 5
    order by usage desc, id desc
    for update;
    Thr problem here is:
    I need to expand the following Statement to the above form by (Java-) Code:
    -- statement-A
    select tt.id, tt.usage
    from testtable tt
    where tt.usage > 0.1
    order by usage desc, id desc;
    The main problem is:
    The order by clause needs to be duplicated.
    The problem here is, to identify it (if present) and NOT any order by in inner selects.
    I am using Hibernate and to implement this i have to modify the OracleDialect to solve this problem. I get the statement-A (see above) and have to apply the limit.
    Isn't there any other solution??
    Greetings Finomosec;

  • Importance and uses of material group

    Hi All,
    I need to know the importance of Material Group and where all it is used in Procurement.
    Regards ,
    Ritesh.

    hi,
    Key that you use to group together several materials or services with the same attributes, and to assign them to a particular material group.
    You can use material groups to:
    Restrict the scope of analyses
    Search specifically for material master records via search helps
    Maintain External Material Groups
    In this step you can assign a material to an external material group, or to a material group that was created using externally-defined (non-SAP) structures.
    u will get the settings under menu path:
    SPRO > IMG > LOGISTIC GENERAL > MATERIAL MASTER > SETTINGS FOR KEY FIELDS > DEFINE MATERIAL GROUPS.
    for service PO we have to assign the valuation class to material group under the menu path:
    SPRO > IMG > MATERIAL MANAGEMENT > PURCHASING > MATERIAL MASTER > ENTRY AIDS FOR ITEMS WITHOUT A MATERIAL MASTER.
    can assign a purchasing value key and a valuation class to a material group.
    The assignment of a purchasing value key provides you with default values for reminder levels etc. in purchase order items without a material master record and without an info record.
    The assignment of a valuation class to a material group enables the system to determine different accounts for the individual material groups.
    regards
    jash

  • Approve suppliers only for specific material groups

    Dear Experts,
    Current scenario: Our purchasers can buy products from all material groups from every boarded supplier. E.g. they can buy production materials from an office paper supplier.
    Target scenario: The moment a purchaser buys a material that's not part of the approved material group of that specific supplier, he get's an error.
    What is a practical way to achieve this?
    Thanks a lot,
    Steffen

    Normally we maintain Source lists,  which restrict the list of vendors from whom certain materials can be purchased. 
    Sometimes you can also create a Material group level contract, and then in the PO  specify the materials from that specific material group.
    but ideally you should go for source list, as it is the simplest and standard way to control approved suppliers for materials.  I know its not at material group level , but still its the best option.
    Last case, you can go for a development  , use the BADI ME PO PROCESS CUST i think it is.

  • PO Qty in SKU configuration for specific Material Group in PO

    Dear All,
    I face issue when I do MIGO, which is that unit measure KG can not covert to stockunitstock unit measure PC.
    After I checking, I found the following information in tab Qualities/Weights of PO:
    PO Quantity                     2 PC     Order Unit <-> Ord. Price Unit        PC  <->         KG
    PO Qty in SKU               0.000        Order Unit <-> SKU             0      PC  <-> 0
    What I can configure is "Order Unit <-> Ord. Price Unit        PC  <->         KG", but I can not conifgure "Order Unit <-> SKU" for PO to buy material group rather than sepcific material.
    Could anybody can tell me how to configure "PO Qty in SKU               0.000        Order Unit <-> SKU             0      PC  <-> 0" for PO to buy material group in ME21N?
    I am looking forward to your kind suggestion, which is really appreciated!
    Cheers!

    Does anyone face the same issue before? could you give me any tips if you have such problem? thanks in advance!

  • Value Contract for a material group

    It is possible to create a contract on value basis for a particular material group without material masters.
    Thanks
    Sanjeev

    Hi,
    You can create contract value basis for a particular material group without material masters like for example creating contract for service where you can use item category D but you should use always account assignment category U ( contract without stock material ) & later in creating contract release order or call-off WRT contract, you can change account assignment category U to account assignment category K or as required.
    Regards,
    Biju K

  • Cursor variable and for update

    hi
    can anyone explain me why can't we use "for update " with a Cursor Variable.
    Thanks in advance.

    user10314274 wrote:
    exmple : I read it in one book(Oracle press)And how difficult is it to test this?
    declare
        v_cur sys_refcursor;
        v_ename varchar2(20);
    begin
        open v_cur for select ename from emp for update;
        loop
          fetch v_cur into v_ename;
          exit when v_cur%notfound;
          dbms_output.put_line(v_ename);
        end loop;
        close v_cur;
        dbms_output.put_line('----------------------');
        open v_cur for 'select ename from emp for update';
        loop
          fetch v_cur into v_ename;
          exit when v_cur%notfound;
          dbms_output.put_line(v_ename);
        end loop;
        close v_cur;
    end;
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Default the Batch Management flag for some Material Groups

    Hi Gurus,
    Is it possible to Default the Batch Management flag (under T code MM01) based on the material grops.Like for example if the Material groups -01 then the default value for batch managemnet flag should be checked.
    Our OMCT  set up is -Batch unique at the Client level for a material
    Edited by: Ruchi Dutta on Oct 22, 2008 11:55 PM

    Hi Ruchi,
    have you got the solution ??

  • Can't access my old apple ID. I have a new one, but it keeps going to the old one to sign in and for updates.

    How can I delete the old ID and replace with new one for existing apps on my iPad ?

    All of the apps purchased or downloaded with the old ID will require that old ID and password in order to update them. If you want to avoid this delete the apps and download them again using the new Apple ID. Be aware that you will have to pay for any apps that cost money.

  • Material group updation by using function modules

    Hello All,
    I would like to add , update and delete material group From  database tables T023 and T023T  according to the given Excel input file.Could you please suggest me any function modules are there apart form MATL_GROUP_UPDATE .
    if i am using this function module i am getting the follwing error
    'Class does not exist or is not valid on this date'.
    Could you please send me any sample code.
    Thanks in advance,
    Arvind.

    Hello Narendran,
    Thanks for your quick reply.
    i need to do the following fucntions to the tables t023 and t023t.
    1) adding material group
    2) Updating the material group
    3) Deleting the material group
    according to the status field in the excel input file as shown below
    Status     ungültig     Referenzen     MGS     Beschreibung deutsch     Beschreibung englisch     &#20013;&#25991;     Beschreibung russisch
    N               H4***     Kohlen     Carbon     &#28845;     &#1059;&#1075;&#1086;&#1083;&#1100;
    N               H4100     Kohlebürsten                                                               Carbon brushes     &#28845;&#21047;     &#1059;&#1075;&#1086;&#1083;&#1100;&#1085;&#1099;&#1077; &#1097;&#1077;&#1090;&#1082;&#1080;
    N               H4900     Sonstige Teile aus Kohle, techn. Kohle                                     Other parts made from carbon, techn. carbon     &#30001;&#28845;&#65292;&#24037;&#31243;&#29992;&#28845;&#21046;&#25104;&#30340;&#20854;&#20182;&#38646;&#20214;     &#1055;&#1088;&#1086;&#1095;&#1080;&#1077; &#1074;&#1080;&#1076;&#1099; &#1080;&#1079;&#1076;&#1077;&#1083;&#1080;&#1081; &#1080;&#1079; &#1091;&#1075;&#1083;&#1103;, &#1090;&#1077;&#1093;&#1085;&#1080;&#1095;&#1077;&#1089;&#1082;&#1080;&#1081; &#1091;&#1075;&#1086;&#1083;&#1100;                     
    U               J2100     Polyphenylenether (PPESIB)                                                    Polyphenylene oxide (PPO)     &#32858;&#33519;&#27687;&#21270;&#29289;(&#32858;&#33519;&#25745;&#27687;,&#32858;&#33519;&#25745;&#27687;&#21270;&#29289;)(PPO)     &#1055;&#1086;&#1083;&#1080;&#1092;&#1077;&#1085;&#1080;&#1083;&#1101;&#1092;&#1080;&#1088; (PPESIB)                                              
    D     x          J2400     Sonstige styrolhaltige Polymere                                 Other Polymers Containing Styrene     &#20854;&#20182;&#21547;&#33519;&#20057;&#28911;&#32858;&#21512;&#29289;     &#1055;&#1088;&#1086;&#1095;&#1080;&#1077; &#1074;&#1080;&#1076;&#1099; &#1087;&#1086;&#1083;&#1080;&#1084;&#1077;&#1088;&#1086;&#1074;, &#1089;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1097;&#1080;&#1077; &#1089;&#1090;&#1080;&#1088;&#1086;&#1083;                  
    Note:Status :N means add the corresponding material group H4***
                               U means update the material group Description in t023t
                               D means delete the material group form  the table t023t
                                in all languages
    Could you please tell me any other fucntion modules are there.
    As per your suggession we can add the material groups then what about Updation and deletion of material groups.
    Also suggest me shall i go for normal modify , delete and update  statements in my program to aceive the above functionality
    2) The excel file format is also not constant they can change the columns
    as per their wish i mean for exp in the above excel  at col1 Status field is there and  at col4 (MGS ) material group and remaining columns are description of the material group in different languages(sorry the excel alignment is not clear above)  .
    They can change this and they can place status at col5 and MGS at col6 .
    Could you please advice me how to handle this situation in my program
    Thanks in advance,
    Arvind.

Maybe you are looking for

  • Error 1 when loading flat file in BW 7.0

    Hi,     The flat file structure is same as the transfer structure. Its a csv file and i also checked about the delimiters and stuff.The flat is not open and it is closed while i am loading it. The same file gets loaded if i try in another laptop with

  • Need help formatting external hard drive for OS 10.5.8.

    My older 2007 iMac is running on OS 10.5.8. I purchaed Snow Lepoard but was told to back up years of music and pictures. I bought an external hard drive that is compatible with Mac OS 10.6. How do I format the external hard drive to accept OS 10.5.8.

  • Formating long currency field

    Hi all. I'm looking forward to format the output of a long currency field. I would like to display it without decimals and using the dot separator, for example: in database i have the value 1234567891011,1234 then display 1.234.567.891.011,1234 is th

  • Sequence behavior after importing via DataPump

    Hi Friends, I'm running Oracle DB 11.2.0.3 on Windows 2008 R2 SP1 Servers and I faced a strange sequences behavior after importing a schema via Data Pump. The export is done this way: EXPDP userid/password dumpfile= logfile= directory= remap_dumpfile

  • Error :2 i move in the new ios system

    hey guys. i have i move and after upgrading to the new ios i got all the time error  :2 when im trying to share it in everyway from the i move software. ideas?