Hi,
I've got an object of type CL_RSR_PARAMETER.
I need to get the last URL of a webtemplate to create context sensitive links (ascending, descending sorting)in the header line of the table.
Where (and how) do I have to create the object to get the last executed URL?
Thanks
Mike
Hi,
try reading out the window.location object by JavaScript.
-> www.selfhtml.org gives you some tips.
Bye
Ralf
Hi Mike,
You can do this way. You can add the previous url as a parameter to the current url using javascript and then access that parameter in the table interface as below. I mean ,
present url = present url&PARAMETER_NAME=<previous url>
N_R_CREATION_PARAMETERS->GET( I_ID = 'PARAMETER_NAME' I_INDEX = 0 ).
Cheers,
Kartheek
Hi Mike,
It may not be possible to get the previous url in the table interface. Request_no and pageno are generated at the server on a random basis( even though they seem to follow a particular pattern) . Hence, you may have to use javascript.
Cheers,
Kartheek
Message was edited by: Kartheek Kandikuppa
Add a comment