Skip to Content
-1

Check if colum is empty withing dynamic table

Jan 23 at 10:15 AM

40

avatar image

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?

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

1 Answer

Horst Keller
Jan 23 at 11:23 AM
0
Share
10 |10000 characters needed characters left characters exceeded