CREATING ENTRIES IN ZTABLE

I 've created a ztable....with field mandt, id (both are key) fname, lname.I was sucessfully created one entry..could'n proceed to create other entries...Getting a display....a datarecord already exists...How can i avoid this

here <b>MANDT</b> is primary key.
so u can enter only one record.
if u want to enter other record you have to remove primary key to MANDT.
no other option.
suppose you logged in 100 client record in that table will be only one and that too the MANDT with 100.
if u tries to enter 2nd record, that record also hold MANDT as 100, it won't accept coz it already exist.
<b>reward if useful</b>
Message was edited by:
        santhosh reddy

Similar Messages

  • Creating multiple entries in ztable with the same name

    Dear sir / madam,
    iam new in sap-abap , i have created ztable in se11, table name zrajesh
    and fields i have created zemp_name and zempid which has data element and domain also. and zprice.
    when iam creating entries in table mataince generator
    eg: zemp_name     zempid       zprice
          rajesh              001             100
          raj                     002            110
          rajesh              001             200  
          rajesh             001              300
         rajesh              001              250
    i am looking forward to create multiple entries of the same employ name .. as shown in example . iam able to create numbers of entries with the help of different names. is it possible to create numbers of entries with same name..
    and it will show all the entries in the list when display.
    please help me..
    regards,
    rajesh swami

    hi,
    have a look at these tables
    VBAK -  Header table
    VBAP -  Item table
    here in table VBAK we have a key field VBELN(document no.)
    Whereas for the same document no. we can have many entries in the the table VBAP where the key is VBELN(document no.)
    and POSNR (line item no.).
    You have to do something of this type i suppose ............
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • How enter the values in to table when create entries option is not working

    hi everyone,
         can u please tell me How enter the values in to table when create entries option is not working.
    it's urgent.
    thanking u all

    Hi Shree,
    how many entries u want to insert ,,
    is it a ztable or custom table ..
    just tell me ur clear requirement ..
    clarify the same ..
    if no options avaliable then if its less entries or some value u can do it through debugging ..
    if its bulk entries then u can write a program ..
    just let me know ..
    regards,
    VIjay

  • Need help for getBindingContext() after Creating Entry.

    Hi Developers,
    I am Creating a entry using Model.create() method in my 1st View.
    oModel.create('/ProspectSet', oEntry, null, function(oData,oResponse){
       oEvent.getSource().getParent().close();
       sap.m.MessageBox.alert("Prospect No " + oData.Partner + " created successfully");
        },function(oError){
        oEvent.getSource().getParent().close();
        sap.m.MessageBox.alert("Failed to create Prospect");});
    Now after successfully creating the entry here I need to navigate to my 2nd view and display the Entity which was just created. I don't know how to get the binding context of the newly created Entry.
    I am using this.nav.to("Detail", context); for Navigation.

    Hi Amit,
    You can use the function drill down ,if you want to drilldown based on product then based on location ,then the logic should be like this
    Drill Down on Product
    DRILL_DOWN( '9AMATNR' )
    Drill Down on Location
    DRILL_DOWN( '9ALOCNO' )
    Scheduling the job in background
    1)Create activity using the transaction /n/sapapo/mc8t,there you define the macro which you going to execute in background and planning book and dataview which having the macro.
    2)Create background job using /n/sapapo/mc8d,there you can define the activity which you created recently and select the aggregation on which you are going to execute the job.
    3) Go to SM36 ,there you the program as /SAPAPO/TS_BATCH_RUN then give the background job name as variant.
    Execute the job,it can be immidiate or periodic.
    Please let me know if you need more information.
    Regards,
    Prabhu

  • How to delete the total entries in ztable

    Hi ,
    How to delete the total entries in ztable...
    code pls.
    regards,

    Hi Venkat,
    pls see below records,
    Plant  Material                       Alternate material
    3770  00000000000126875          2020202
    3770  000000000005999335        2020202
    3770  117196                           2020202
    3780  00000000000126875           2020202
    3784  00000000000126875         2020202
    3784  000000000002809336       2020202
    3784  000000000005999335        2 020202
    3789  00000000000126875            2020202
    if  i write below syntax ,
    delete from ztable where matkl = '2020202'.
    all records contains  matkl = '2020202' will be deleted ??
    pls. reply.

  • Not able to create entries for ALBTCMON (SCM 4.10)

    I am trying to create entries for monitoring jobs that start with "SAP_*" and I am trying to add entry into ALBTCMON table.  But system is trowing the message as below.
    ===============================================================
    Create data processing function module
    Message no. SV023
    Diagnosis
    You have called the function for editing view contents. The function modules needed for the maintenance functionality of this view are not available in the system.
    Procedure
    The data processing function module must be re-generated.
    Contact the system administration.
    ===============================================================
    Can somebody tell whats wrong.  I am working in SCM 4.10.
    Regards,
    Giridhara

    Make sure the xWebsites metadata field has the siteId of your site. And as Srinath said, make sure it's "Released"; which can take a moment or two.

  • Automatic Creation of primary key at the time of creating entries

    Hi All,
    I have a requirement to generate the primary key automatically at the time of creating entries. I have managed to do so by writing an event code for the maintainance object in SE54.
    However called only when I create entries throught the Maintainance View.
    It does not get called when I write an insert statement in the program.
    Please suggest a way to achieve this.
    Thanks in advance,
    Archana.

    for assigning the primary key while using insert statement, write a piece of code to get the last pk value, increment it by 1 and then assign this value to the pk field of the next record while inserting. if you are using a fn mod to insert values, just have this piece of code right before the insert query. a better way would be to use a GUID which will be unique globally. there is a fn mod GUID_CREATE which you can use to generate GUID. i don't think there is a way to automate this while making entries using se11, unless you change the code that actually creates the entry in the database.

  • Checking the initiality of the fields while creating  entries for a table

    While creating entries using table maintenance generator(TMG) i need to check the initiality of the fields.Are there any such events?
    I know i can go and change in the screen by making it mandatory or by writing a module in the PAI of the screen of table maintenance generator. Both of cases i have to change the TMG which is generated by SAP system. I want to know is there a way to achieve this with out changing the TMG possible events?

    hi rahul,
    as far as i know, you have to do your initial valifdation in TMG and you have to change your TMG. However, if you have checked the initial flag while defining the field, you will not have initial value for that particular field.... (if the field is key field, by default it is not initial)
    hope this helps....
    thanks and regards,
    tanmaya

  • After creating a customizing database table 'create entries disable'

    After creating the database table i want to add fields through goto-table contents-create entries but "create entries" is in disable mode how can i resolve this?

    Dear Dileep,
    You need to go to "Delivey and Maintainence" tab there you will "Data Browser/Table Maintainence",
    Here you need to select "Display/Maintainence Allowed" in the drop down list.
    Thie will help to find the "create entrie enable".
    Thanks,
    Ananth.

  • Create  of (demo for)OVAI (transaction for create entries for each vendor)

    hi all,
    can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
    thans & regards,
    srinivas reddy.

    hiii
    yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
    call transaction (variable)..in background process.
    regards
    twinkal

  • Authorization for Z Program for creating entries

    I have created a dialog program to maintain employee details with menus Create, Change, Display
    My concern is that i want to restrict some user for creating entries in database table through this dialog program those users only authorize to display data.
    Please guide me how to do achieve above.
    Thanks

    Hi,
    You can make use of the system variable sy-uname which holds the user logon name. Based on this u can decide whether to allow the user in edit mode or display mode.
    Regards,
    Naga Sai

  • What is the procedure to create entry in NAST table for particualr document

    Hello ABAP GURUS,
    I need to know how to create objectkeys in NAST table for particualar document number.
    My requirement is i need to check my smartform output for Goods Receipt.IN nast table,i dont have any entries for Goods Receipt.So i need to create entries in NAST table.Please help me to solve this problem.
    waiting for your replies
    Regards
    Maruthi

    Hi!
    Ususally it is not neccessary to create manual entries in NAST.
    You have to print the document from its transaction. Naturally there may be some other settings which are required after setting transaction NACE.
    If you understand the Letter of delivery on the Goods Receipt, which can be printed from VL02N, then you have to set some automation to your printing using transaction VV22.
    Regards
    Tamá

  • Creating entry in table COSS

    Hi All,
    I want to create an entry in table COSS..
    if any transaction please tell me....
    or any other ways....
    Please help me...
    Thnx
    Rohit

    Hi All,,
    What i found is that for creating records in COSS we can use KP06 transaction...but with cost Element with Secondary cost element categories ....ie 21,31 42, 43,etc
    then only it will creates entry in COSS....
    Till now this is my finding.....
    if u have another way plz let me know....
    Thnx
    Rohit

  • Creating entries in a database table

    I have created a database table and want to insert new records in it thru this path -
    Utilities --> Table contents -
    > Create entries.
    But the create entries is not highlighted i.e. the system is not allowing me post entry in this way.
    Any idea why it might happen ?

    Hi Kushal,
    The issue is that the Table View Maintenance is set to be anything other than "Display/Maintenance allowed".
    You can get this in the "Delivery and Maintenance" Tab when you open the table through SE11.
    Change this to the above mentioned value and then you can create entries in the table.
    Thanks,
    Ajay.

  • BDC for PA30 action hire is not creating entry in IT 1001

    Hello All,
       I created a BDC for to create hire action in system to create some dummy data, but its not creating entry in infotype 1001 for relation between person (P) and position (S). If i create entry in PA30 it create ebtry, if i try BDC in Dialog mode even then its not creating it.
      I read a lot about Dynamic action in this kind of issue but i seen table T588Z but there is no any insert dynamic action for IT 1001.
    Can anybody throw some light on the cause of the same.
    i tried to create same data with FM HR_MIANTAIN_MASTERDATA but i have to drop that idea becasue it was not able to crate record with empty PERNR field. if your answer is use this FM then please provide some working code as i searched a lot on the same issue but no any concrete proof on the same.
    appreciate any reply.
    Mani

    Hi,
    Are you getting any error?
    If not i think you have to lock the employee before creating an entry to the IT 1001 using FM
    'BAPI_EMPLOYEE_ENQUEUE'
    and create an entry to IT 1001 using BDC or HR_MIANTAIN_MASTERDATA
    and unlock an employee by using FM
    'BAPI_EMPLOYEE_DEQUEUE'
    Regards
    Krishna

