09-17-2007 6:00 AM
Hi,
I have a internal table having fields f1 f2 f3 f4 f5 f6 f7, and data (inseted 44 rows)
and i want to pass these field and data to other internal table having 7 rows and 45 columns. first column in new one should be f1 f2 .....f7.
Plz help me.
Thanks in advance,
Regards,
Ashish
09-17-2007 6:06 AM
Hi,
you can change row into column use Field symbol. declare dynamic internal table.
09-17-2007 6:06 AM
Hi,
you can change row into column use Field symbol. declare dynamic internal table.
09-17-2007 10:29 AM
09-17-2007 10:34 AM
09-17-2007 10:50 AM
chk this ALV example where it is transposed which is the same requirement as urs
09-18-2007 5:50 AM
Hi,
use this class
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lit_fldcat
IMPORTING
ep_table = git_new_table.
ASSIGN git_new_table->* TO <gfs_dynamic>.
Create dynamic work area and assign to FS
CREATE DATA git_new_line LIKE LINE OF <gfs_dynamic>.
ASSIGN git_new_line->* TO <gfs_dyn_wa>.
01-31-2011 9:43 AM