Skip to Content
0
Former Member
Apr 09, 2010 at 12:18 PM

Resetting the filter for a planning sequence

103 Views

Hi all,

I have created a planning sequence, which I run with a variable from WD ABAP:

CALL FUNCTION 'ZRSPLSSE_PLSEQ_EXECUTE'

EXPORTING

I_SEQNM = 'ZRR_SRENT'

I_VARIANT = 'ZRENTCNT'

  • I_FAST_ENQUEUE = RS_C_FALSE

TABLES

E_TK_RETURN = ek_return.

CALL FUNCTION 'RSPLSTD_DATA_SAVE'.

This works like a charm... except that the variable is only run once per session (if I close the Dynpro and open it again it works fine), if I run the planning sequence again it automatically uses the same variable value as filter input. The actual variable value is decided as a user exit, and I can see that the user exit include isn't even run the second time, which leads me to suspect that some caching issue is at stake.

I'm thinking that the planning sequence should somehow be closed/finished/reset after the 'SAVE' is done, but I havn't been able to find any promising function modules / classes to do this.

Any Ideas ?