server side cookies in MVC model
I have designed a BSP for goods receipt using BAPI and MVC design paradigm.
i have given one ADD ITEM button for adding items in internal table one by one on pressing add item . For that i am using
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
NAME = 'my_page_data'
APPLICATION_NAME = runtime->application_name
APPLICATION_NAMESPACE = runtime-application_namespace
USERNAME = name
SESSION_ID = 'same_for_all'
DATA_NAME = 'page_data'
DATA_VALUE = page_data
in my MODEL class .
but it is giving syntax error : *Field "RUNTIME" is unknown. It is neither in one of the specified *
when i am trying to create this object it say :
u can not make a instance of this class form outside
please guide me on this.