Hi all,
I need the clarifiaction for a scenario while creating condition record.
In A911 table for a Material X and Plant 1004 there exist a condition record with Valid From 01/01/2008 and VAlid to 12/31/9999 .
the entry in A911 is as below.
Material Plant Valid From Valid To CondRecordNumber
X 1004 01/01/2008 12/31/9999 0000999001
In vk11 if i create a condition record for the same Material X and Plant 1004 with the Valid From date 01/15/2008 and Valid To date 01/17/2008 the entries in A911 is as follows
Material Plant Valid From Valid To CondRecordNumber
X 1004 01/01/2008 01/14/2008 0000999001
X 1004 01/15/2008 01/17/2008 0000099987
X 1004 01/18/2008 12/31/9999 0000999001
You can notice that first and third row has the same condition number..bcoz of the second record the first record got spilitted and itself created the third row.
My question is if i create a condiion record with this sceanion in Vk11 the records are stored in A911 table like this (shown above).
But when i try to create the condition record with BAPI_PRICES_CONDITON.(where a condition record with valid from date 01/15/2008 and valdi to 01/17/2008)
it is not creating the record..
it only creates a record where the current dates does not fall within the range of any existing records in A911...
if i am wrong anywheer in using the bapi.please let me know.
actually bapi is working ..but not for the scenarion which i have explained.
please help ..points will be rewarded