‎2014 Sep 18 8:20 AM
Hi ,
When i use bapi BAPI_REQUISITION_DELETE it is showing error
No changeable purchase requisitions exist
CAN ANYONE PLEASE HELP ME WITH THIS.
‎2014 Sep 18 10:57 PM
Hi,
General tip: Find out what the message number is (from the BAP return table). Do a where-used on that message and find the ABAP code in the BAPI that raises it.
I'm guessing it's because no reqs are specified, which are in a status that allows deletion.
cheers
Paul
‎2014 Sep 19 9:11 AM
Thanks for the rpl.
In the input i am giving purchase req and item number.
But in the error it is showing plant 1000 doesnt exist.
can u plz help me in this?
‎2014 Sep 19 9:25 AM
‎2014 Sep 19 9:33 AM
yES THE PLANT THAT IT IS SHOWING DOESNT EXIST IS THERE IN TABLE MARC
‎2014 Sep 19 9:40 AM
You don't need to shout, especially not if you are not looking at the place where SAP is checking.
Plant existence is checked against table T001W,
If someone deleted a plant for what ever reason (without thinking) in a sandbox system, then the plant is gone but still you find entries like POs or material masters having this plant referenced.
Further you should post the original message instead of rephrasing a message, SAP has multiple 10000 messages, some are quite similar, so it is usually very important to post the correct content of a message, even better to post it together with a message number.
Not to forget that you always should try if you can do the same thing in the online transaction ME22N, a BAPI cannot do wonders if the normal transaction doesn't allow.
‎2014 Oct 04 10:23 AM
Thanks for the response Jurgen.
Now i am able to delete the requisition.