Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

internaltable modification

Hi,

my internaltable contains data like

company cost assignment period amount

code center

cs01 1000 100000 1 1000

cs01 1001 100000 1 1200

cs01 1000 100000 2 1400

cs01 1000 100000 3 1600

I need to modify above internaltable lik below

company cost assignment period1 period2 period3

code center amount amount amount

cs01 1000 100000 1000 1400 1600

cs01 1001 100000 1200 - -

how can i modify?

Regards,

Suresh

Tags:
Former Member
Former Member replied

you can populate the fieldcatalog with the fieldnames and lengths . and using the class cl_alv_table_create , method CREATE_DYNAMIC_TABLE

and create the dynamic table, using that you can proceed. for sample code search here with the class cl_alv_table_create

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question