Ansicht
Dokumentation

SIMG_LTRM_USEXIT005 - Determine Tasks Selected for Execution

SIMG_LTRM_USEXIT005 - Determine Tasks Selected for Execution

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (Add-In) is used in the Task and Resource Management (LE-TRM) component.

At task selection, the system prioritizes the optional tasks for selection, sorts the tasks according to these priorities and selects the one with the highest priority. This task is the first record in the task list (IT_LTKPL).

This Add-In enables you to do the following:

  • Determine which task will be selected by sorting IT_LTKPL
  • In the case of a task bundle, determine whether to skip resequence. The field EV_RESEQUENCE_SKIP_IND gets two possible values: Nothing (space) for resequence, 'X' for skipping resequence.
  • Abort the selection process by assigning value 'X' to the field EV_SELECTION_ABORT_IND.

The Add-In's parameters are:

  • Site (I_LOCAT)
  • System guided flag (I_SYSTEM_GUIDED)
  • Resource data (IS_LRSRC)
  • Tasks for selection (IT_LTKPL)
  • Task priorities for selection (IT_TASK_PRIO)
  • Skip resequence flag (EV_RESEQUENCE_SKIP_IND)
  • Abort selection flag (EV_SELECTION_ABORT_IND)
  • Tasks for selection sorted by customer (ET_LTKPL)

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3696 Date: 20240523 Time: 211833     sap01-206 ( 47 ms )