Skip to Content

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

Parameter to Parameter - between 2 BSP-Application

Hello,

we have a problem between transfer Parameters from a BSP-Application-Site to a another BSP-Application Site.

How can we realizing this matter?

Thank you in advanced

Alexander

replied

Hi

Please use this below method,

DATA: URL TYPE STRING.

CALL METHOD RUNTIME->GET_URL_SAME_SESSION

EXPORTING

APPLICATION_URL

= '/sap/bc/bsp/sap/<BSP Application>/<page.htm>'

RECEIVING

URL = URL.

CONCATENATE URL '?<variable>=' <CLASS_NAME>->Variable> INTO URL.

CONDENSE URL.

CALL METHOD NAVIGATION->GOTO_PAGE

EXPORTING

URL = URL.

Here, <variable> is parameter which you have to pass the next BSP application.

OR user Server side cookies.

Example.

Set the cookie use this below method,

CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE

Get the cookis,

CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE

Hopeful it will work.

Thanks

Suriya.

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