Ansicht
Dokumentation

BADI_STRUCT_LIST_DAT - BAdI: Modification of Date for Structure List Explosion (Web UI)

BADI_STRUCT_LIST_DAT - BAdI: Modification of Date for Structure List Explosion (Web UI)

BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Plant Maintenance (PM) component. This BAdI enabes you to influence when the structure list is exploded in notifications, orders, task lists, and maintenance plans on the SAP Web UI.

You can use structure lists in the following documents to select technical objects or materials. You can use this BAdI to define the date on which the structure list is to be exploded:

  • Maintenance notification
    Selection of technical object in the General Data at header level
  • Order
  • Selection of technical objects that are assigned at header level or operation level
    If you have assigned a variety of technical objects with different structure lists to the order at header level and operation level, the system explodes all the structure lists on the same date, which is the date you define using this BAdI.

  • Selection of materials in the operation details
    You can use structure lists to select materials for the technical object that you have assigned at operation level. You can specify that the structure list is to be exploded in the operation details on a different date than the date of the structure list at order header level and order item level.

  • Task list
  • Selection of technical object at header level
    If you change or display a task list of type Task List for Technical Object, you can use structure lists to select the technical object on the initial screen.

  • Selection of technical objects that are assigned at operation level

  • Selection of materials in the operation details
    You can use structure lists to select materials for the technical object that you have assigned at operation level. You can specify that the structure list is to be exploded in the operation details on a different date than the date of the structure list at task list header level and task list item level.

  • Maintenance plan
    Selection of technical object assigned to the maintenance item

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

EAMS3_STRUCTURE_LIST_DATE_IMPL

The default implementation defines the date of the structure list explosion based on the same logic used in the relevant SAP GUI transactions for Plant Maintenance:

  • Structure list explosion on current date
  • Maintenance notification

  • Order header and operation

  • Maintenance item

  • Structure list explosion on the key date entered on the initial screen
  • Task list header and operation as well as selection of materials for a technical object that is assigned at operation level

  • Structure list explosion on scheduled date
  • Materials for a technical object that is assigned to an order operation
    If no scheduled date is specified, the system uses the required (basic) start date. If no required (basic) start date is specified, the structure list is exploded on the order creation date. If the order creation date cannot be found, it is exploded on the current date.

BAdI method documentation:

CHANGE_DATE_STRUCT_LIST_WD

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 the SAP Library, choose SAP NetWeaver Library: Function-Oriented View --> Application Server --> Application Server ABAP --> Application Development on AS ABAP --> ABAP Customer Development --> Enhancement Framework.

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes area.

The following example implementations exist:

CL_EX_EAMS3_STRUCT_LIST

In the example implementation, which you can use as a template for your own implementation, the structure list explosion is scheduled as follows:

  • Structure list explosion on required start date
  • Notification header

  • Structure list explosion on required start date
  • Order header and operation

  • Structure list explosion on current date
  • Maintenance item

  • Structure list explosion on the key date entered on the initial screen
  • Task list operation and selection of materials for a technical object that is assigned at operation level

  • Structure list explosion on scheduled date
  • Materials for a technical object that is assigned to an order operation
    If no scheduled date is specified, the system uses the required (basic) start date. If no required (basic) start date is specified, the structure list is exploded on the order creation date. If the order creation date cannot be found, it is exploded on the current date.

Note:

You use this BAdI to implement your own logic that the system uses to determine the date on which to explode the structure list. This logic is only valid on the SAP Web UI. If your logic deviates from the logic of the default implemenation, the date for the structure list explosion is determined according to the standard logic in the relevant SAP GUI transactions and according to your logic on the SAP Web UI.






Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 7607 Date: 20240524 Time: 012222     sap01-206 ( 128 ms )