Skip to Content
avatar image
Former Member

finding the field name in the structure that contains a specific value

Hi Experts,

I am working on a requirement where I need to find name of the field that contains a specific value.

Example, below is the internal table

Name comm01 num01 comm02 num02 --- these are COLUMN names

Alex CELL 1234567 HOME 3578595

Robert HOME 12333 CELL 3559800

So when I loop on the table, I want to find which column contains value HOME.

Once I know the column name, I would just come to know whether num01 or num02 contains the HOME phone number.

Please let me know if we can do this.

Thanks & Regards.

Robert

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers