Application Development 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: 

Check if colum is empty withing dynamic table

0 Kudos
427

Hello,

In my program I user a dynamic table to handle users skills

Here an exemple of the table at the end:

SkillName User1 User2 User3

Skill1 1 2

Skill2 2

In this exemple, the user 1 is "Level 1" for Skill 1 and "Level 2" for Skill 2

User 2 doesn't have any level registered

User 3 is "Level 2" for Skill 1 but no info for Skill 2.

I would like to remove display of user 2 as he doesn't have any info for any of the skill listed.

As the table is completly dynamic (user and skill list), I have problems to find a working code to know if column is empty so I can hide it when ALV is displayed.

Here the FS I use:

FIELD-SYMBOLS:

<table> TYPE STANDARD TABLE

<l_line> TYPE ANY

<l_field> TYPE ANY

Any idea on how I can read data for each user (colum) and find if there isn't any data (initial) for the whole column?

1 REPLY 1

retired_member
Product and Topic Expert
Product and Topic Expert
0 Kudos
227