‎2011 Jun 20 12:11 PM
Hi Gurus,
i am trying to change the item status of Purchase requisition to status "Deleted"
for this i am using BAPI 'BAPI_REQUISITION_DELETE'
but i am getting the exceptions "This item can only be deleted via the associated sales document"
and "No changeable purchase requisitions exist"
what could be the reason for this how can set the item status to DELETED.
Please help on the same.
‎2011 Jun 20 3:58 PM
Do you think that maybe the problem is:
"This item can only be deleted via the associated sales document"
and "No changeable purchase requisitions exist"
In other words, SAP already told you what the problem is....why not figure it out from there....
‎2011 Jun 23 2:08 PM
Sorry i am unable to understand the SAP statement there exists a Purchase requisition for the order
Thanks
‎2011 Jun 23 2:24 PM
Check this documentation from SAP.
All requisition items for which the deletion indicator and/or the
"closed" indicator is to be set are passed on in the table
RequisitionItemsToDe. Since this method changes the purchase
requisition, change documents are created when you save.
Make sure you are doing the same as mentioned above.
Regards,
bhargav.
‎2011 Jun 23 3:10 PM
Thanks Bhargav,
I am passing the all the required parameters Delete/Close Indicator also items to delete itab.
what cloud be the reason please help.
Thanks.