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: 
Read only

Facing problem on Using 'BAPI_REQUISITION_DELETE'

Former Member
0 Likes
1,020

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.

4 REPLIES 4
Read only

Former Member
0 Likes
799

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....

Read only

0 Likes
799

Sorry i am unable to understand the SAP statement there exists a Purchase requisition for the order

Thanks

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
799

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.

Read only

0 Likes
799

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.