Ansicht
Dokumentation

FSH_BADI_SOIDOC - BAdI: Creation of Generic Article to Group Variants in Sales Order

FSH_BADI_SOIDOC - BAdI: Creation of Generic Article to Group Variants in Sales Order

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Sales and Distribution (LO-RFM-SD) component.

When you create or change a sales order using IDoc, you can call this BAdI to override the standard logic provided by SAP for grouping the variants. You can define your own logic to group the stand-alone variants for the creation of generic articles and generate group numbers for each of the variants to be grouped under the corresponding generic articles.

When you create or change a sales order using OData API, you can call this BAdI to override the standard logic provided by SAP to group the variant to a generic article. You can define your own logic for the stand-alone variant to select the generic article item from available ones.

After implementing the BAdI, you should ensure the following:

  • The numbers of variants before and after calling the BAdI remains the same.
  • The variants are not repeated under the same generic article. If the variants are repeated under the same generic article, the IDoc or OData API may contain errors and the document cannot be created or changed.
  • The group number is not cleared for the variants.

You have activated the business function ISR_RETAILSYSTEM.

You have selected the Generic Article Creation checkbox in Customizing for Sales and Distribution under Sales >> Sales Documents >> Sales Document Header >> Maintain Sales Document Types for Fashion Management.

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






ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2794 Date: 20240523 Time: 200147     sap01-206 ( 54 ms )