06-01-2005 4:23 PM
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.
06-01-2005 6: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.
06-01-2005 6: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.
06-02-2005 5: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
06-02-2005 8:29 AM
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