SAP Knowledge Base Article - Public

2727562 - New BADIs delivered in 1811CE & Enhancements in existing BADIs for Purchase Requisitions.

Symptom

You need more information about new BADIS in 1811CE.

Environment

1811CE

Resolution

New BADIs delivered in 1811CE

MM_PUR_S4_SSPPR_CHECK

Use

This Business Add-In (BAdI) allows you to implement checks on the data entered in various fields, while a purchase requisition is being created and is in draft state. The checks can be defined by you based on your business requirements. An error will be displayed in case incorrect information is entered by an employee, based on your custom coding. The errors would be thrown when the items are added into the cart ( draft item) Any employee will be allowed to edit or proceed further even with existing errors, but creation or completion of a purchase requisition will not be possible.

The implementation of the BAdI does not have any effect on other applications or other Customizing activities.

This BAdI is optional and no prerequisites are necessary.

Interface for BAdI: MM_PUR_S4_SSPPR_CHECK

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at SAP NetWeaver Platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> Customer-Specific ABAP Development -> Enhancement Framework.

 

MM_PUR_S4_SSPPR_MOD_DRAFT_ITEM

Use

This Business Add-In (BAdI) allows you to set predefined values in the fields like material number, and supplier. These fields will be visible only when a purchase requisition is created. Please note that this BAdI is used in the MM-FIO-PUR-REQ-SSP component.

The implementation of the BAdI does not have any effect on other applications or other Customizing activities.

Requirements

This BAdI is optional and no prerequisites are necessary.

Please check:

Interface for BAdI: MM_PUR_S4_SSPPR_MOD_DRAFT_ITEM

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at SAP NetWeaver Platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> Customer-Specific ABAP Development -> Enhancement Framework.

 

Enhancements in Existing BADI - 1811CE

MMPUR_OCI_TO_DRAFT_ITM_MAPPING (Existing BADI)

Use

You can use this this Business Add-In (BAdI) to allow custom modification of data in a draft purchase requisition created in a self-service scenario with the OCI 4.0 data (OCI 4.0 is a punch-out catalog).

This BAdI allows you to modify data when mapping OCI 4.0 data to the purchase requisition items.

The implementation of the BAdI does not have any effect on other applications or other Customizing activities.

This BAdI is optional and no prerequisites are necessary.

Requirements

Interface for BAdI: MMPUR_OCI_TO_DRAFT_ITM_MAPPING

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at SAP NetWeaver Platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> Customer-Specific ABAP Development -> Enhancement Framework.

 

OCI data can be mapped to additional fields are included in the result set mapping structure of this BADI. Fields like external Plant , External Company code etc., relevant for central requisition scenario and many fields relevant for PR processing are now available for mapping from OCI structure.

Login with User who has Administrator role

Open App / tile – “Custom Fields and Logic”

kba1.png

Go to “Custom Logic”

kba2.png

Click on “+”

kba3.png

You can see two new BADIs, “SSP PR Check Draft Item” and “SSP PR Modify Draft Item”

These two BADIs new BADIs which are delivered from 1811CE, these BADIs can be used to check and modify SSP PR draft data based on the custom logic

 

How to implement Check BADI?

kba4.png

 

Fields within the structure purchaserequisitionitemcheck , can be considered for custom specific checks

kba6.png

How to implement Modify / Map BADI?

kba7.png

Fields within interface purchaserequisitionitemchange can be modified or pre-filled based on the custom logic.

kba9.png

kba10.png

Reference fields from Catalog Log interface can be mapped with the fields available in “purchaserequsitionitems”

kba11.png

 

Keywords

KBA , MM-FIO-PUR-REQ-PRF , Manage Purchase Requisitions – Professional , MM-FIO-PUR-REQ-SSP , Fiori UI for Self Service Procurement , How To

Product

SAP Cloud for Customer 1811