About create a new record in MM01

hi,all
I have created a new record of MARA-MATNR = 'Raffin_001' in MM01.
But I don't know how I can find some fields like "MARA-WRKST".
Can I write
           UPDATE MARA
              SET WRKST = 'XXX'
            WHERE MATNR = 'Raffin_001' "
to replace it?
Is it right?

Hi,
WRKST - Is the field name for Basic material
Basic Materia is defined in OMT6 tcode
Path - LG - MM - Settings for Key fields - Define Basic Material.
After defining in the SPRO settings then you can enter this basic material in BASIC DATA 2 under basic material field for the material code you wanted.
Thanks & Regards,
Kiran

Similar Messages

  • Filling datarows before creating a new record  frm-40735 ora-01422

    Hello
    I want to create a user-control table where I Store in the Mastertable the user informations. in the 2 detail tables I store the programmnames of the first level, in the second table I store the name of the form and if the user is allowed to insert, amend or delete.
    I use a Master/2 Detail-Form. When I create a new record in the master block, I want to fill in the first and second detail block, informations of another user of the 2 detail tables. therefore I created a when-new-block-instance trigger with the following code:
    select programm
    into :k_zugriff.Programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    because this sql serves more than one row I receive the error code frm-40735 ora-01422
    so how could I solve the problem to insert 5-10 rows in :k_zugriff.Programm. I can not make an insert before I go to the block k_zugriff, because the user number is not commited known. Also I want to commit the form when all informations are filled in. in case of a mistake I want to exit the form with no commit;
    has anyone a usefull Idea?
    regards
    robert

    it works thank you. where can I get further information about this technik. are there any turtorials or something where I get information how to build this complex forms??
    right statement
    DECLARE
    CURsOR cr IS
    select programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    BEGIN
    FOR rec IN cr LOOP
    IF :SYSTEm.RECOrD_STATUS!='NEW' THEN
    CREATE_RECORD;
    END IF;
    :k_zugriff.Programm:=rec.PROGRAMM;
    END LOOP;
    END;

  • Need help to create a new record in mdm using java webdynpro

    hi all,
    I have to develop an application to create a new record in mdm by using java WebDynpro  . Please help me what is the process that i have to follow to do this and provide me if you have any step by step guidance for this.
    thanks & regards,
    Mahi.

    Hi,
    The below link will help u to make the application in JAVA webdynpro
    The article has code to for creating records.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/803e9e80-21f4-2a10-8cbf-bcf6a8060be3
    Hope this may help u .
    Rgds
    Ankit

  • When creating a new record in a list, I want to create a new record in another list, too, together with the ID of the first record

    OK, for anyone who has ever programmed a database, this one is easy. However, I am EXTREMELY limited. I work with SharePoint 365 (2013). I am pretty proficient in a number of programing languages, but I really don't know how to program SP. I wouldn't even
    know where to put code.
    Say, I have two lists: List A, with Items A1 (ID), A2, A3 and List B, with Items B1 (Lookup to A1), B2, B3. What I want this: When I create a new record in List A I want that also an empty record (except for the B:A1 item) is created. Is that possible without
    any major programing?

    you can create a workflow to achieve your requirement
    http://sharepoint.stackexchange.com/questions/50059/create-a-list-item-when-item-is-created-in-another-list
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Create a new record in transformation

    Hi there,
    I would like to create a new datarecord, in a start/end routine or in a characteristic transformation routine. I am loading data from one cube to another.
    I have, say, a data structure looking like this:
    GL_Account; Fiscyear; Version; Amount
    111000;          2008;      01;         100.000
    I want to, based on this record, create a new record where version gets a new value (ex: 10, instead of 01), so the new record would look like, eg,:
    GL_Account;  FiscYear; Version; Amount
    111000;          2008;       10;        100.000
    What would be the best way of doing this?
    Thanks for your help.
    Jon
    I'm on BI 7.0

    Hi,
    Do this in End routine of Transformation,
    data:
              itab type tys_tg_1,
              it_resultpackage type tyt_tg_1.
        append lines of RESULT_PACKAGE to it_resultpackage.
        loop at it_resultpackage assigning <RESULT_FIELDS>.
        if <RESULT_FIELDS>-version = '01'.
            <RESULT_FIELDS>-version = '10'.
                append itab to RESULT_PACKAGE.
          endif.
          clear <RESULT_FIELDS>.
        endloop.

  • JDeveloper 10g Creating a new record with trigger sequence primary key

    Hi there, I'm sorry to post this incredibly simple question and I'm sure that someone must have answered this on this forum before but the searching of this site is incredible slow and painful and after 30 mins I can't find help.
    I am using a struts Data Action to create a new record in the database and then being forwarded to an edit page where I can enter the new details. Then when the details are entered I am clicking an update button and returning to a browse screen where I can either commit the change to the database or rollback. Sounds pretty simple but I am really struggling with trying to get the trigger of the number sequence to work properly.
    Ideally I would like to click the create new record button and then the primary key/triggered sequence number is already displayed on the empty form...
    ... but if this is too tricky or not possible then I would like the user to either not enter any value in the key field (which currently causes error - JBO-27014: Attribute PoNo in PO_SYS_MODULE.PoSystemView1 is required) OR the user enters a number and the trigger overwrites this number with the next in the sequence.
    I can enter a new record if I look in the manager console and see the next number in the sequence and then create the record using this number and then click commit twice, as the first time I get the error: JBO-25019: Entity row of key oracle.jbo.Key[154 ] not found in PoSystem. Or if I enter a value 5 times greater than the next in the sequence I have to click the commit button 5 extra times to get the sequence to match the input.
    I hope that this lengthy explanation fills you in on my problem, there must be a simple solution to this and I will be VERY grateful to anyone who can help me.
    Many thanks
    Ben Sayers (clearly a newbie)

    Hi,
    ADF Business Components handles this for you - unless yo prefer doing this manually. In the Entity Object, set the PK attribute's type to DBSequence. Then create a database sequence and use a database trigger to add the sequence value on insert
    Frank

  • Firefox is refusing to start. It says that my profile is missing, which it appears to be. Yet the way in which one goes about creating a new profile wont' work either. Anybody have a bloody clue what's going on and how to fix it?

    Firefox is refusing to start. It says that my profile is missing, which it appears to be. Yet the way in which one goes about creating a new profile wont' work either. Anybody have a bloody clue what's going on and how to fix it?

    AIR give you classes to detect an on-line or off-line status, it's in 
    this way for the sake of flexibility for instance what happens if you 
    only what to sync  data only on Saturdays at 2 am? If it were done 
    automatically that'll be a problem. And it isn't so complicated.
    You can download the SalesBuilder from AIR examples at www.adobe.com/devnet/air
      it's an application that does everything you have in mind.
    I don't understand your question abou file types.
    An AIR app can communicate with almost every backend served tech 
    CF, .Net, PHP, RoR.
    Sincerely,
    Michael
    El 14/05/2009, a las 8:48, IrishAIRMax <[email protected]> escribió:
    >
    I have to say that I'm loving the picture! well cool!
    >
    Sorry but I don't quiet understand. I thought AIR did the updating 
    automatically? I didn't realise the developer had to program the 
    logic of how the updates take place?  Is it a case in most AIR apps 
    that when online the app updates the server and once every intervel 
    (of however long) the local SQLite DB is synced to the more updated 
    server DB. Then when offline the developer has to sense that the app 
    is offline and store a log manually of the updates without any help 
    from AIR itself, and then update once it comes online again?
    >
    Can AIR link to anything more than a database on the server side 
    apart from webservices, for example .as files or any other file types?
    >
    What type of server is a Flex app stored on, is it a specific Adobe 
    server rather than a Java or .NET server?
    >
    Thank you so much for your last comment!
    IrishAIRMax
    >

  • Generate extra record when create a new record in secondary form

    I have been troubshooting this for a logn time:
    I have exemption form ties to exemption table. because there are two many info on exemption form, I create a second form called exemption (2) form and ties to exemption(2) table. Then, I create a "Go to exemption(2) form" button from the first form and it will redirect the user to the second form once they click it.
    Once the users complete the second form entry, and click the Create(which is the save record) button, it not only creates a new record in exemption (2) table but also create an extral record in the first exemption table.
    I used the exemption sequence to genertate the id so for example,
    Exemption (1) has 3 records so far, but after the user add the record in the second form, Exemption (1) has 4 records.
    How do I make the first form and the second form consistent in the ID?
    Thanks so much in advance!

    Thank you Tauceef for your help,
    If I get your problem exactly, you are using a sequence for the ID, and you want to insert the same ID in both Tables 1 & 2 - Yes, it is exactly what I want to do
    for that what you can do is, in the first form submit process, you can assign the sequence value to a hidden or application - I use exemption sequence and the first form takes nextval of it.
    item in your first form and use that item in your second form. - then, I went to the second form, and assign the ID to the first form ID (the page item in application)
    I got error message saying can not insert NULL value to second table, can not process the row.
    Can you show me the submit process in the first form?
    Hope it won't take too much of your time,
    Kitty,

  • I have added a new field in IT0006 ,Now when try to create a new record for

    Hi Experts,
    I have added a new field in IT0006 ,Now when try to create a new record for a employee.
    1,If I give the SUBTY in the PA30 screen getting an error "Don't Specify a subty error"
    if and remove the subty and press CREATE button popup's comes and list the subty values.......It was allowing me to enter the subty in the PA30 screen prior to my new field addition in IT0006... is't a problem with the new field addition?
    2, After I choose the subty value from the pop-up I am able to see the next screen....BUT GETTING AN INFORMATION MESSAGE THAT "Assignment to feature P0006 did not take place"?
    3,, In the next screen after I have passed all mandatory fields while attempting SAVE I am getting an error called " Time constraint table in T777D is incorrect" what could be the cause?

    How are u adding fields to table using append in se11 or pm01.
    if you are adding fields using se11 delete it and add it0005 in transaction pm01 and generate object.
    add fields to structure CI_XX_R0005 and generate screen and maintain entry and screen in maintance view add entry and activate program.

  • Error when I create the New material Master (MM01) for New Plant.

    Dear experts,
    I got the error when I create the New material Master (MM01) for New Plant.
    Error:  Valuation Area 2800 Not yet productive with Material Ledger.
    So Pl send me the solution asap.
    Venkata Raju Khottari

    Hi,
    Have u assinged Plant to Company code?
    If u say no, use T.code OX18.
    Regards,
    Murali
    Assign points if it is useful.

  • Populate fields when creating an new record

    Hello,
    When I create a new record from an other record type (ex: a service request from a task), I would like to pre populate some fields which are common to the task and the SR (ex: Owner, Account, Contact) and already on the task record.
    I have read that I could use the joinfieldvalue function with the post default activated.
    But the fields Owner, Account and Contact are read only picklist on the service request record and I am not allowed to use the default feature...
    Could you help? Do you have any idea?
    Thanks in advance
    Laurent

    Hi, As a service request can have multiple activities and you dont have the activity field (primary) in the service request, i dont think it is possible to acheive your requirement through JoinFieldValue. On the other hand if you like to default activity fields on basis of the associated SR to activity that is possible as the activity has the associated SR information. Hope it helps
    -- Venky CRMIT

  • Form Creating an new Record

    Hello,
    I have a simple form for entering records in a table. After entering data and pressing the create button it creates a new record. However it clears the fields for the next record to be entered. I've got two questions:
    1. If I want the form to stay within the new created record instead of emptiying the fields, how do I do that?
    2. Is there a posibility to search on a form? An example would be appreciated.
    Thanks in advance,
    Denes

    1. If I want the form to stay within the new created
    record instead of emptiying the fields, how do I do
    that?Ahh exactly the same question I was just searching for an answer to! =)
    Anyone got any ideas?
    - JMW

  • Web GUI new feature - creating a new record based on the current record

    Vincent,
    We need new feature in Web GUI:
    creating a new record based on the current record with data
    from Moscow with money

    It is already enabled, in the next release.
    If you joint TAB program, the march preview build contains it. User can select 1 or multiple users and make a copy.

  • Considerations about creating a new plan infocube

    Question is too generic and please search the forums before posting
    hi gurus!
    what r the considerations about creating a new plan infocube?
    best regards
    Edited by: Arun Varadarajan on Jun 2, 2009 3:19 AM

    Hi Arun,
        One important thing to note regarding a planning cube is that, the data can be entered in to it through the BEx tools as a APO request. But one prerequesite here is you have to first create an aggreation level on top of the planning cube and then create a query on this aggregation level.
    Now if you open this planning query in Analyzer or WAD, then you will be able to enter data from there and even save it back to the cube as APO requests. (Manual planning)
    With Best Regards,
    Balajee.

  • Problem with a primary key when creating a new record in Forms

    My table has a field - MDD_KEY - that is a primary key. It is updated from a sequence with a before-insert database trigger. I know this works properly as the primary key was accurately populated when I inserted 1433 records.
    In Forms 6, I have a form based on that table. I have set the mdd_key as a hidden field because I assume it will be entered by the before-insert trigger. However, when I enter data into the table, and then try to save it, I get a FRM-40202: Field must be entered. - followed by - FRM-40222: Disabled item MDD_KEY failed validation.
    If I set DATA Required to no, when I try to save I get an FRM-40600: Record has already been inserted - but no such record exists in the database. I know this record is unique and does NOT exist because I deliberately made it up.
    In the property palatte, the attributes of the field are:
    DATA Data Type Number
    Required Yes
    DATABASE Database Item Yes
    Primary Key Yes
    Query Only No
    Query Allowed Yes
    Query Length 0
    Insert Allowed Yes
    Update Allowed Yes
    Update Only if Null No
    Lock Record No
    I assume that my problem is that with a new record, the form wants to see the MDD_KEY populated before it saves - but that isn't going to happen until the before insert trigger fires in the database. I assume I have to populate that field within forms, but how do I do that without messing up the database trigger/sequence? I will have to load more data directly into the database - so I need the database trigger in place.
    I have not used primary keys before so I am more than a little bit confused about how and when it should be populated when a new record is created in Forms.
    Any help would be appreciated as I cannot enter new data into my form (works well with existing data).
    Thanks
    Glenn

    hi
    if u have any problem using seq then try that statemetn ur block level in ur form
    PRE-INSERT trigger
    select nvl(max(nvl(srno,0)),0)+1 into :srno from tablename;
    Rizwan

Maybe you are looking for