Skip to Content
0
Jul 30, 2020 at 06:05 AM

BW Analysis Authorization from UserExit

86 Views

Dear Experts,

i am using an input ready query for Analysis Authorization. My issue; I dont want to show all Characteristic Value with prefix PA*** for my User. Can i modify my User exit like this; if space (@Space) should all (*) but exclude value PA***

WHEN '/IBW/0SALES_01'.
    IF i_step EQ '0'.
      CALL FUNCTION 'RSEC_GET_USERNAME'
        IMPORTING
          e_username = l_username.
      REFRESH lt_abwp017.
      SELECT 'I' AS sign, 'EQ' AS option,
              CASE WHEN sales_grp = @space THEN '*'
              ELSE sales_grp END AS low
      FROM /IBW/abwp017
      APPENDING TABLE @e_t_range
      WHERE /IBW/s_bbiuser = @l_username
      AND /IBW/s_bberanz >= 1.
    ENDIF.

thanks for your help...