cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Class where the system determines whether to create a new FU or Modify the existing one.

former_member678364
Discoverer
0 Kudos
1,156

Hello everyone. It is necessary for a requirement to find the point when creating the OTR, where the system identifies whether to create a new FU or simply modify the existing FU. I hope you can help me get either the class or the exit.

Accepted Solutions (0)

Answers (1)

Answers (1)

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos

Hello anabelg16

Freight unit building is executed by a process controller strategy assigned to a freight unit building rule. SAP delivers two strategies FUB_AUTO and FUB_DG.

The strategies contain methods. A method is a call to a class method. Strategies and methods are defined in SPRO: Transportation Management -> Basic Functions -> Process Controller -> ...

Strategy FUB_AUTO contains the following methods:

  1. FUB_PRE - implemented by method FUB_PRE of class /SCMTMS/CL_PC_METHODS
  2. FUB_AUTO - implemented by method FUB_AUTO of class /SCMTMS/CL_PC_METHODS
  3. FUB_POST- implemented by method FUB_POST of class /SCMTMS/CL_PC_METHODS

Strategy FUB_DB contains the following methods:

  1. FUB_PRE - implemented by method FUB_PRE of class /SCMTMS/CL_PC_METHODS
  2. FUB_DG - implemented by method FUB_DG_CHECK of class /SCMTMS/CL_PC_METHODS
  3. FUB_AUTO - implemented by method FUB_AUTO of class /SCMTMS/CL_PC_METHODS
  4. FUB_POST- implemented by method FUB_POST of class /SCMTMS/CL_PC_METHODS

With some ABAP skills you can implement your own methods and customize your own process controller strategy and implement this way any freight unit building algorithm you need.

To my knowledge there are not BADI, exits to influence FU building process. You need to modify the above classes or replace them with your own.

Best regards

Dominik Tylczynski