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

Creation of a Table control with the wizard

Hi all,

I'd like to add a table control to my dynpro with the wizard.

I want to use an internal table and a work area from my program but I get the following error :

"The table work area WA_FID does not exist or is not a structure".

here is my data definition:

types: begin of fid_line,
  dokar type draw-dokar,
  doknr type draw-doknr,
  doktl type draw-doktl,
  dokvr type draw-dokvr,
  dktxt type drat-dktxt,
  dokst type draw-dokst,
end of fid_line.

data : it_fid type table of fid_line,
        wa_fid type fid_line.

I also tried using field symbol as work area.

I thought it was possible to create a table control from a user internal table.

Did someone see the problem ?

Thanks

Sylvain V.

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 Jun 01, 2005 at 05:46 PM

    I've experimented with this also.

    My best recommendation is to not do it.

    Create a structure in SE11 and just use that. I don't know if the definition of fields in your internal table are meant to be dynamic (fields added to the table during exectution). But, if they are not, the best thing to do is use SE11 to create a structure.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 02, 2005 at 04:33 AM

    Hi,

    Check the below link.

    In this, I am not using wizard,but manually creating table control and I am not using user defined types.I don't think it is possible to use user-defined internal table in wizard.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/table control in abap.pdf

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I tried to declare my structure with se11 and now it works fine.

      Jayanthi, I will read your document to carry on implementing my table control.

      Thanks for your quick and helpful answers

      Regards,

      Sylvain

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.