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

Data Type with reference and view maintenance

Dear all,

There are two questions that I want to ask.

1. Error when referencing a table with data type = u2018STRINGu2019.

I have a Z table with some fields = u2018stringu2019, when I use this as a reference, an error prompted.

"ZTBL_ABC" must be a flat structure. You cannot use internal
tables, strings, references, or structures as components.-

2. Error in generating the View maintenance for field length > 255.

Actually, I want to create fields with

1. data type = char(255),

2. data type = text

3. data type = char(3000)

It is okay if I create the field with the selected size, however, when I generate the View maintenance (which can be access through SM30); it does not allow me to do so. It still not working if I change it into string. How can I create such table and use the table maintenance, as well as using that as the reference type of an internal table for another program?

Regards,

Mandy Au

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 05:17 AM

    Hello,

    1st of all a table which has a field of type string can be converted in to table maintenance because TM does not support string type as it becomes a very big field to be displayed on screen ... so u need to change that.

    and then about the CHAR of length 3000 is too big ... to have a max limit of 255.

    If you change this both u will be able to generate TM.

    Incase after changing the field length it it gives error in activatin your table then go to SE14 put your table name EDIT and then Adjust n activate it....

    hope this was helpful

    --- Close the post once you get the solution

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 05:11 AM

    hi:

    I would advice to use standard data elements for it like

    for char - 3000 Data Element is CHAR3000

    char -255 Data Element is CHAR255

    etc and then generate the table generator and enjoy.

    Regards

    Shashi

    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.