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

Mass trigger of ATP for Sales Orders

former_member634038
Participant
0 Kudos
2,539

Hello Experts,

We have a requirement to run ATP for multiple orders belonging to 2 different customers. I know this can be achieved through BOP by passing the customers in BOP segments but it cannot be done in automation, user has to manually enter the customers in BOP segment and then schedule the BOP job. Is there any way where we can achieve this functionality by running the ATP FM or BAPI ?

We identified this FM: SD_SALES_DOC_CHECK_ATP but it can have one Sales order at a time and no other selection criteria.

The traditional V_v1, V_RA and V_V2 will not be useful as it is Not applicable for aATP relevant products.

Thanks in advance!

Jayanth

Accepted Solutions (0)

Answers (2)

Answers (2)

Andreas_Krause
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jayanth,

let me share with you a roadmap item from advanced ATP Backorder Processing: OData APIs for back-order processing

The API should allow you to send dedicated requirements to a BOP. In addition it is also planned to provide the option to send material/plant to the API such that the BOP can pick up the related requirements. Overall the benefit is that you do not have to define on-the-fly a BOP Segment and BOP Variant but rather have the option to call the BOP with a list of requirements according to your needs. One use case you have mentioned with the described quota shift.

Regards,
Andreas

SatishWaghmare
Active Contributor
0 Kudos

Hi Jayanth,

The primary reason why BOP is part of aATP solution. It is the mass processing of orders in batch mode(in the background) but also can be run interactively. It runs ATP check and tries to confirm orders by taking into consideration current demand(requirements) and supply(stock and receipts) situation.

Would you mind clarifying (elaborating enough to understand) why you cannot use BOP for your requirement?

Thank you

Satish Waghmare

former_member634038
Participant
0 Kudos

Hello Satish,

Thanks for the explanation, I know one of the primary reason to have BOP is to re-run the ATP and for my project it is required for mass processing of Sales orders for adjusting/ consuming the updated Allocation quota(PAL).

This question was primarily asked because we have a requirement where Customer A will be taken as urgent customer(required delivery on urgent basis) compared to Customer B and for that reason we have developed custom functionality to swap the backend Allocation quota from Customer B to Customer A and based on it we need to re-run the ATP for these 2 customer A and B so that the Sales orders pertaining to these 2 customers are confirmed for Customer A(gain of allocation quota) and unconfirmed for Customer B(as allocation quota was removed).

We thought of creating one BOP segment with customer as filtering criteria for which customer numbers can be filled directly via FM or API's if available from SAP and then run the BOP schedule job for this BOP segment immediately when the quota swap is done.

Thanks,

Jayanth Shettigar