Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically update an internal table

kirankalpathy
Advisor
Advisor
0 Kudos

I have a specific requirement, where an internal table is passed to a static method. The internal table is passed as a changing parameter. I will have to check if the internal table contains a field 'FIELD' in it. If the field exists, I'll have to update the value in the field as '1' for all the records in the table.

Can you help me with it?

Best,
Kiran Kalpathy
1 ACCEPTED SOLUTION

iftah_peretz
Active Contributor

Hey,

Have you tried cl_abap_tabledescr and cl_abap_structdescr (I think that rainer.hbenthal's comment is exactly what you need)?

2 REPLIES 2

iftah_peretz
Active Contributor

Hey,

Have you tried cl_abap_tabledescr and cl_abap_structdescr (I think that rainer.hbenthal's comment is exactly what you need)?

0 Kudos

Thanks for the suggestion Iftah 🙂

Best,
Kiran Kalpathy