sorting individuals bills in a collective bill

Sometimes for whatever reason the default sort order of individual bills in a collective bill is not what the customer wants.

Sorting the internal table of individual bills in the colltive bill printer workbench formular doesn’t actually sort the individual bills which are printed afterwards. Todo that you need to implement the event R439 in the transaction FQEVENTS.

The report REAPRIN2 calls that event in the form SELECT_CHILDREN_INVOICES.

 
  call function 'FKK_FUNC_MODULE_DETERMINE'
    exporting
      i_fbeve       = 'R439'
      i_applk       = co_applk_isu
    tables
      t_fbstab      = t_fbstab
    exceptions
      error_message = 1.