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

Table Maintenance Generator

Former Member
0 Likes
337

hi all

I have a custom table ZTEST and have 2 field RUNDATE & FLAG.

When the user create new entries , RUNDATE should be (sy-datum - 8 ) and FLAG should have input only Y or N. If wrong value r entered then error message should be displayed. Is there any way where I can control this ???

I am using VIEW_MAINTENANCE_CALL in my program.

I think I can use Event : 05 When Creating a New Entry, but still need to know what code to be implemented???

thanks

2 REPLIES 2
Read only

anup_deshmukh4
Active Contributor
0 Likes
307

For Flag you Can have a FIX Value Domain Range you can control it. just in SE11 Create a Domain with Char 1 and have its fix values what ever you want. and for Run DATE thing probably have to handel it yourself...lets see if we find any thing on SCN

Read only

anup_deshmukh4
Active Contributor
0 Likes
307

hello JaiKarthik ,

For your RUNDATE field just go to Tcode SE55 enter your table name go to Environment in Top Menu select modification and events your will get a table make new entries to the table there will be 2 columns 1st will be 'T' ie.main event enter value as 01 it stands for before saving it to database and in form routine write a form routing which would check your condition..throw a error if required.....!

Hope it helps...!

Edited by: Anup Deshmukh on Mar 10, 2010 4:53 AM