cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Individual purchase requisitons from a single sales order

andreimoisei
Explorer
0 Likes
952

Hello,

I am working on a procure-to-order scenario (individual purchase order) with item category group: BANC, item category: TAB, and schedule line category: CB. When I save the sales order, the system generates a single purchase requisition containing multiple line items corresponding to the sales order lines.

What is the configuration tbd so the system, will create different PRs when saving the sales order.

Accepted Solutions (0)

Answers (4)

Answers (4)

Prashanth-Gaddam
Participant
0 Likes

Hi marianpopa,

May I know the business requirement to have multiple PR's for a Sales Order.

Is the Vendor same for all line items or different.

Thanks

Prashanth

andreimoisei
Explorer
0 Likes

Hello Prashanth-Gaddam, 

We have one sales order with many items, every item is a purchase requisition, and it has a fixed source of supply.

Then buyers mapped to vendors are making modifications on those PRs. If we have a single object, then we will have concurrency conflict between buyers, while modifying. Thats why we need different PR objects.

 

RaymondGiuseppi
Active Contributor
0 Likes

(removed)

Lakshmipathi
SAP Champion
SAP Champion
0 Likes

 

  • Go to STVARV
  • Create a variable name 
  • Under Selection Options, have combination of fields like sales org, order type, schedule line category

Now, add the logic in USEREXIT_MOVE_FIELD_TO_ME_REQ in such a way that when an entry is created in VBAP or VBEP, each POSNR from VBAP to create a separate PR. 

By this approach, you are not hardcoding the logic in user exit where no need to depend on ABAP team to modify in case of Business requirement changes.  Super users can themselves change the field names or delete the entry if not required.

andreimoisei
Explorer
0 Likes
Thank you for your imput, Lakshmipathi. But there is no standard SIMG configuration to achive that without user exit edit?
Lakshmipathi
SAP Champion
SAP Champion
0 Likes

Based on what parameter or logic, you want SAP to generate different PRs for a single sales order ?

andreimoisei
Explorer
0 Likes
I need SAP to generate a separate purchase requisition (PR) document number for each individual sales order line, rather than a single PR containing multiple line items. Each sales order line should correspond to a unique PR to ensure separate processing and tracking. How can this be configured?