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

validity start date and end date

Former Member
0 Likes
1,443

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
Read only

Former Member
0 Likes
591

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

Read only

Former Member
0 Likes
591

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.