Remove fields from table key

I define a customize table (maintenance only by cust., not SAP import).
5 of the fields are the table keys.
When I remove 2 fields from the key and adjust the table I get the following errors
“Primary key change not permitted for value table ZT7IL60”
“Activation of Table ZT7IL60 not possible (please check)”
Any clue why and how to remove some fields from the key?

hi there,
the reason for  this error can be any....
may be you are using that field in the foreign key reference of another table. thats y it is not allowing the change option as it will affect other table's values.
another thing can be the one suggested in the above post.
do reply if any of the methods mentioned helps.
Do reward if helpful./

Similar Messages

  • Removing fields from function profiles

    Hi
    Some one please help me in removing fields from a function profile. PFA for your reference
    Regards,
    Prem

    Hello Prem,
    Can you check the HTML-coding of the view? What is the name of the view? I could also check it in my system, even as we are not using this specific view. My other thought was, that it is a button, then you could remove it from the internal table GT_BUTTON of the IMPL-class of the view, but after rethinking I think it might be in the HTML-coding.
    Best regards,
    Thomas Wagner

  • Update PRODH field from table T179T

    hi,
    i want to update PRODH field from table T179T into table VBRP. for this we
    need to take selection option also.
    selection option will be :
    ·             Sales Organization (field VBRK-VKORG)
    ·       Billing Date Range (VBRK-FKDAT)
    ·       Distribution Channel (Vbrk-vtweg
    while i have done this for one field by using hard code but like:
    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    but this is not the right way. please guide me how to solve this.

    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    <b>commit work.</b>
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    use commit work after update statement.
    But this code would make vbrp-vbeln as plc01 only.
    If you want to get the prodh value from t179t, then write a sleect on t179t and then update.
    TABLES: VBRP.
    CLEAR VBRP.
    select single prodh
      from t179t
    where......
    UPDATE VBRP SET PRODH = t179-prodh WHERE VBELN = '0008300051'.
    commit work.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.

  • How to hide a field from table maintenance view?

    Hi,
    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.
    Thanks

    Chk this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing

    Hi SAP Expert:
    Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended. 
    We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters. 
    We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name.  The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4.  Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
    Hope this will merit somebody's attention... Thanks !!!

    Thanks,  i have assigned the layout via o7v3,  it is the program that i have a problem with,  actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen,  though we add a field with 40 characters (ADRC Name 1 to 4)  what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN. 
    My question is can i extend/change the structure RFOP_GEN to 40 characters,  is there any SAP standard program that will aftected if i do so?  thank very much...
    Lorena

  • Remove fields from MSS (60.1.2) iViews

    Hi, I have one issue related to removing fields from standard iViews in MSS 60.1.2. Could this be handled by object and data provider customizing in R3 or do I have to develop an new iView?
    /Regards
    Patrick

    Patrick,
      From what I found , the information comes from the following function module:
    HRWPC_RFC_EP_READ_GENERALDATA
    Returns the following:
    The system determines the contact data according to the following procedure:
           1.      The system reads office and telephone data from infotype Internal Control (0032)
           2.      The system reads infotype Communication (0105)
                                a.      The system reads the e-mail address (subtype 0010)
                                b.      If the Internal Control (0032) infotype does not contain a telephone number, the system reads the telephone number from subtype 0020.
           3.      If the system cannot find the data when reading the infotypes and subtypes, it reads user data.
    The system reads the remaining data from the Organizational Assignment (0001) and Basic Pay (0008) infotypes.
    And does not seem to look at any configuration in the IMG for determining columns.
    Have you considered modifying:
    EEProfileGeneralData.jsp
    which is the name of JSP used for display?
    Hope this helps.

  • How to remove fields from view V_QCMBSEG for table BSEG

    Hi
    By mistake have appended 5 fields in standard table BSEG,  after that i have deleted that appended structure from table, while deleting from different views network got disconnected i lost connection from server.
    So process get terminated and those fields left in view V_QCMBSEG.
    Because of this table partially activated.... is there any way to delete it
    Thanks

    its not activating ...its displaying error
    Field BSEG-ZZCHANNEL is still being used as a view field in view V_QCMBSEG
    Field BSEG-ZZPROD is still being used as a view field in view V_QCMBSEG
    Field BSEG-ZZPROJ is still being used as a view field in view V_QCMBSEG
    Field BSEG-ZZRECODE is still being used as a view field in view V_QCMBSEG
    Field BSEG-ZZSTATE1 is still being used as a view field in view V_QCMBSEG

  • Concatente field from table with node keys

    HI All
    I have table like the following
    and i need to concatenate all field names that releated to given
    nodekey until i will get to the root
    Field names             parent key       node key
    COMPLEXNODE1               1               4
    COMPLEXNODE2               4               5
    COMPLEXNODE3               5               6
    NODE1                       1               7
    NODE2                       7               8
    For instance if the node key that i provided is 6
    I will get in value field the following
    value_field = COMPLEXNODE1/COMPLEXNODE2/COMPLEXNODE3
    if the node key that was provided is 8
    i will get
    value_field = NODE1/NODE2
    The issue here is that the table can have more than 3 levls deep...
    Regards
    Alex
    Edited by: Alex Dean on Dec 1, 2010 1:15 PM

    HI Rajasekhar Dinavahi ,
    Thanks i try your code but there is a problem with your salution since i get the field route not in the order that i need
    /COMPLEXNODE3/ /COMPLEXNODE2/COMPLEXNODE1
    insted of
    /COMPLEXNODE1/ /COMPLEXNODE2/COMPLEXNODE3
    Regards
    Alex

  • Remove fields from dashboard

    The dashboard on the cProjects entry page (4.5.) contains about 50 different columns. Some of them are visible by default, while others can be added via ALV-personalization (link "Settings").
    I have now successfully added some customer fields to the dashboard, so that I have about 60 columns.
    Now, some of the default columns do not make sense at all in my company. How can I remove them from the dashboard (with removing I mean not only remove them from the default view of the table, but also from the list of possible columns under "Settings").
    I can of course delete them from the structure DPR_TS_DASHBOARD_ATTR, but this would be a modification, and could lead to syntax errors or other problems after the next upgrade.
    Is there an easier way?

    Hi Daniel,
    I don't think you can remove them, as it's a standard layout. For there are two options:
       - Either you remove the them from the defailt view in the administration mode for instance. In that case, the columns remain selectable in the settings as you mentionned.
      - Or you create a custom extract layout, copy from the standard one, without the non-desired fields.
    Matthias

  • Select fields from Table PA0001 where condition in PA0000 EQ X.

    I'm quite new here at SDN an to ABAP as my code below will show.  =)
    I have two tables PA0001 and PA0000 and I want to show the PERNR from Table PA0001 WHERE PA0000-stat2 EQ '3'.
    SELECT PERNR STAT2 FROM pa0000 INTO CORRESPONDING FIELDS OF TABLE it_act WHERE stat2 EQ '3'.    "this works fine
    SELECT * FROM pa0001 INTO TABLE it_pos.
    LOOP AT it_pos INTO wa_pos WHERE It_pos-pernr EQ it_act-pernr.                
    WRITE......
    ENDLOOP.
    Isn't it possible to put the conditions in the LOOP statement? Should i somehow do i join in the select instead?
    If you dont understand what I mean just ask and I will try to explain.
    Best Regards Claes.

    Hi Claes Widestadh ,
    I have total Code for you, to solve your Problem, I have written the code for you & tested it, and it was Working Very Fine.
    Please find the Below Code.
    TABLES : PA0000, PA0001.
    DATA : IT_PA0000 LIKE PA0000 OCCURS 0 WITH HEADER LINE,
           IT_PA0001 LIKE PA0001 OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF IT_FINAL OCCURS 0,
           PERNR LIKE PA0001-PERNR,
           END OF IT_FINAL.
    SELECT PERNR STAT2 INTO CORRESPONDING FIELDS OF TABLE IT_PA0000 FROM
    PA0000 WHERE STAT2 = '3'.
    SELECT * FROM PA0001 INTO TABLE IT_PA0001.
    SORT IT_PA0001.
    LOOP AT IT_PA0000.
      READ TABLE IT_PA0001 WITH KEY PERNR = IT_PA0000-PERNR.
      IF SY-SUBRC = 0.
        IT_FINAL-PERNR = IT_PA0001-PERNR.
        APPEND IT_FINAL.
        CLEAR IT_FINAL.
      ENDIF.
    ENDLOOP.
    LOOP AT IT_FINAL.
      WRITE :/ IT_FINAL.
    ENDLOOP.
    Note: If you find this Answer is very Helpful Please allot me the Points.
    Please do let me know any isssues at your end.
    Thanks,
    Satya Krishna.M

  • Exclude GUID field from tables in tdms transfer.

    Hi,
    We have been asked chek whether it is possible to exclude GUID fileds from tables in TDMS ERP data transfer.
    We ran data replication from ECC to CRM in out pre-prod system, replication populated the CRM GUIDs in ECC. We are going to use pre-prod as sender system for TDMS transfer. GUID field is part of the corresponding object table so the receiver system tables also populated with GUID. What we don't know is how replication behaves when the GUIDs are already populated.
    As I know there is a way to set the GUID filed to NULL value in tdms transfer using scrambling rule. The only concern I am having is how this could affect the ISU data in other tables.
    Please share your opinions on this.
    Thanks
    Praveen.

    The "GUID fields" are used to normalize the data and is the key fields for all CRM applications. If you don't transfer those the system will be "empty" because data relations cannot be found.
    Markus

  • Onblur get values for form field from table.

    Hello,
    I created one from with report for TableA.TableA has 5 column. Now after i enter first field ,on blur, i want 2 other fields should get populated.They should get the 2 values from TableB.Table A and Table B are connected through primary key foreigh key constraint.First field is primary key of TableA.
    How can i do this.I am writing a javascript function which i am calling from first form field.
    But in the function how to take values from the table for the other 2 fields.
    Can i just Select statements inside javascript function?
    Thanks
    Swapna.T

    Swapna,
    You can do this using AJAX. See link.
    Hope it helps
    Cheers,
    Hari

  • Syntax for removing fields from auto-suggest index - DisabledAutoSuggestFields

    Hello,
    There are fields I want to remove from the Auto-Suggest Index and I have been told to do this is by adding add an entry in the config.cfg file. For example If I wanted to remove the dOriginalName field from the Auto-Suggest Index I would type the following entry:
    DisabledAutoSuggestFields=table=Documents:fields=dOriginalName
    I understand Documents is the table and dOriginalName is the field. However, what would I type if I wanted to remove more than one field from a different table? For example Documents.dOriginalName and Revisions.dDocName?
    Kind Regards,
    Sandra Terry

    Pipe separate the list.
    DisabledAutoSuggestFields=table=Documents:fields=dOriginalName|table=Revisions:fields=dDocName
    Jonathan
    http://jonathanhult.com

  • Pages 5.0 removing images from tables.

    After upgrading to Pages 5.0 I now receive a message when opening any file with a table that has images in the cells.  Basically Pages is removing all images from table cells.  Anyone having this problem and is there an easy fix?

    DrBrian, this is what I did to resolve this issue.  I found out that we may still have Pages 09 installed on our systems! Go into Finder - Applications.  If you have a folder titled iWork 09 click it and you may find Pages 09 there.  Double click to open Pages version 09 where you will be able to open all of your files just as they should be. 
    I will not be using the new Pages upgrade.  I have too much time invested in creating documents and templates for my business and I am not willing to re-learn a new package which has much less functionality.  Hope this helps you.

  • Problem in selecting object currency fields from table COSP and COSS

    Dear All,
    We are facing a issue while creating a virtual DataSource   for CCA plan from tables COSS and COSP.
    The issue is that we are able to activate the view by including the fields value in object currency ( WOG001 - WOG012 ) but not able  to create a DataSource   on the view.
    We are able to include the transaction currency value but as our application requires us to include the object currency fields.
    Error displayed:Invalid extract structure template .This operation failed, because the template structure quantity fields or currency fields, for example, field WOG001 refer to a different table.
    Any tips to resolve this issue would be valuable.
    Thanks in advance
    Rashmi Nair.

    HI,
    Can you see this thread.
    Re: How to display BAPI decimal values into webdynpro!
    Thanks
    nageswar

Maybe you are looking for

  • Installed windows 7 and now i can not use microphone

    How can i fix my micraphone it will not work after installing windows 7?

  • Code in badi me_process_po_cust

    Hi,        I Implemented a BADI for PO for me_prcess_po_cust. I would lik to capture Item and header details from the method 'POST'. In this method 2 parameters are there. 1. IM_HEADER type ref of IF_PURCHASE_ORDER_MM. In this  interface several meth

  • HCM - Object services - Where are stored attachement ?

    I have already done quite a lot of debugging around this functionality but I still can't answer a simple question. When I use the Service object toolbar (in transaction PA30 for example) I can download a file from local client to the SAP system. I su

  • SQL*Loader Problem while loading date from earlier era

    Hi everybody, I'm trying to load a date with SQL*Loader in Oracle 8.1.6. The value of the date is '11671102004338' with a date format 'YYYYMMDDHH24MISS'. Everytime I try it, I get the error message "ORA-01438: Wert größer als angegebene Stellenzahl f

  • Office 365 Web Portal - We don't recognize this user ID or password

    We are currently in the process of rolling out Office 365 in our organisation. This deployment is to 80-90 users, for up to 10 users i am having the following issue. Users appear to be successfully syncing from our AD to the O365 cloud using DirSync.