Skip to Content
0
May 09, 2010 at 01:22 PM

How to do init data in exit data slice ??

46 Views

Hi All,

Greeting..

Regarding data slice in IP.

Currently I'm trying to do data slice at running time, and it works using this class as super class: CL_RSPLS_DS_EXIT_BASE.

But I have a question on it; to disable the cell, I have some logic and it needs to fetch the data from other ODS, and as we know that this class is working cell-by-cell, so meaning, in every cell, I do a "select single" to fetch the data on ODS. It works, but from performance wise, I know it's not good.

My questions whether there is an init method that this method is only run once, so that I can fetch ODS data and put all data that I need and park it at internal table.

I tried to redefine the constructor, but I'm forbidden to do it.

Could you all suggest me what I have to do to resolve it ?

Thanks a lot all and have a good day.

Best regards,

Daniel N.