on 02-05-2010 4:41 PM
Hi Experts,
In standard webdynpro, component I need to enhance view by dynamically hiding one button based on the called screen.But called screen and is from differnt standard component and called screen is from differnt standard component. How can i determine from which component it is called? As these are standard components how can i get the indicator or component name from where screen is called.so that i can check and hide the button?
Regards,
Suneetha.M
When u are calling the second screen on click of a button then in the post exit of the button action use the export statement.
Now in the second component use import, and based on the value of the import parameter u can Hide the button.
syntex for export statement.
data l_var type string.
l_var = 'a'.
EXPORT lv_var FROM l_var TO MEMORY ID 'memory_temp'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
You can send the name of the component as a parameter to the "OnActionIn<ViewNAme>" method. Based upon the parameter name, you can enable or disable the Button
Regards
Mrinalini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.