Skip to Content
0
Former Member
Feb 08, 2012 at 05:14 AM

Need BAPI or Function Module for period and price change in MEK1 and MEK2

720 Views

Dear All,

I am using BAPI_PRICES_CONDITIONS to upload condition types.

However I want to maintain the periodic history of conditon values which I am not able to acheive.

e.g. Suppose at present for condition type ZZ06 the rate is 100 and the validaity perriod is 01.04.2012 to 31.12.9999.Now I wanted change this rate to 110 with effect from 01.09.2012 to 31.12.9999.

When I call bapi it is not delimiting the previous validaity period to 31.08.2012 just similar when I changed through MEK1.

Instead of that the it overit the last valid record with new validity period and new rate and I am not able view the history of rate entered earlier.

i.e. Rate 100, Validaity period 01.04.2012 to 31.12.9999

When I upload new rate with new validity period data (Rate 110, Validaity period 01.09.2012 to 31.12.9999)

I history it should show

Line 1 Rate 100, Validity period 01.04.2012 to 31.08.2012 delimited the earlier record

Line 2 Rate 110, Validity period 01.09.2012 to 31.12.9999

Where as it is showing

Line Rate 110,Validity period 01.09.2012 to 31.12.9999

Please guide me any other BAPI or Function modules to achieve this.

Thanks in advance.