Skip to Content
0
Former Member
Jan 14, 2010 at 09:45 AM

Display image in view

571 Views

Hi,

My requirement is to create a web dynpro application where the first view contains all images stored in ECC along with one button (Display image). When the user clicks on the button Display image then another view should display the image on the screen.

I have created View1 with a table,which display the details of the table STXBITMAPs in it,when i select a row and press a button second view is displayed with a UI conatiner of type IMAGE.

Basiccaly when button on view1 is pressed, I get the value of the TDNAME field via lead_selection method and set this value to a global attribute, whch inturn is copied into second view and bonded to the SOURCE attribute of the UI element.

My problem is , that global attribute is being updated probley and value have been passed to second view..but Image is not being displayed on the screen.

Can anyone help me out in this.

Thanks in advance.

Pooja