Skip to Content
avatar image
Former Member

user id not getting updated

Hi All,

I have created Web dynpro application which is working fine within which i have created one node lets say 'PERNR' in view

'VIEW' for input from user being displayed. Now that application we are connecting it to portal to which user can login and access that application. The input field PERNR is in read only mode. The requirement is that when user login throgh portal that id should get placed in PERNR.? How it can be done in Webdynpro ABAP?

Plse Help..

View : VIEW

Node: PERNR

Attribute : PERNR ( Read Only )

How can i set login id to pernr field in portal?

Plse i would thankful if u send me code snippet as i am new to it and web dynpro ABAP

Thanks

Parag

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 06, 2012 at 04:39 AM

    Hi,

    Check my article: [How to Integrate WDA in Portal and get Logged on User|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008fc414-997f-2e10-3899-fd895ec8eb5e]

    Hope this helps u.,

    Thanks & Regards,

    Kiran.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2012 at 02:40 PM

    You want to display only pernr number ?

    We have a function modue, it will take the sy-uname as input and it will return the all the details realted to it, from there u can get the pernr and pass the same to your input field.

    FUnction module name is HR_GET_EMPLOYEES_FROM_USER.

    pass the sy-uname as import parameter.

    Regards

    Srinivas

    Edited by: sanasrinivas on Jan 5, 2012 8:15 PM

    Edited by: sanasrinivas on Jan 5, 2012 8:17 PM

    Add comment
    10|10000 characters needed characters exceeded