Showing results for 
Search instead for 
Did you mean: 

Standard Program to delete Stock Transport Purchase requisitions in S/4 Hana Got published from IBP

0 Kudos

Hi All

is there any standard program available in SAP S/4 Hana which can delete the open unconverted stock transport purchase requisitions , This need to be set as background job that will run daily which will delete the open STRs. i had searched a lot , but didnot found , hence pl suggest.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos


You can develop a custom report to delete the purchase requisitions. It's possible to flag the PREQ for deletion by using the function module BAPI_REQUISITION_DELETE or to delete the PREQ completely from the database by using the method PURREQ_SAVE of the class CL_PPS4_MRP_UPDATE (the one used by MRP live). Pay attention when deleting using the method PURREQ_SAVE to fill the reservation number also otherwise the purchase requisition will be deleted and the reservation will be kept.

Best Regards