Skip to Content

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

Aug 15, 2017 at 09:57 PM


avatar image

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.


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

0 Answers