Skip to Content
0
Former Member
Jan 30, 2009 at 01:29 AM

Data Slice User-exit Issue

736 Views

Hi Friends,

In my Info-provider, I have defined data slice for characteristics selection and validation in query.

I have two -options to give selection for any characteristics, first is data slice for an selection and other is For an exit class.

Now my requirement is to lock Fiscal period which are not open, and Fiscal period is my characteristics in data slice.

So As per first option, For an selection, when I will give in input for particular period like Dec 2008 then it is locking forecast data for Dec 2008 and allow to edit for other fiscal period in Query.

So it is working fine when I am changing manually.

Now My functional team said that we have to automate this process like, as second option is For an Exit class, if we implement then we can provide selection automatically.

So my logic for second option * for an Exit Class * is maintain variant in TVARVC table and from that define which fiscal period you want to lock. So I have that logic but where to put that logic is big question.

I have processed following steps.

1. Created a Z class with super class CL_RSPLS_DS_EXIT_BASE, and then what I got to know that if you redefine method IS_PROTECTED then it will restrict with input.

My Question is I can not find any range table for this method, and in debugging I can see my data slice variable but its exporting parameter for this method so I can not change it.

Any Idea how to validate data slice characteristic for an exit class.

I have done other user exit for specific to query level, but never worked on data slice and its class based user exit

I really appreciate your feedback..

Thanks

PP