cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter to Parameter - between 2 BSP-Application

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member689397
Active Participant
0 Kudos

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.

Answers (0)