Issue : Mark Old Purcahse Requsiton as closed.
Solution : Marking a PR for closure is 10 seconds work, but if the PR is 10 years old and for the same PR material is deleted or vendor or PIR then the sytem will not allow you to close the PR.
We can use fucniton Module : BAPI_REQUISITION_DELETE.
Let me explain with a Example.
1. Consider a PR which was created long back.

2. Go to Tcode SE37 Fucniton Builder and give BAPI_REQUISITION_DELETE.

3. Execute function module and give required PR number.

4. After entering PR number, doble click on Table "REQUISITON_ITEMS_TO_DELETE", and give line item number of PR and Mark "X" in column "C".

5. After entering values, come back and execute function module.


6. Please check your PR , PR is marked as Closed.

In this way we can close a PR.
This fucniton module can be used to convert one PR at time.
you can close multiple PR at a time. Please check with your ABAP team members they can create a program using this function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 6 | |
| 6 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |