Custom Portal iView (Retrieve user; Append text to URL; Redirect to URL)
I wish to create a custom Portal iView. I wish to fulfill the following requirements using this iView:
1) I wish to retrieve the Portal User ID of the user who is currently login in Portal. (Will the IUser class solve the purpose? I know IUser is used in Web Dynpro application.)
2) I wish to append this User ID to another URL (a URL of some other non-SAP application). The URL is something like this:
3) Both the above tasks have to be performed in the same iView. And then the iView should automatically be redirected to the new URL (generated in step 2).
I wish to do this without using Web Dynpro. Can someone please help me for this requirement? I would appreciate even if someone knows the solution to only one of the three steps above, and replies to my question.
Thanks in advance.