Skip to Content
-1

Dynamically update an internal table

Dec 14, 2017 at 01:15 PM

66

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Iftah Peretz
Dec 14, 2017 at 02:12 PM
2

Hey,

Have you tried cl_abap_tabledescr and cl_abap_structdescr (I think that Former Member's comment is exactly what you need)?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for the suggestion Iftah :)

0