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

Insert value to field automatically when maintaining db table

Former Member
0 Likes
610

Hi,

I am maintaining Z table in sm30.

The first field is the material code and the second field is the material description (and there are other fields).

The requirement is inserting the description of the material automatically after inserting manually the material code.

How can this requirement be implemented ?

Best Regards.

Ofir

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
555

Use event No 5 In table maintenance generator.

Table maintenance Generator -> Environment -> Modification -> Events -> New entries => select event no 5. & do required coding

Regards

Vinod

Edited by: Vinod Kumar on Apr 21, 2010 5:26 PM

3 REPLIES 3
Read only

Former Member
0 Likes
556

Use event No 5 In table maintenance generator.

Table maintenance Generator -> Environment -> Modification -> Events -> New entries => select event no 5. & do required coding

Regards

Vinod

Edited by: Vinod Kumar on Apr 21, 2010 5:26 PM

Read only

Former Member
0 Likes
555

How can I distinguish between the relevant line and the other lines ?

Do you have an example, if you have, can you please upload the code ?

Thanks,

Ofir

Read only

0 Likes
555

When you select the event 5, it means 'creating entry'. So form inputs the line that you're creating now.