Material Determination VB11 - Entries Overwritten
I need some help for the "Material Determination" functionality - VB11.
I have created and customized a new "Material Determination Type" (condition Type).
The condition table was created with "With Validity Period" indicator ON. So the records have the following contents
Material determ.type KSCHL
Sales Organization VKORG
Distribution Channel VTWEG
Material entered MATWA
Valid to DATBI
Valid on DATAB
Condition record no.KNUMH
First I created a record (VB11) and I saw the entry at tables KOTD999 & KONDD & KONDDP.
Then I created again (VB11) for the same key (sales org., Distr. Ch., customer, Material Entered, Period) another set of alternative materials and the system let me save this record EVENTHOUGH there was another one already saved.
The original one was lost. With VB13 I can see the last one. At KOTD999, field KNUMH shows the last. The original condition record at KONDD still exists at the table but it is not linked anymore with the KOTD999 record.
Is there a way to restrict the "SAVE" when a record already exists?
This was not happening when the condition table was created with "Validity Period" was OFF. The system gives the following message "The condition record entered already exists" Message no. VK065. This is the expected and correct reaction.
Thanks a lot,