Skip to Content
0

BAPI_PRICES_CONDITIONS to create / change condition records

Oct 21, 2016 at 11:45 AM

209

avatar image

Hi,

I am using BAPI_PRICES_CONDITIONS to create / change condition records.

When i am using it to create and change rate its working fine.
However when i am trying to change dates or create new record with overlapping dates I get multiple recorrds in my condition table.

Scenario 1.

Before

Condition_1 21.10.2016 --> 31.12.9999


After

EXpected:

Condition_1 21.10.2016 --> 30.10.2016

Condition_2 31.10.2016 --> 31.12.9999


Actual:

Condition_1 21.10.2016 --> 31.12.9999

Condition_2 31.10.2016 --> 31.12.9999


Scenario 2

Before

Condition_1 21.10.2016 --> 31.12.9999


After

EXpected:

Condition_1 21.10.2016 --> 30.10.2016 (change end date)

Actual:

Condition_1 21.10.2016 --> 31.12.9999

Condition_1 21.10.2016 --> 30.10.2016

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers