on 03-24-2014 6:16 PM
Hi,
I am fairly new to the Webdynpro world. I wanted to have some approach to creating a screen(view) for FV60 and FV65 Transaction. Depending on the security role of the user, these screens should be displayed. How can I approach this. Do i need to make a service call for this?
Hi Isha,
You can directly call t-codes FV60 & FV65 in WDA
- Create a WD component and a view
- Use the method WDDOINIT( ) of your view to check the authorization object of the user and based on activity and role, call the t-codes
Please refer the below link for more details on "Calling transaction code in WD view element"
Other way :
- Create a veiw V_FV60 and create all required ui elements
- Create a inbound plug FROM_MAIN & outbound plug TO_MAIN
- Create another view V_FV65 and create all required ui elements
- Create a inbound plug FROM_MAIN & outbound plug TO_MAIN
- Now, in V_MAIN
- Create a inbound plug FROM_OTHER_VIEW & outbound plugs TO_FV60 & TO_FV65
- Create navigation link between V_MAIN & other views
- Go to method WDDOINIT( ) of v_main, check the authorization object and activities,
- if user has role to see fv60, then fire plug wd_this->fire_to_fv60_plg( )
- if user has role to see fv65, then fire plug wd_this->fire_to_fv65_plg( )
Please refer the below links to know more about navigation in WD
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.