cancel
Showing results for 
Search instead for 
Did you mean: 

User specific variants in Web Dynpro

Former Member
0 Kudos

Hi,

I am developing a WebDynpro application that connects a SAP system. I have many forms that can be prefilled with user specific data. I would like to use user-specific variants defined in the SAP system to prefill these forms. I was thinking of creating "fake" selection screens in the SAP system that contain the same inputfields as in my web appli and then create variants for these selection screens. But this solution doesnt seem to be very suitable. Do you have any other solution?

Thanks,

Younes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I am not sure if I get it right.

If you need access to the user data stored in the UME you can use the methof

WDClientUser.getCurrentUser().getSAPUser().

Doing this you have access to infos like first name or last name of the user.

If you want to prefill any Web Dynpro view with data stored in the backend (R/3?) you should use the adaptive RFC model of Web Dynpro to get access to this data.

Please have a look to the tutorials section - there is quite a lot documentation about this topics.

Hope that helps.

Best regards

Jochen