Skip to Content
0
Former Member
Sep 25, 2008 at 12:45 PM

Custom Portal iView (Retrieve user; Append text to URL; Redirect to URL)

25 Views

Hi all,

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:

http://<ABC>/user=

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.

Regards,

Ankur