cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter Value Passing

Former Member
0 Kudos

Hi,

I am new to BSP..Can we pass only the screen field values from one page to other. I mean, does the Interaction Parameter's name be same as that of the screen field name.

Pl reply...

Regards,

Rushikesh

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

if the variable value which you want to pass is not part of screen (form field) then you have to use

navigation->set_parameter( name = <'attribute name in the next page'> value = <variable holidng the value> ).

for a screen field (form field) you could simply use

navigation->set_parameter( 'fname' ).

but its a good practice to always specify the name and value so that you dont by mistake miss out

Regards

Raja

Answers (2)

Answers (2)

raja_thangamani
Active Contributor
0 Kudos

Look at this 2 blog..This will explain how to pass the Parameters..

<a href="/people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i: Navigation between BSP Applications: Part-I</a>

<a href="/people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii: Navigation between BSP Applications: Part-II</a>

Raja T

Message was edited by:

Raja Thangamani

Former Member
0 Kudos

Hi,

Yes we can pass screen values from one page to another.

You can get the screen values, store it in an internal table and pass to other page using set and get server side cookies and you can also use auto page attribute if u r working in page with flow logic.

what do you mean by interaction parameter name and screen field name? can you elaborate?

Regards,

Sneha.

Former Member
0 Kudos

Hi,

Thanks for replying..

I am using following code..

navigation->set_parameter( 'fname' ).

navigation->set_parameter( 'lname' ).

navigation->next_page( 'MOVE' ).

where fname & lname are inputfields.After transfering to the next page the parameters are having values..

But if,

If i assign values of fname to fname1 & lname to lname1 on first page

& used

navigation->set_parameter( 'fname1' ).

navigation->set_parameter( 'lname1' ).

navigation->next_page( 'MOVE' ).

Then on next page i am not able to get fname1 & lname1 parameter's values...

Regards,

Rushikesh

Former Member
0 Kudos

Hi,

Did you set fname1, lname1 as auto page attributes?

Regards,

Sneha.

Former Member
0 Kudos

Yes i have set the Auto page attribute of both the parameters..

still on the first page the values are coming into the parameters but on next page values are not coming..

Do i need to do use get_parameter on the next page..

Regards,

Rushikesh

Former Member
0 Kudos

hello,

Do u have a problem if u set ur page as STATEFUL ?

If not then set ur page as STATEFUL in the properties tab of ur BSP Page .

Then the values will be seen.

Please reward points if ur problem is solved.

Regards,

Deepu.K