Author: Christian Gradolf

ProNovia Produkte Korrekturanleitung
Knowledge Base ID / Version | CFM-254 / V8.1.3
Ausgabe Korrekturanleitung | I / CG / 13.06.2023
Farblegende Korrekturen | INSERT | REPLACE THIS | REPLACE WITH | DELETE

Klasse | /PRONOVIA/CL_PRM_DEF_OBVALCHLD
Methode | _CHECK_SHIFT_ROUTING

METHOD _check_shift_routing.

. . . 

  LOOP AT lt_mapl ASSIGNING <mapl>.

. . .

      lv_multi_ass = abap_false.                            "CG/ID11691
    ENDIF.
    "CG/ID10260}

    lt_validities = lo_routing->get_validity_table( ).
    READ TABLE lt_validities ASSIGNING <ls_validity>
         WITH KEY change_number = is_shift_info-change_number.
>>>START DELETE
    CHECK sy-subrc = 0.
>>>END DELETE

    "{CG/ID10260/neu nur wenn Multi, dann in AFW Command Meldung
>>>REPLACE THIS
    IF  is_shift_info-new_valid_from_date_in > <ls_validity>-valid_from_date
    AND lv_multi_ass = abap_true.
>>>REPLACE WITH
    IF <ls_validity> IS ASSIGNED                            "CG/CFM-254
    AND is_shift_info-new_valid_from_date_in > <ls_validity>-valid_from_date
    AND lv_multi_ass = abap_true.
>>>END REPLACE
      TRY.
          lo_ctrl_frw = /pch/cl_cfw_ctrl_framework=>get_instance( ).
          IF lo_ctrl_frw->mo_ctrl_command->mv_queue_is_running = abap_true.

. . .

<ENDE>

ProNovia Produkte Korrekturanleitung		Template  Version B.00