on 01-17-2008 5:50 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.