Activate and Implement BADI

To activate and implement BADI:

  1. Log in to SAP.
  2. Run transaction SPRO.
  3. Click Innovapptive – Mobile Solutions, mWorkOrder and select BADI as shown in the image.
    For the list of BADIs available for mWorkOrder, see List of BADIs for mWorkOrder.
    Figure 1. SPRO IMG Structure
  4. Click Execute.
  5. Alternatively, you can use transaction SE37 and view the function module /INVMWO/BAPI_WO_CONFIG_DB. This FM is related to service call that gets WorkOrder Configurable Dashboard.
    Figure 2. FM: /INVMWO/BAPI_WO_CONFIG_DB
  6. Search the function module with the string GET BADI
  7. Click GET BADI
  8. Double-click the BADI to navigate to the SE18 transaction
    Figure 3. SE18
  9. Click the Implementation icon for BADI.
  10. Enter an appropriate name (starting with Y/Z) for enhancement of spot implementation. (Follow the naming conventions and standards as per the policies and procedures defined.)
  11. Enter the package name.
  12. Enter an appropriate name starting with Y/Z for BADI implementation and any Z/Y name for implementing a class.
  13. Click the method as shown in the following screenshot.
  14. Click Yes.
  15. Perform the development activity (code changes and enhancements) to meet the business requirements:
    1. By default, the BADI is initially blank.
    2. Copy all the lines of the code from the standard Innovapptive—delivered FM /INVMWO/BADI_WOCONFIGDB to this section.

      The code can now be enhanced by following the standard ABAP development practices.

    3. Activate the BADI implementation (while activating, select all the relevant objects in the activation list).