cancel
Showing results for 
Search instead for 
Did you mean: 

PR Requisition creation in IW31 in SAP

Hi All,

We have a requirement and require inputs from experts

Requirement is, when work order is created(And released) in IW31 with 3 line items, it should create single PR for all the 3 line items. And if someone later adds new line item to the same work order, new PR should be created for that 4th line item. Has anyone implemented similar functionality before?

Regards,

Sneha

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

You can also use BADI IWO1_PREQ_BADI via SE18.

PeteA

0 Kudos

Thanks Peter, This is the BAdI we are currently using.

We have collective requisition flag on in OIOE, which is supposed to make sure that single PR to be created for multiple line items. We are clearing the value of C_TMP_BANFN inside the badi, so that every time someone adds new lines items to the order, it would create new PR for all the newly added line items. But instead of creating single PR for new line items, it keeps on creating multiple PRs.

Regards,

Sneha Nikam

peter_atkin
Active Contributor
0 Kudos

Have a look at the BAI documentation:

1. If you must create a collective purchase requisition item, the C_TMP_BANFN parameter must be filled with a purchase requisition number to which the new item is then attached. This purchase requisition order number must, of course, already have been assigned to the order.

2.If no collective purchase requisition item should be created, the C_TMP_BANFN field must be blank, so that a new purchase requisition is generated.

If it still doesnt work, then raise an OSS Message to SAP to see what they recommend.

PeteA

Answers (3)

Answers (3)

JL23
Active Contributor

Why don't you just set the indicator for collective requisition in customizing transaction OIOE ? I don't think that an enhancement is needed to do what the standard is supposed to do.

0 Kudos

But if I add new line items to the same order later, it should create new PR.

Regards,

Sneha Nikam

JL23
Active Contributor
0 Kudos

Sorry I meant you do not set the indicator for collective PR to get separate PRs.

SAP will only add the new item to an existing PR if the collective PR box is flagged.

0 Kudos

No, the question is - When I create order with 3 line items, it should add all the line items to the same PR

But when I come back after few days and add new line item, it should create new PR.

JL23
Active Contributor
0 Kudos

IF you want it different from the standard design which is explained in OSS note 507756 - FAQs: Purchasing management in a PM or CS order

then have a look into OSS note 618580 - BAdI: Collective PReq or new single PReq

bhat_gk
Explorer
0 Kudos

We have implemented similar enhancement. You may explore the below two exist depending on material and service.

  • COZF0001 Maintenance order: Change purchase requisition for external operation (Service PR)
  • COZF0002 Maintenance order: Change purchase requisition for external component (Material PR)

Realizing such enhancement is not easy as it cuts across two modules (PM and MM).

0 Kudos

Hi Gopalkrishna,

Thanks for your response, but I am trying to understand how you can use these enhancements to stop creation of multiple PRs for multiple line items.

Regards,

Sneha Nikam