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: 

validity start date and end date

Former Member
0 Kudos

Hi Experts

I have one problem i am creating table maintaince generator

in this particular table i have condition type and its value along with start date and end date just like we maintain in MEK1

now user update price for that condition type for a particular period now my problem is when he select

1) zp01 100 rs 10.10.08 15.10.08

now if second time he maintains

2) zp01 99 rs 12.10.08 15.10.08

than in table value store like this

1) zp01 100 rs 10.10.08 11.10.08

2) zp01 99 rs 12.10.08 15.10.08

how can i do this

this is same happening in standard MEK1.

Pls help me on this.

2 REPLIES 2

former_member182485
Active Contributor
0 Kudos

Table maintance generator is nothing but an automatically generated Module pool program

Go to the program gnerated by your table maintance, last include will be a Z inclue select it to write your code

in PAI module add your own module and write the logic to achive same.

Hope this helps

Bikas

Former Member
0 Kudos

Hi,

In the table the end date should be primary key and start date should be checked for initial values.

e.g. see the tables KOTD<000>

Regards,

Raju.