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

SM30 - table maintain data validation

rt50896
Participant
0 Likes
823

Dear all,

When we want to validate table maintain data for cretae/change,how to get the table data or is there a internal table to use? make a sample to understand is a good way...

BR

Regina

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
706

REFER..

4 REPLIES 4
Read only

Former Member
0 Likes
707

REFER..

Read only

Former Member
0 Likes
706

Hi regina,

How will I know the particular record that the user modified

The CURRENT RECORD

is stored in EXTRACT.

3. U will h ave to use OFFSET to get the

primary key value of that table / or anything u want.

EG.

mykey = EXTRACT+3(10)

(BCOS 3 WILL BE MANDT FIELD

NEXT 10 EG WILL BE VBELN FIELD)

regards,

amit m.

Read only

Former Member
0 Likes
706

Hi Regina,

Normally the validation in SM30 is made by using foreign keys in the DB-tables. For example you want to enter sales organizations you link this table with the customizing table for sales organizations and link them by a foreign key. When you've done that you cannot save new SM30-entries with a sales organization which is not defined in the customizing table.

Bye,

Timo

Read only

andreas_mann3
Active Contributor
0 Likes
706

hi,

1st try to use check-tables when modifying your table with SE11

A.