Current Position:Home > Deletion of Scheduling Agreement and Delivery Schedule using BAPI

Deletion of Scheduling Agreement and Delivery Schedule using BAPI

Update:10-11Source: network consolidation
Hi SAP MM Gurus,
Please assist in inquiry below:
My scenario is that I am trying to delete delivery schedules and scheduling lines using BAPIs. I have no issues when there is no GR made yet for the delivery schedules. The error arises when there are already existing Goods Receipts and Invoices for the schedule line that I wish to delete
When using the BAPIs (either BAPI_SAG_CHANGE or BAPI_SCHEDULE_MAINTAIN), I set the deletion indicator to "L" and set to X all change relevant fields (i.e. DELETION_INDX). However, whenever I execute it, I get the error message 06088. The funny thing is both the Quantities and the delivered quantities that are normally populated are left blank.
For example:
Normal error for 06088:
Quantity 100.0 smaller than quantity delivered 179.0
Error using BAPI with deletion indicator:
Quantity  smaller than quantity delivered
Is this a bug of the BAPI? or am I just missing some settings?
Your immediate response is appreciated

The Best Answer

Please find the below link check the setting are correct or not
  • Dates and quantities copied from Scheduling Agreement to Delivery Order Update:10-11

    Hi everybody, we're experiencing a problem with copying control for dates/quantities between Scheduling Agreement and Delivery Order. If we define a Forecast Delivery Schedule with more lines/dates into a Scheduling agreement, when I create a Deliver

  • Global outline agreement and Delivery schedule Update:10-11

    Hi experts. I am in SRM 5.5, ECC 5.0 as backend in ECS. I would like to have some information about relation between Global outline agreement and Delivery schedule of ECC. Can I create GOAs and replicate to ECC as Delivery schedule for automatic gene

  • How to delete a scheduling agreement Update:11-30

    Hi, I have canceled all the position in the scheduling agreement and I would like to delete it. Is there any posibility to do it? ThanksAll the items must be deleted. Once the items are deleted, the scheduling agreement is considered as deleted. You

  • Scheduling agreements with delivery schedule - Copy control Update:11-30

    Hi, I wonder, if it would be possible / would make sense to specify for sales document type "LZ - Scheduling agreements with delivery schedule"  a copy control for referenced documents like quotations. Is there anybody who already has experience

  • Scheduling agreements with delivery schedule  - Deviation tolerance Update:11-30

    Hi, Within sales order document "Scheduling agreements with delivery schedule" (LZ) it is possible to enter deviation tolerances (e.g. deviation in quantity) manually for each single item line.  Does anybody know, if it is also possible to set u

  • Delete Open SChedule lines Update:11-30

    I would like to delete a scheduling agreement line item for which there are still open delivery schedules in firm can I do that? I have an agreement with the vendor that he is not gonna send me those open items, so i want to close/delete

  • Change Scheduling Agreement and Info Record using Bapi Update:10-11

    Hi Experts, Can anybody say how to change the Scheduling agreement and Info Record using Bapi. I use BAPI_AGREEMENT_MAINTAIN to change Scheduling Agreement . But it does not changing Scheduling lines.Hi, Please find the below link check the setting a

  • Deletion of schedule line in PO using BAPI_PO_CHANGE Update:10-11

    Hi , Can anyone give me the code to delete a schedule line in a po using the bapi bapi_po_change. Useful answers will be rewarded. Regards, Sowmya.Hi, Refer below code *&      Form  sub_populate_data       text FORM sub_populate_data . *--Local Varia

  • Mass Deletion of Schedule Lines Update:10-11

    Dear Friends, Our client's requirement is to mass delete the schedule lines generated through MRP by wrong production schedule. They want to delete it once in a month. regards, AskDear, I'm not sure just try this, Go to SM30 table MASSFLDLST add fiel

  • Deletion OF schedule LInes from APO SPP(Spare Parts Planning) through ABAP. Update:10-11

    Dear All, I need to delete the schedule Lines from APO SPP(spare parts planning ) system.I am looking for any available BAPI provided by SAP for this purpose.Please provide me help if any of you folks previously in your project went through this requ