Skip to Content
0
Former Member
Jun 24, 2011 at 10:39 AM

How to get planning function in customized data slice?

98 Views

Hi all,

we are using a customized data slice which implements IF_RSPLS_DATASLICE. Now we have the requirement that the data slice only protects the data when it calls via query. The data slice will not protect data if a planning function is executed. How can we implement this requirement? Is it possible in the method IF_RSPLS_DS_METHODS ~ IS_PROTECTED to read this information from an instance of the planning function (CL_RSPLS_CR_CONTROLLER?) or the buffer or something else? Or can we find some information about the query?

At the moment we only check if a planning sequence is called by a process chain. This works fine 😉

IF sy-batch IS NOT INITIAL.
    e_noinput = rs_c_false.
    EXIT.
  ENDIF.

Thanks for your help!