Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

server side cookies in MVC model

Hi

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

EXPORTING

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'

CHANGING

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.

Regards

Sachin

Not what you were looking for? View more on this topic or Ask a question