Schedule Lines not getting deleted when passing Delete Indicator to BAPI : BAPI_SCHEDULE_MAINTAIN

Issue:

  • Whenever we are trying deletion of a schedule line , the custom program is passing on the input to BAPI : BAPI_SCHEDULE_MAINTAIN with the Scheduling Agreement Number , Item Number and Schedule line and Delete Indicator as ‘X’ to the BAPI.
  •  

    However when this input is sent to BAPI , it is only changing the Quantity to ‘0.00’ for that schedule line and marking the line as fixed and not deleting it.

  • We have observed this is only happening for those Scheduling agreements where releases were generated before by ME84.

Does anyone knows why the lines are not getting deleted and how this can be resolved?

Scroll to Top