Application Development 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: 

execute check table through code

Former Member
0 Kudos

Hi all,

I have created a database table with one check table for primary key field.

when i add entries to the database table through table entries , first it checks for the values in check table.

then it add records correspondingly.

but when i tried to add entries through code program (se38) , it doesnot check for the values in the check table and duplicate entries are added in the primary key field.

As i am beginner of abap kindly help on this.

cheers,

dinesh

6 REPLIES 6

matt
Active Contributor
0 Kudos

You have to program the validation checks yourself.

Former Member
0 Kudos

Hi

so using code  there is no possibility of validation through check table which is already created ?

matt
Active Contributor
0 Kudos

That is correct. There is no automatic validation.

Former Member
0 Kudos

thank u.then if i give different validation condition that does not match the validation condition of check table wil it not affect the database table ?

matt
Active Contributor
0 Kudos

If your validation doesn't match, then you may end up with duplicate records, and other rubbish. Of course is must match.

Former Member
0 Kudos

thank u very much.