Skip to Content
0
Former Member
Jul 04, 2007 at 08:31 AM

Passed i_step = 2,3(Hierarchy Node Variable with Customer-Exit)

120 Views

Hellow !

I want to insert the following ststement to force the variable to be executed with i_step = 2 or 3.

CASE I_VNAM.

when 'ZTEST'.

CLEAR loc_var_range. REFRESH loc_var_range.

CLEAR: l_s_range, ytest001.

LOOP AT i_t_var_range INTO loc_var_range.

SELECT * FROM ytest001

WHERE bname = sy-uname

AND node = loc_var_range-low.

IF sy-subrc = 0.

l_s_range-low = loc_var_range-low.

l_s_range-high = '0HIER_NODE'.

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

APPEND l_s_range TO e_t_range.

else.

l_s_range-low = '#'.

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

APPEND l_s_range TO e_t_range.

endif.

ENDLOOP.

However, Passed customer-exit(Enhancements for Global Variables in Reporting) i_step =2,3

Regards,

Don