cancel
Showing results for 
Search instead for 
Did you mean: 

how to map portal user id and employee personal number using NWDS.

Former Member
0 Kudos

Dear All,

In my Client we are developing custom ESS application like employee appraisal.

We will intergrate these application into portal using webdynpro java iview.

Now my question is..

employee logs into portal with his user id and password( user accessing employee appraisal like webdynpro java application),then in his custom ESS applications how can we fetch the corresponding employee data.how can we get the user...

in this employee appraisal application having

two input fields like

1.start date(user enter date manually).

2.perner no(Automatically get the perner number who is logged into portal).that means portal user id is equal to r/3 pa30 perner number.

in which RFC i need to call into webdynpro java.how can i map into portal user id into r/3 perner number.

I hope you guys understand my question.

Tanks@Regards

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

former_member189631
Active Contributor
0 Kudos

Pradeep,

If you have customized the standard ESS WD dcs, then you just need to implement SSO with logon tickets and maintain the user info in PA30 tcode would do everything and activate standard JCo pairs.

If you are using custom developed application, Not sure about the above approach but you can pass perner to the RFC which you are using and get the data. SAP logticket is not mandatory in this method.

Thanks.

Former Member
0 Kudos

Hi,

You can use the following code segment.

IWDClientUser wdUser = WDClientUser.getCurrentUser();

String userID = wdUser.getSAPUser().getUniqueName();

Thanks

Former Member
0 Kudos

Alternatively, you can call a standard RFC RHXSS_GET_EMPLOYEE_DATA to get necessary details for the logged in user.

Thanks

Answers (0)