Skip to Content
author's profile photo Former Member
Former Member

Convert Z... table to structure

Dear experts,

I have created one ztable in that 200 fields were there.Now i don't want table i need structure,Is there any chance to convert table to structure?

Its urgent please help on this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Mar 07, 2013 at 08:25 AM

    A table is a structure, the converse is false. Why do you want to convert, was it an error, if yes and there are no data already, you can copy the table to a temp structure, delete the table and recreate the structure with this name, then delete the temp structure, what did you try ?

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 07, 2013 at 08:10 AM

    No you cannot convert a table into a structure. But you can simply create a new structure and just copy paste the fields from the table into it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 07, 2013 at 08:11 AM

    Hello kumaraswamy,

    No need to convert the table. When using in program define your custom type, i which take your ztable as include structure type.

    e.g.

    TYPES : BEGIN OF TY_ztype

    INCLUDE TYPE ztable.

    TYPES: END OF TY_ztype.

    Regards,

    Sudhir Kothavale.

    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.