Skip to Content
0
Former Member
Nov 05, 2009 at 09:17 AM

Authorization check - customer exit EXIT_SAPLRRS0_001

47 Views

Hi gurus,

a question on customer exit about EXIT_SAPLRRS0_001 related to i_step = 0 (Authorization check).

I have two InfoObjects: 0WS_CAT and 0WSCATQ. The last one has a compounding that is 0WS_CAT.

In the exit: I need to check the 0WS_OBSFLAG (a simple flag attribute) to determine if the entries in 0WSCATQ Master data are valid or no.

If I found that the entry is valid I add the value to the e_t_range export table in this way:

.....
 if ( i_step = 0 ).
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    l_s_range-low = '00000001'.

    append l_s_range to e_t_range.
endif.
....

The problem is the compound, how can specify the value key for the export table?

For example ... in the table I have three entries:

0001 00000001 #

0002 00000001 X

0003 00000001 #

The valid entries are:

0001 00000001 #

0003 00000001 #

How can specify '0001' or '0003'? Because if I assign only the value '00000001' to l_s_range-low then the entries valid in the authorization for 0WS_CATQ are three and not two.

It's important for me to find a solution.

Kindly regards, Roberto