on 03-05-2013 4:41 PM
Hi All,
I am new to web dynpro, I have a requirement in which I have a Z class, which is getting called when I press GO in Portal screen(Selection Screen having i/p fields),I need to put some validation on Z class, I have an importing parameter in Z class :
IO_SELOBJ type ref to Object.
At the time of debugging, I can see this Object refers to /SCF/CL_SELECTION_ABS class,
having attributes V_PRODUCT, V_LOCATION T_SELRANGE etc.. and the value of these attributes are present at runtime..
I need to access attribute T_SELRANGE table of object IO_SELOBJ in Z class,
T_SELRANGE is a table that contains the values filled as i/p in selection screen at portal.
I need to access the attribute of this object at run time.
I need urgent help, Please give your valuable comments .
Thanks in advance.
Hi,
Try like this:
data lr_tmp_ref type ref to /SCF/CL_SELECTION_ABS.
lr_tmp_ref ?= IO_SELOBJ.
now access the attribute using lr_tmp_ref->T_SELRANGE
Hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.