Ansicht
Dokumentation

RETAIL_ST_TRF_PROENH - BAdI: Enhancement of Product Details

RETAIL_ST_TRF_PROENH - BAdI: Enhancement of Product Details

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the SAP retail industry application component (LO-RFM-STO). You can use this BAdI to modify the detail screens and search function of the Transfer Stock UI5 app as follows:

  • To provide additional product information in the Add Product Quantity screen
  • To modify logic that influences the products displayed in search and scan results based on specific transfer details entered by store associates

This BAdI is called to retrieve data from the back-end system in the following instances:

  • When a product list is displayed for a specific transfer document using the GET_TRF_DETAILS_SUPP_DATA method. It provides data for the additional product information fields in the Add Product Quantity screen.
  • When a product search is launched using the PRODUCT_SEARCHmethod to replace the product search logic
  • When a product scan is triggered using the GET_SCANNED_PRODUCT_NUM method to replace the product scan logic

Before implementing this BAdI to provide additional product information in the Add Product Quantity screen, do the following:

  1. Add fields that contain the additional information you intend to provide to the RETAIL_ST_TS_TRF_DETAILS_INCLstructure using the Append Structurepush button.
  2. Redefine the SAP NetWeaver Gateway Service Builder Project RETAILSTORE_TRF_STOCK; enhance the TransferDetail entity. Then regenerate the project.

Before implementing this BAdI to replace the search or scan product logic, do the following:

  1. Save the new field values when creating the transfer document.
  2. Add fields that contain the additional information you intend to use to the RETAIL_ST_TS_TRF_DOC_INCL structure using the Append Structure push button. Do the same for the TRF_DOC_HEADdatabase table.
  3. Redefine the SAP NetWeaver Gateway Service Builder Project RETAILSTORE_TRF_STOCK; enhance the TransferDocumententity type. Regenerate the project.
Additionally, if you implement the PRODUCT_SEARCHmethod, do the following:
  1. Add fields that contain the additional information you intend to use to the RETAIL_ST_TS_ARTICLE_INCL structure using the Append Structurepush button.
  2. Redefine the SAP NetWeaver Gateway Service Builder Project RETAILSTORE_TRF_STOCK; enhance the Article entity type and regenerate the project. Enhance the GetEntitySet service in the DPC_EXT class by retrieving the additional input field values through the filter and filling the IS_ADDITIONAL_FIELDS structure with the filter values. Regenerate the project.

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).

After you implement the BAdI, you must extend the code in the front end application to display the additional product information.






General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3657 Date: 20240523 Time: 213100     sap01-206 ( 68 ms )