2011 May 23 10:40 AM
hello,
i am calling one method via GET_TEXTSTREAM of class CL_GUI_TEXTEDIT. in which one of the importing parameter is Text which is of type string and its corresponding field is from the table and i have created one data-element of type string in table . when i activate module pool program i receive a dump "table" must be a flat structure. You cannot use internal tables, strings, references, or structures as components. -
2011 May 23 1:52 PM
You cannot use such a type in a transparent database table, so two solutions
- save data in a using a EXPORT TO DATABASE ([EXPORT - Table Structure|http://help.sap.com/abapdocu_70/en/ABENEXPORT_DATA_CLUSTER_INDX.htm]) (*)
- read the data with method GET_TEXT_AS_R3TABLE and not GET_TEXTSTREAM and update multiple records of a transparent text table (with a fixed length CHAR type field)
Regards,
Raymond
(*) or use the SAVE_TEXT family which uses such a solution