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

line_exists

pushpa_s1206_79
Discoverer
0 Likes
4,299

is it possible to check line_exists( ) without internal table?

is it possible to check line_exists( ) without internal table?

4 REPLIES 4
Read only

rajnag
Product and Topic Expert
Product and Topic Expert
3,669

hi, pls check the documentation. it's not possible without a table.

rel_exp - line_exists, Predicate Function

  • The predicate function line_exists can be considered as a short form of the statement READ TABLE with the addition TRANSPORTING NO FIELDS following by sy-subrc being checked.

Read only

Shruthi2979
Explorer
0 Likes
3,669

Hi ,

line_exists is used to check if the record exists in the internal table based on some conditions.

This syntax is the same as the READ TABLE with TRANSPORTING NO FIELDS followed by sy-subrc check.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,669

And what should the statement actually check?

(Are you actually asking for 'without row specification')

Read only

Sandra_Rossi
Active Contributor
0 Likes
3,669

Interview question? It would be better for you to learn by reading the ABAP documentation.