Untitled

 avatar
unknown
plain_text
8 months ago
1.5 kB
3
Indexable
    IF <ls_result_ui>-flane_allocated IS NOT INITIAL AND <ls_result_ui>-alig_header-alloc_params-alloc_apaid IS NOT INITIAL.
      IF <ls_result_ui>-alig_header-alloc_params-ab2_str_relevant_off = abap_false   . ".. Incl - D10K9A0HNS - TEMPBASRD - DSCAE-508:W.44 Fix for use dept/version allo% on IBDs where

        IF <ls_result_ui>-ed_allocated_version EQ abap_false.
          <ls_result_ui>-ed_allocated_version = abap_true. " non editable
        ENDIF.

        IF <ls_result_ui>-ed_allocated_flane  EQ abap_true.
          <ls_result_ui>-ed_allocated_flane = abap_false.  "editable
        ENDIF.
      ELSE ."if ab2 store relavant is on and flane is present, then
        IF <ls_result_ui>-ed_allocated_version EQ abap_true.
          IF <ls_result_ui>-ed_alloc_manual_flag EQ abap_false.
            <ls_result_ui>-ed_allocated_version = abap_false."editable
          ENDIF.
        ENDIF.
        IF <ls_result_ui>-ed_allocated_flane EQ abap_false.
          <ls_result_ui>-ed_allocated_flane = abap_true." non editable
        ENDIF.
      ENDIF.
    ELSE. " NON AB 2.0

      IF <ls_result_ui>-ed_allocated_version EQ abap_true.
        IF <ls_result_ui>-ed_alloc_manual_flag EQ abap_false .
          <ls_result_ui>-ed_allocated_version = abap_false." editable
        ENDIF.
      ENDIF.
      IF <ls_result_ui>-ed_allocated_flane EQ abap_false  .
        <ls_result_ui>-ed_allocated_flane = abap_true." non editable
      ENDIF.
    ENDIF.
Editor is loading...
Leave a Comment