Application Development and Automation 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: 
Read only

finding the empty field in internal table

Former Member
0 Likes
4,931

hello ABAP Experts,

please help me

If i have one table EKKO. in that, I have taken 4 fields like ebeln, bukrs, bstyp, bsart.

so i want to find empty fields value, so how to achieve this.

ebeln bukrs bstyp bsart

1234 SA02 F NB

1235 SA02 <blank> NB

here bstyp second value is empty so i want to find that entry. how to achieve this?

hello ABAP Experts,

please help me

If i have one table EKKO. in that, I have taken 4 fields like ebeln, bukrs, bstyp, bsart.

so i want to find empty fields value, so how to achieve this.

ebeln bukrs bstyp bsart

1234 SA02 F NB

1235 SA02 <blank> NB

here bstyp second value is empty so i want to find that entry. how to achieve this?

2 REPLIES 2
Read only

srikanthnalluri
Active Participant
0 Likes
2,781

You can loop the table and check field is initial or not. However you would have values in all those 4 fields all the time.

Read only

Former Member
0 Likes
2,781

You can either check for the fields "IS INITIAL" or simply check for the field = '' (That's two single quotes).