cancel
Showing results for 
Search instead for 
Did you mean: 

navigation of pages in bsp

Former Member
0 Kudos

hi experts,

Can anyone help me how to navigate from one page to another page in bsp using page with flow logic,with small example.I also need excat necessacity of events when it will trigger with example.Any best material regarding it.

Regards,

praveen.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Praveen,

you might want to look at the bookshop sample. It contains all information you need for solving your problem.

http://help.sap.com/saphelp_nw04/helpdata/en/ef/c4133a62983c0ae10000000a114084/frameset.htm

HTH Lutz Morrien

Answers (3)

Answers (3)

Former Member
0 Kudos

to pass a variable from one page to another you have different options:

- using cookies (you store the data either in a serverside or clientside cookie)

- you use a hidden formular field to submit the data

- automatic page attributes

if you have an attribute A on page 1 and an attribute A on page 2 you choose auto at page attributes for both attributes. So the attribute data will be passed to page 2 automatically. Remember that the equality is referenced only by the attributes name.

You can also 'add' attributes by using

navigation->set_parameter(name = 'fieldA'

value = myField ).

In the following page you can get the attribute by

request->get_form_field('fieldA').

Remember that only 4KB of data can be transmitted due to the http restrictions. Otherwise you will have to use serverside cookies.

Former Member
0 Kudos
Former Member
0 Kudos

you can navigate to a page using

navigation->goto_page('page2.htm').

or if you use navigation requests

navigation->next_page('mynextpage2').

Normally you would implement this code in the onInputRequest handler after you processed the input from the previous form

Former Member
0 Kudos

Hi michel,

The answer which was given has solved my problem.Another thing is that how to pass data of a varible in one page to another page.can u just explain with small example

regards,

praveen.