Ansicht
Dokumentation

MM_PURCRFQ_MODPRITM - Change of Item in Central RFQ Output

MM_PURCRFQ_MODPRITM - Change of Item in Central RFQ Output

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Extend Central RFQ Item Data

This Business Add-In (BAdI) is used in the RFQ and supplier quotation (MM-PUR-RFQ) component. You can use this BAdI to extend the central RFQ item data set that is used in a form template. This BAdI is called during form rendering and gives you the possibility to add custom fields to the template and fill them out. If this BAdI is not implemented, the standard data set is used to fill out the form template.

Before BAdI implementation, you need to create a custom field using the “Custom Fields and Logic” app, enable it for appropriate UI application (if the field is needed on UI) and custom form template.

If you don’t have a custom form template and you want to include your custom field in the form template, you need to create one using the “Maintain Form Templates” app. There you’ll find the predelivered form template MM_PUR_CRFQ_INTERNAL for internal request. You can download it, adapt it to your needs and upload it to the “Custom Templates” section with custom name.

Additionally, a custom form template should be added to the list of allowed templates for application object type

“Central Request for Quotation” in the “Manage Your Solution” app.

Choose “Configure Your Solution”. As "Application Area", select "Application Platform and Infrastructure".

Under “Sub Application Area”, enter “Output Management” and in the “Item Name” enter “Output Control”.

Select configuration step “Assign Form Template”. You might need to check the configuration in the “Output Parameter Determination” app and add or replace your custom form template.

Before BAdI implementation, you need to create a custom field and custom form template. A custom form template must be added to the list of allowed templates for central RFQs. You can do this in Customizing for Cross-Application Components under “Output Control” -> “Assign Form Templates”. You might need to check the configuration in the transaction OPD (“Output Parameter Determination”) and add or replace your custom form template.

For more information about the standard settings such as filters, single or multiple uses, see the “Enhancement Spot Element Definitions” tab in the BAdI Builder (transaction SE18).

BAdI Implementation:

  • Import Parameters:
  • CREQUESTFORQUOTATIONITEMDATA – Contains the central RFQ item data. If the central RFQ is in status “Draft”, this structure is filled with the current transient data.

  • CRFQITEM_PERSISTENT_EXTN_IN – Contains the list of all registered custom fields for the current business context as importing values.

  • OUTPUT_CONTEXT_DATA – Contains additional data such as defined form language or current supplier number.

  • Changing Parameter:
  • CRFQITEM_PERSISTENT_EXTN_OUT – Contain the list of all registered custom fields for the current business context as exporting values.

You can find example implementations in the BAdI Builder on the “Enhancement Spot Element Definitions” tab in the “Implementation Example Classes” section. The following example implementation is available: CL_MMPUR_EXMP_S4_CRFQ_MDFITM.






General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3951 Date: 20240523 Time: 210212     sap01-206 ( 75 ms )