cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order should not create more than the Purchase Requisition Qty

SAPSupport
Employee
Employee
0 Kudos
373

Dear Team

While create purchase order system should check and validate PO qty  shot not greater than PR qty.

We need BADI to validate while create the purchase order.

Could you provide the BADI to validate the purchase order creation process.

 


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

There are 2 BADIS that can be used to include your own checks based on your logic code:

 

MM_PUR_S4_PO_CHECK_ALL_ITEMS

This Business Add-In (BAdI) is used in the Purchasing (MM-PUR-PO) component.

You use the BAdI (MM_PUR_S4_PO_CHECK_ALL_ITEMS) to check the entire document.

BD_MMPUR_FINAL_CHECK_PO

This Business Add-In (BAdI) is used in Purchasing (MM-PUR-PO) component and is intended to be used in a Cloud edition only.

You use this BAdI to implement your own checks before a purchase order is saved.

As a modification parameter, you can create messages and display them to the business users. The messages have the following effects:

  • Information messages inform the user but do not prevent the purchase order from being saved.
  • Warning messages alert the user but do not prevent the purchase order from being saved.
  • Error and abort messages alert the user and prevent the purchase order from being saved.

The BAdI interface method is CHECK.

To create translatable texts, go to the tile Custom Business Objects, and choose the tab Custom Code Lists. You can find details about how to implement custom code lists in the comments of the example implementation.

You can find sample implementations of both BADIS in your Custom Logic App. 

Best regards

 

 

Answers (0)