How to delete a key field in a Transparent table

Hi,
I have created a Transparent table Zemployee in which there are 4 fields ( id, name, job, hiredate). I intend to make primary key consists of 2 fields (id, name) but by mistake I have included job field as well.
Now I want to change job field from a key field to non-key field, I use SE11 to display the maintainance of the Zemployee table, unmarked the key label column on job field then I save and activate the table but the system fail to activate the Zemployee table.
So now, what shoul I do to solve this problem ?
Thanks,

Hi,
I have tried again and it work well ( use SE14 as you talk). and now I make job field become key-field again and use se11 to change it to non-key field and it work well too. So I think the problem maybe at the network or somethings else.
Thanks and regards,

Similar Messages

  • How to DELETE a TARGET FIELD in a structure of LSMW for GL accts creation?

    Hi Experts,
    I developed a LSMW for GL accts creation.
    I used DIRECT INPUT method, below are the details,
    Prog. - RFBISA00
    Object- 0010
    Method - 0002
    Prog. type is "B" - Batch input.
    Issue: we r getting ther BSKX structure, its for GL Creation.
    But, here we r getting the field STYPE in this strucure, its making issue for us.(we dont hv any SOURCE STRUCURE for it, so, nothing is assigning for it?
    Pls. let me know that,
    How to DELETE this STYPE field in this LSMW under field mapping radio button?
    thanq
    Edited by: SAP ABAPer on Nov 18, 2008 3:34 PM

    Well Carlos, that would destroy the process, as STYPE is a necessary, technical field. Please care and read previous replies before suggesting potentially dangerous action.
    Thomas

  • How to set a key field in a local provider for BW workspace

    Hi Experts,
    I've created a local provider through BOBJ analysis for excel / Workspace designer in a BW workspace. However, all the dimensions by default are not having the key field enabled and I'm not able to enable the key field through BW workspace. Also I see the Fact Index Without Key is enabled by default in technical settings, which is not allowing me to select "Fact Index with Key" either. When I go to edit mode, it says "Analytic Index XXX can only be changed in workspace designer". I even tried to go into workspace designer and by selecting the necessary local provider, I coudn't find an option under Local Provider->Reload Provider->Reload (With Changes)->Choose File->Edit Columns to enable the key field(s) for the dimensions.
    Can you please help to locate how to enable the key field for dimensions in local provider.
    Thank you in advance.
    Regards,
    Karthik

    There's nothing to solve. If Reader (XI only) is used only PDF files can be selected. This is how it's supposed to work (although I agree it's silly and should be changed).

  • Creation of key field in a database table

    Hi All,
    As per my requirement, i have to add few new key fields in an existing table.
    Now total number of key fields are 17, but while saving this is giving me an syntax error stating 'According to SAA standard key fields cannot be more that 16'.
    I s there any other go? i can not reduce the number of key fields.
    Regards,
    Pankaj.
    Edited by: Pankaj Bist on Sep 5, 2008 3:24 PM

    Hi,
    In the se11 transaction,In the menu bar o like this.
    Utilites-->Database Utility and the Press the button Activate and Adjust Database.
    Note:
    Make sure that you total data in the table to be downloaded into ur system.
    As ctivate and Adjust Database makes data to be deleted.
    Regards,
    Rama.

  • Adding 2 new fields as Primary Key field in a Z Table which is existing PRD

    Hi Friends,
    I have to add two new fields as primary key fields in a Z TABLE, which is existing in Quality and Production Systems with Data.
    If I incorporate these two new fields (Primary Key fields) in development and if the TR is moved to Quality and Production sytems, is there any possibility of loss in data will happen at Quality and Prd systems?
    At present, Table is having 20 fields with 2 primary key fields and i have to add 2 more primary key fields.
    I have checked in SCN and not find relevant threads.
    Please help me out.
    Regards,
    Suresh.

    NO . It wont be a problem .
    For ex :
    If you have VBELN  , POSNR are key fields now , you have an unique reord with that combination .
    If you add one other field in it  fo ex  VKBUR  then records will be like this
    VBELN     POSNR     VKBUR   MATERIAL   QTY
    10020      10                            abcxyz      1
    10020      10            1234        abcxyz     1
    So your previous records before adding new primary keys , will have new fields balnk , and the new records will have data filled up in all primary key fields .
    However , if you try to update the existing records that will be in existing PRIMARYKEY combination only .
    for example if you try update record 1 above with VKBUR value 85858 , it creates a new record , it wont be updated in existing record.
    Hope this helps , Pls let me know if u have any more doubts.

  • Changing Non key field to Key field in a custom table

    Hello Abap gurus:
    I have a requirement in which i need to change a non key field in my custom table(Z TABLE) to key field.
    For example; i have field sequence as
    field 1  key field
    field 2 key field
    field 3 key field
    field 4 non-key field
    field 5 non-key field
    field 6 non-key field
    field 7 non-key field.
    i want to change field 7 as key field.
    Can i do perform operation??
    when i am tryingto perform bove operation it is taking long time to get the table activated.
    Could any one please help me in getting this resolved.
    regards,
    Sravanthi.

    Use DB Utility (se14) to perform alter table or conversion. The latter is used when atemps to perform first operation fails. Which one is used, really depends on system and current DB table state (i.e. if has any content and what is being adjusted).
    The way Max suggested is similar to [conversion process|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1b8446011d189700000e8322d00/content.htm] which system takes care of itself.
    Refer [Adjusting Database Structures|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21f1ab446011d189700000e8322d00/content.htm] and already given link to conversion.
    Please also consider potential errors while doing conversion . This can lead to data loss, so you should think of some backup to prevent that.
    Regards
    Marcin

  • Significant of key field in Info cube table

    Hi,
    what is significant of key field in Info cube table?
    Best regards,
    dushyant.

    hi ,
          key figures are very important in tables, when it is in cube it act as dimensions
    for the reporting purpose see this scenario
    the table has following fields
    student no
    student name
    student attendance
    student mark
    in this scenario when we want report according to student no its normal we would get, but when we want according to attendance,marks we dont get report according to attendance and mark, so we put all those fields in key fields.
    So we could say that Key fields are the dimensions and according to this we get reports
    thank yu

  • No of key fields in a database table

    hello experts,
    can anyone tell me what is the maximum number of keys we can have in a database table.
    thanks in advance

    Hi,
    There are two restrictions on the key fields while creating a table.
    1) The maximum number of keys in a table can be 16
    2) The maximum length of the key fields can be 120.
    Regards,
    Ferry Lianto

  • How to find the structure fields data in database tables?

    how to find the structure fields data in database tables?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • How to delete master data of materials from sap tables

    how to delete master data of materials from sap tables...its needed now.
    i know its not recommended but still we need to do this. give me the best possible approach.
    regards,
    suneetha

    Hi,
    I would suggest you not to write your own code to delete the entries.
    BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.
    Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.
    Regards
    Subramanian

  • How to interpret a formula stored in a transparent table

    Dear all,
    I have filled in a specific transparent table with some formula. I would like to read the table, find the formula and take the result of this formula in a variable
    In my table :
    Country, formula 1, formula 2
    FR, P + 1 ( 1 / 80 ), R * 1 ( 1 - 30 )
    In my program,
    I read the table with the country as key, and I would like, first to replace the P and R by a value in the program, and I would like  to interpret the formula and put the result of this in a variable
    if Country = FR
    replace P by w_price in formula1
    replace R by w_tva in formula2
    w_result1 = formula1
    w_result2 = formula2
    I don't know how to do interpret these 2 statement like :
    w_result1 = w_price + 11 ( 1 / 80 )
    w_result2 = w_tva  * 1 ( 1 - 30 )
    I tought to use the field symbol and assign but w/o success for the moment
    Can anybody help me ? it is very important.
    Thanks
    Kind regards
    Véronique

    Hello,
    I think my questions was not so clear.
    In fact, the formula is in a field in a transparent table
    for example : my_table has a field my_formula. In this field I have written:   P + 1 ( 1 / 80 )
    I need to interpret the content of the field my_formula to solve the formula and put the result in a variable.
    I don't want to write the formula directly in the program
    thanks
    Véronique

  • How to delete custom AET fields in CRM 7.0 Web UI

    Hello gurus,
    When I want to delete a custom AET field created by a mistake or for exercising purposes only, the UI Config tool markes it for deletion by changing a status to "Marked for Deletion" (a garbage bucket icon). My question is how to proceed further, i.e. eliminate the field completely. Do I need to manually delete the fields from the "Append" structures in the corresponding CRMS_xxxx Attribute structure, or do something like this?

    Hi,
    note: please do not delete the field manually from SAP GUI.
    AET is able to create and delete custom field. The deletion process happens always in 2 steps.
    1. you select which field you want to delete and press on delete icon. This will mark the field to be deleted.
        As long, you do not "Save and Generate". This deletion mark will not be persisted and the complete deletion of the field will not be executed. Having this mechanism, you are always able to cancel the deletion.
    2. If you really want to delete the field. Press on "Save and Generate". "Save" will persist the deletion mark for the field.
        And "Generate" will do the "Delete" generation.
    Please don't forget to remove the field from the UI configuration, when you configured the field in any UI Config before.
    Regards,
    Steve

  • How to delete a custom field created in Address Book template?

    It is possible to create a new custom field name in any of the pop-up field categories in the preferences template for Address Book.
    But, once created, there does not seem to be a way to delete or edit the newly created custom field name. That doesn't make sense.
    Tell me that I am wrong, and then tell me how to delete or edit a custom field name. Thanks!!

    Thanks Pascal, I can change the viewed template field areas as you have described. My problem was with modification of the pop-up list entries: adding, deleting, and renaming user created custom field entries. I have since figured out how Address Book allows these functions; unfortunately, that specific information is not present in the Address Book help file.

  • How to make a key field manadatory, in a Z-Table (SE11)

    Hi,
    I've created a Z-table is se11 and one of the key fields is IWERK. Now the user does not want this field to be blank when they enter data into the table via SM30.
    Does anyone know how to make this field so that a blank entry is not acceptable.
    Many Thanks!

    Hi Robert!
    One way would be to adjust SM30 to a mandatory field (in SE11 of course), but this field sounds like you can assign T001W as a check table. In the foreign key definition, you can give a error message, which is called in case of wrong entries in screens -> there is no empty entry in T001W, you can only maintain valid values and got a value list.
    Regards,
    Christian
    P.S.: No, you need to change SE11->Table maintenance generator->Enviroment->Modification->Maintenance Screens->Element list->Tab Special attr. column Input. Set 'required'. Otherwise empty is still allowed
    Message was edited by: Christian Wohlfahrt

  • How many primary key fields  allowed for one table?

    hi,
    when i creating a table , how many primary key fields are allowed for one table.
    please any one give ans
    thanks

    Just checked it,  Its 255, not 155.  You can have as many key fields as you want, but you can not go over the 255 byte length for the total of all key fields.  You will get a warning for over 120, as it says that there is limited functionality with a key over 120 in length.
    Again, this is a total length of all key fields.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Late 2013 retina Macbook Pro kernel panics

    Hi guys, maybe you can help me. From time to time my macbook has to restart because of kernel panics. I cannot really provoke a crash.. at first it only happened when I went to fullscreen mode in VLC. thats why I thought it might be just a bug in VLC

  • Multiple Idoc to a file

    Hi,   I gone through the blog /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm but i am not able to understand about message mapping I am using two idoc EUPEXR.IDCREF01.ZDCREF01 and PAYEXT.PEXR2002.ZEXR2002 and I created fi

  • Possible to retrieve Hyperion data directly into SQL Server?

    Currently we retrieve data into Excel spreadsheets and then often import it into SQL Server. It would simplify things if it was possible to call HPVAL from within SQL. Is anyone doing this? Any suggestions on where to research this further? Thx. Broo

  • BRFplus: Conversion Exits in Elements ?

    Hi all, I have created a custom DDIC Domain with a conversion exit (that is, with FMs CONVERSION_EXIT_xxxxx_INPUT and CONVERSION_EXIT_xxxxx_OUTPUT).  The idea is to define a single duration field that will hold days, hours and minutes.  Internally it

  • Reusable dynamic cache Lookup

    Hi, I have a problem in which i need to hit the lookup twice using a dynamic lookup as there can be redundant data (multiple changes).The problem is that i need to check two columns of the source table with a single column of the lookup to decide whe