Ansicht
Dokumentation

FSH_BADI_ARUN_WORKBE - BAdI: Enhancements to ARun Workbench

FSH_BADI_ARUN_WORKBE - BAdI: Enhancements to ARun Workbench

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Order Allocation Run (LO-FSH-ARN) component.

You can use this BAdI to create your own implementations and customize the following steps when you execute Order Allocation Run Workbench:

  • Requirement Selection
  • Stock Selection
  • Deallocate
  • Allocate
  • Release
  • Block
  • Before Saving to DB
  • After Saving to DB
  • Before Displaying the Results List

This BAdI is optional.

Methods

The following methods are available:

Note

The tables CT_WORKBENCH_REQUIREMENT and CT_WB_REQMT are used as input parameters for the following methods. These tables are of the type TABLE. You should derefer these tables to FSH_ARUN_WORKBENCH_T type before you use them.

  • REQUIREMENT_SELECTION
After requirement selection, all sales orders and STOs are updated in the table CT_WORKBENCH_REQUIREMENT. In this table, you can add additional fields which you want display in the results screen. CUFLD_01 to CUFLD_10 are customer fields.
  • STOCK_SELECTION
After stock selection, the selected stock types are updated in the table CT_STOCK. You can use this method to change the table where these details are available.
  • DEALLOCATE
After the stock is deallocated using the Deallocate option (the results are saved in CT_WB_REQMT), you can use this method to modify the deallocation results
  • ALLOCATE
After the stock is allocated using the Allocate option, you can use this method to modify allocation results.
  • RELEASE
After an order is released using the Release option, you can overwrite the ARun status for a particular sales order or STO by using this method.
  • BLOCK
After the status of an allocated order changes from Fixed (F) to Reserved (R) or Hold (H), you can use this method to modify the status.
  • PRE_SAVE_TO_DB
This method is called before saving the data to the database. The data from internal requirements, stock (CT_STOCK), and the allocation table are updated in the database tables. Using this method, you can modify the data before saving it in standard database tables.
  • POST_SAVE_TO_DB
This method is called after saving the data to standard database tables. Using this method, you can update your own tables or perform any other action.
  • BEFORE_DISPLAY_LIST
This method is called when you want to modify the field catalog used in result list of ARun Workbench. You can also change the description values of the fields available in the field catalog structure.

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

For information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_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→ ABAP Customer Development → Enhancement Framework.






Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4336 Date: 20240523 Time: 193549     sap01-206 ( 67 ms )