cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I hope,You need to put where condition in the below statement .

LOOP AT i_t_var_range INTO loc_var_range.

With rgds,

Anil Kumar Sharma .P

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

in addition to Anil's valid input, make sure that ZTEST is NOT ready for input. Indeed "ready for input" vars cannot be changed via customer exits.

hope this helps...

Olivier.