Skip to Content
avatar image
-1
Former Member

Dynamically update an internal table

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 14, 2017 at 02:12 PM

    Hey,

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

    Add comment
    10|10000 characters needed characters exceeded