‎2011 Aug 09 7:52 PM
Hello World!
Right now, I am creating a function module w/c has this requirement:
Import:
I_PERNR type PERSNO
Export:
E_PERNRDATA LIKE Z_EE_DATA
TABLES:
T_DESC LIKE Z_EE_STR_DESC
Now, when I try to activate this FM, there is an error stating that Z_EE_STR_DESC must be a flat structure. You cannot use IT, strings, ref, or structures as components. The structure of Z_EE_STR_DESC is this:
PERNR type persno
NAME type char30
DESC type string --> this must be a string because this must hold large string data/description. and I think this is the cause of the error. are there any way to do this?
Please advise,
Thanks!
Mrac
‎2011 Aug 09 8:23 PM
You probably need an lchar data type in that table or, since the use of tables except in remote enabled FM's is obsolete anyway, why not just export the values you need if a single set or create a table type with the lchar and necessary length field and try to use that.
‎2011 Aug 09 8:23 PM
You probably need an lchar data type in that table or, since the use of tables except in remote enabled FM's is obsolete anyway, why not just export the values you need if a single set or create a table type with the lchar and necessary length field and try to use that.