cancel
Showing results for 
Search instead for 
Did you mean: 

Change material condition end date(as in VK12)

former_member481652
Discoverer
0 Kudos

Dear experts,

I would like to find a way to change end date of a single material condition without creating new entry as possible in VK12 field "Valid to", DATBI, but not to use batch input. I have tried to use function "BAPI_PRICES_CONDITIONS" but got to change the amount field only, or function "RV_CONDITION_COPY" but a new entry created.

Do we currently have any way to do it except BDC or LSMW?

Thanks,

Yuval.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Yuval    

Im facing the same problem when I change the end date the bapi create a new entry,

Did you find how solve this issue?         

Thanks

Miguel

former_member481652
Discoverer
0 Kudos

Hi Mabg,

unfortunately I couldn't find a way to change the end date without creating a new entry. The only work around I have now is using function BAPI_PRICING_CONDITIONS to mark DeletionID field with 'X'. The problem is that function BAPI_PRICING_CONDITIONS does not update the change log and there is no indication in change log history for this change. By the way after marking the DeletionID you can use function RV_CONDITION_COPY to create a new condition based on the deleted one with end date current date than you have only one record that will not be active next day...


Thanks,

Yuval.