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

Is there any method to do validation in database level.

Former Member
0 Likes
983

Hi ,

I am having Z-table around 10-Million recods .I need to do validation from various table like plant from t* and mantr from mara and marc etc .I am looking for --> without fetching 10 million record into internal table can i do validation in data base level itself. Please tell me the possiblity .....

Regards,

SRI

9 REPLIES 9
Read only

Former Member
0 Likes
941

Hi Guys,

wether native sql. exec...endexec will help me out ...can any one come out with some possiblities ?

Regards,

SRI

Read only

former_member222860
Active Contributor
0 Likes
941

Hi,

What do you mean by validation at the database level.

You can fetch the records as per your selection, simply by specifiying in the where clause.

select matnr into table  itab from mara where matnr in s_matnr.

thanks\

Mahesh

Read only

0 Likes
941

Hi ,

Instead of fetching into internal table , do validation in database level.

Regards,

SRi

Read only

0 Likes
941

Hi ,

But the record is huge volume for me .more than 10 million record ...performance wise it may hit ...

Regards,

SRI

Read only

0 Likes
941

Hi ,

But the record is huge volume for me .more than 10 millio . so performance wise it will be hitting .

Regards,

SRI

Read only

Former Member
0 Likes
941

Hi Guys,

Bringing to your notice again.

Regards,

Sri

Read only

0 Likes
941

Hi ,

But the record volume is too huge ...So it may hit performance issue ..

Regards,

SRI

Read only

Former Member
0 Likes
941

Hi,

I dont think is there any way(as far as my knowledge) except selecting all data and validating with MARA-MATNR etc.

For future,if u are updating this Z table by SM30 then use table events to check the data or you r using any program to update this u can easily write the code in that program itself.

Thanks & Regards,

Rock.

Read only

Former Member
0 Likes
941

yes