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

compare data in internal table with data dase table

Former Member
0 Likes
404

i have data in internal table not fetched from db table i want to check if data is available in internal table

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
356

Hi

To check the data in an internal table

IF NOT ITAB[] is INITIAL.

To compare the data with DB tables

fetch the data from DB table into ITAB1

then compare the ITAB and ITAB1 like

<b>IF ITAB[] = ITAB1[]</b>

Reward points for useful Answers

Regards

Anji

1 REPLY 1
Read only

Former Member
0 Likes
357

Hi

To check the data in an internal table

IF NOT ITAB[] is INITIAL.

To compare the data with DB tables

fetch the data from DB table into ITAB1

then compare the ITAB and ITAB1 like

<b>IF ITAB[] = ITAB1[]</b>

Reward points for useful Answers

Regards

Anji