cancel
Showing results for 
Search instead for 
Did you mean: 

transfer data from one page to another.

lokesh_kamana
Active Contributor
0 Kudos

hi SDNS,

i have small problem.

I have 2 pages.

page1.

page2.

page1 ->i wrote a select query and got the data into an internal table<b> itab.</b>

now my requirment is i want to populate it into the page2.

i.e.

page2->I require the <b>itab</b>.

how should i navigate the internal table data from page1 to page2.

thanks in Advance,

Lokesh@EDS.

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

There are two way,

1. Using server side cookies: Refer

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm">Server Cookie</a>

2. Using Auto Parameter

call method NAVIGATION->SET_PARAMETER exporting
name = 'itab'
value = itab.

  "Here itab is internal table.

NAVIGATION->GOTO_PAGE('next.htm').

In the next page , you can make the internal table as auto in the attributes.

<i>*Reward each useful answer</i>

Raja T

Former Member
0 Kudos

It's only i idea i never try to do it because i'm very newbie in bsp's... but i want to test and it's an idea to save the values that you want like attribute in a class and the you can have a get and set method...

Another qüestion about this post,,,, if you want to use the second option have you to put the bsp in the stateful model? (keep_context = 1)

thanks and sorry for my poor english

Answers (0)