‎2008 Dec 17 10:30 AM
Hi All,
Based on requirement, i need to create a dynamic internal table with some text fields of length 5000 which are dynamic.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = tb_fieldcat
IMPORTING
ep_table = dref.
ASSIGN dref->* TO <itab>.
CREATE DATA wa LIKE LINE OF <itab>.
ASSIGN wa->* TO <fs>.
So while building the fieldcatalog, am declaring the outputlen = 5000.
In some cases, there may be a possibility to create the 20 text fields of 5000 length each
which exceed the SAP defined length(error am gettiing is:The length of the structure in a non-unicdoe syste 69 DATA ). Kindly suggest me whether it is possible to create the 20 text fields of 5000 length.
Thank you.
Regards,
Padmasri.
‎2008 Dec 17 11:22 AM
Hi,
from the database (oracle) point of view-
Allowed maximum Column length is 4000.
thanks\
Mahesh
‎2008 Dec 17 10:37 AM
Hi,
I think you may try with string type for these fields. Then you don't need to provide output length.
Regards
Marcin
‎2008 Dec 17 10:39 AM
Use strings instead of c-like variables.
Nevertheless, you can not display those fields in ALV. Columnwidth is ,imitied to 250 chars, i think.
‎2008 Dec 17 11:08 AM
Hi Rainer,
Iam extracting the data into an excelsheet not an ALVdisplay.
Kinldy suggest me is it possible to build the fieldcat to adjust the 5000 chars of length for 20 fields.
Regard,
Padmasri.
‎2008 Dec 17 11:22 AM
Hi,
from the database (oracle) point of view-
Allowed maximum Column length is 4000.
thanks\
Mahesh