on 06-11-2009 6:49 AM
Hello All.
I have created users in portal.
As soon as the user enters the portal I have to display their details in the very first screen.
For this I need the userid who has entered.
How to get the ID.
Using the ID I will retrieve their details from the table and Display their details.
Warm regards,
SampathKumar.
Thank u all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The portal user id will be stored in system variable sy-uname.
With Regards,
Ranganathan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
> The portal user id will be stored in system variable sy-uname.
>
> With Regards,
> Ranganathan.
Not necessarily. Often Portals use User Mapping or Single SIgn On so that the ABAP AS Logon (SY-UNAME) is not the same as the portal user name. It is advisable that you not depend upon SY-UNAME and instead use the suggestion above to pass in the portal value from the iView.
Hello All.
I have created the iview but while clicking the preview it shows page cannot be displayed.
I have mentioned correct application name and application parameters.
Is there anything else to be done like assigning the iview to any page in the application.
Please help me in this regard.
Thanks,
SampathKumar.
hi
1. go to HANDLEDEFAULT method of your main Window
2. in the parameters add userid type string
3. create a variable in Attributes tab of the component controller userid type string
4. code in the HANDLEDEFAULT method of the Window
wd_comp_controller->userid = userid.
5. now you can access userid in any method in the component.
Ask your portal admin, to create iView with parameter userid=<User.UserId>
i hope it helps
regards ,
amit
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.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.