Hello Everybody,
I wish to implement an exit dataslice in IP, but I am having some basic problem.
I have read SAP docu: http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d3f31b70701e10000000a422035/content.htm
It states:
1. "The exit class must implement the interface 'IF_RSPLS_DS_EXIT'."
2. "We recommend that the customer class inherit from the template class
'CL_RSPLS_DS_EXIT_BASE'."
3. "Re-implement the method u2018IS_PROTECTEDu2019."
Hence, I then implemented ZCL_RSPLS_DS_EXIT_BASE with CL_RSPLS_DS_EXIT_BASE as super class (see above 2.). This looks fine BUT the problem is that IF_RSPLS_DS_METHODSIS_PROTECTED can not be changed then (message: Method IF_RSPLS_DS_METHODSIS_PROTECTED (see above 3.) is implemented in class CL_RSPLS_DS_EXIT_BASE).
I now deleted class ZCL_RSPLS_DS_EXIT_BASE and started all over again. This time NOT defining ZCL_RSPLS_DS_EXIT_BASE with CL_RSPLS_DS_EXIT_BASE as super class. Instead I defined the interface IF_RSPLS_DS_METHODS. Now I could modify IF_RSPLS_DS_METHODSIS_PROTECTED (see above 1.), BUT when I then debug the application I notice that the method IF_RSPLS_DS_METHODSIS_PROTECTED is never called.
Also, in IF_RSPLS_DS_EXITGET_INSTANCE I have to implement a call to CL_RSPLS_DS_EXIT_BASE=>IF_RSPLS_DS_EXITGET_INSTANCE
What am I doing wrong? What is the right way to do this?
Thanks for any help.
Martin