09-16-2008 12:19 PM
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.
09-16-2008 12:37 PM
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
09-16-2008 1:02 PM
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.