on 11-16-2015 9:17 AM
I working SAP ECC 6.0 and net viewer 7, when i create a sales order i need to capture the portal id which i used to login to my webdynpro component ,
how can i get portal id , let say the id is 0110011 and my user id for ECC is "welcomeabap",i can get that by using sy-uname , but i don't know how to get 0110011 id in debugging mode.
Hi Nandha,
1.Create a context attribute in component controller.
2.Map it to window and view.
3.Assign the user name value to that context attribute in window so that you can pass the user name.
You can also follow the below document.
http://scn.sap.com/docs/DOC-2377
Regards,
shadab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shadab , the portal mapping done already from existing vendor, now i am creating a view alone in the component , those mapping done earlier , now i need those id only, is any class or method to give it in run time,
I used the below and its not giving any result
1.wdevent->get_data( exporting name = 'USERID' importing value = lv_userid ).
2.CALL METHOD wdr_task=>client_window->if_wdr_client_info_object~get_parameter
EXPORTING
name = 'iv_user'
RECEIVING
value = lv_para_value.
3.userid = runtime->server->request->get_form_field( 'userid' ).
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.