Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ashishsen2000
Discoverer
0 Kudos
465

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?

0 REPLIES 0