Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

HOW TO READ PORTAL USER ID INTO WEBDYNPRO ABAP.

STEPS:

  1. 1.Create  one parameter in inside of method ‘HANDLE DEFAULT’ ie., lv_user type uname.

  1. 2.Create one attribute in component controller with public visibility.

  1. 3. Write coding in inside of window method ‘HANDLE DEFAULT’

wd_comp_controller->lv_user = lv_user.

If you want to access user id value in inside of window means you should call this value in MODIFYVIEW.Because WDDOINIT  is execute before triggering HANDLEDEFAULT method.

That code is  userid = wd_comp_controller->lv_user.

If you want to test your application with constant value you can pass the values in webdynpro application(you already created parameter in HANDLE DEFAULT method so here give F4 help and set the value.)


Labels in this area