Application Development and Automation 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: 
Read only

Dynamically update an internal table

kirankalpathy
Product and Topic Expert
Product and Topic Expert
0 Likes
920

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
Read only

iftah_peretz
Active Contributor
802

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
Read only

iftah_peretz
Active Contributor
803

Hey,

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

Read only

kirankalpathy
Product and Topic Expert
Product and Topic Expert
0 Likes
802

Thanks for the suggestion Iftah 🙂

Best,
Kiran Kalpathy