‎2008 Jun 04 4:09 AM
Hi All,
We use BAPI_REQUISITION_DELETE to delete and close a line item in a PR document. When using the BAPI in ECC 6.0 the result is that it creates new line item with deleted and closed status. While the original line item which we would want to be deleted and closed remains in undeleted and unclosed status.
In version 4.6 we don't experience this scenario.
Please help.
Thanks,
Sid
‎2008 Jun 04 6:03 AM
I am using this Bapi but it does not create a new line. Can you please recheck in debugging mode.
‎2008 Jun 04 6:03 AM
I am using this Bapi but it does not create a new line. Can you please recheck in debugging mode.
‎2008 Jun 04 6:07 AM
Hi Sid,
This BAPI will not create new line items. It will only enable you to delete and/or close purchase requisitions.
Pls check again.
Thanks
Nayan
‎2008 Jun 04 7:10 AM
Hi Sid,
I think you are passing something wrong data .
Try to test the BAPI in se37 with different values untill you get your result.
‎2008 Jun 04 9:28 AM
Thanks guys for your replies. I guess the culprit is that the line item number is empty (00000). I didn't know how the user created the PR in the first place, but I created one myself and i run the BAPI to delete and close the item and it succeed.
Thanks guys!
Points will be rewarded...
‎2008 Jun 04 9:29 AM