Skip to Content

how to delete a zfield in ztable

Hi all,

how to change/delete a zfield in ztable. The Ztable contains data.

Thanks

Kical

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 08:48 AM


    Hi Kical,

    Using TCODE se11, input the z-table name in the Database table field. click change button.

    if you want to delete z-field, just selected on the field, then using button which has minus icon.

    if you want to change z-field, just change it.

    After that, save the change.

    if this table has data in it. you need to go to TCODE SE14 to active it.

    if it doesnot have any data. just active it.

    thanks,

    Yawa

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 08:49 AM

    Take the backup of data, delete the zfield in ztable in se11(just select the field and press Minus button above for deleting the selected field), adjust the table (se14), edit/regenerate Table Maintenance Generator(TMG) (if present), check and adjust attached views (if present), compare the data with backup copy.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 08:52 AM

    (SE11)

    • Removal - Just remove the field once you have removed any explicit reference on this field in view, search help, programs, etc. then activate database table.
    • Changing field definition - The Database MUST be able to convert the field, else you will lose its values.
      NB: In some case its better to create a new field, and create a program to map the old values of old field to new field and update database. Later you will be able to remove the field from database.

    (SE14)

    • In some case you may have to adjust database (SE14)

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 08:48 AM

    Hi Kical,

    We can do change and delete from the table , but the scenario is , if we are using that table in some other programs means it will give the error, so please check where-used list before doing this type of event.

    And after doing the changes in table(delete or change the field) you have to do the table adjustment by using SE14.

    But while doing this event be careful , check properly do go head.

    Regards,

    Krishna.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 10:19 AM

    Hi all

    Thanks!

    Kical

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.