Skip to Content
0
Former Member
Jun 09, 2008 at 09:32 AM

Webdynpro

13 Views

Hi,

In my webdynpro,i hav developed a layout in that i have some input fields and labels..i am getting the data from database table to this input fields...i have given same id for the input field.for eg input8 is the id name for first input id. but its giving dump Access via 'NULL' object reference not possible.

this is the code what i have given in my program...

lr_input ?= view1->get_element( 'INPUT8' ).

lr_input->set_visible( VALUE = 01 ).

lbl ?= view1->get_element( 'L24' ).

lbl->set_visible( VALUE = 01 ).

lr_input ?= view1->get_element( 'SCRIPTIDS' ).

lr_input->set_visible( VALUE = 02 ).

lbl ?= view1->get_element( 'LBL_SCRIPTIDS' ).

lbl->set_visible( VALUE = 02 ).

lr_input ?= view1->get_element( 'MESSAGE' ).

lr_input->set_visible( VALUE = 01 ).

plz help me to solve the problem..i wil give u the points...

thanx.

regards,

dhaya.

Edited by: dhaya thangarajan on Jun 9, 2008 11:35 AM