Skip to Content
Former Member
Feb 09, 2012 at 10:21 AM

Update Schedule Agreement via BAPI_SAG_CHANGE with new conditions



I'm trying to use BAPI_SAG_CHANGE to update schedule agreements for a contract with price information from info records. I also need to create new condition records (KONP, KONH) so transactions like ME33L can work with it.

I deploy all data to supply the BAPI_SAG_CHANGE function module.

eg new price values, units in the input parameter of item, itemx, item_cond_validity, item_condition.

I do not get any errors. Afterwards i call BAPI_TRANSACTION_COMMIT. Again, no errors.

At the end, nothing in the scheduling agreement has changed.

Does anyone have experience with this function module? Thx for any information.

How to solve this problem of updating schedule agreements with the current price?