Maybe you are looking for

  • Mini DisplayPort to HDMI Adapter Cable not working on MacBook Pro

    only showed my background on my tv, didn't recognize actions though. I could see my desktop background but it didn't show what I was seeing on my laptop screen. Help? Do I need an adapter?

  • SDO_UTIL.TO_CLOB odd head scratcher

    Hi folks, I'll try to submit this to support but thought I should log it here in case anyone is interested. Using Oracle 11.2.0.3. I am still occasionally poking at the uber SDO_GEOMETRY issue (see Re: upgrading to uber SDO_GEOMETRY, looking for comm

  • Ibook wireless but pages not loading correctly

    I just hooked up my ibook to a wireless connection, However when I go to pages like espn.com and msn.com, alot of the information on the pages are not loading. Anyone have any ideas? Chris

  • Regarding date format changes

    Hi All, I have a date variable. Th date variable is v_doc_date which is declared like SY-DATUM. I will get value into that variable in format <b>DDMMYYYY</b> EX: <b>18072005</b> now i want make that variable as <b>18.07.2005</b> through Function modu

  • Random selection/movement/execution of any tool involving mouse click.

    Hi nice people, hopefully you have a good day before reading my post. Since there're already several posts about this issue, I'll save some trouble explaining the issue. From this forum: http://forums.adobe.com/thread/373520 http://forums.adobe.com/m