cancel
Showing results for 
Search instead for 
Did you mean: 

how to insert the image or logo into the table as a field in webdynpro abap

Former Member
0 Kudos

Hi Friends,

Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Use

Thanks,

Prashant

sahai
Contributor
0 Kudos

hi,

generally there are two ways dealing with table ui element in web dynpro abap first we can directly bind the table with a node in the context and according to he number of attributes it will get the columns accordingly

second way is that you can create every column by binidng it with other attributes manually.by doing so you can also make the ui elemnt fr that particular column as a text view text edit image etc.....

in your case the second method will be required.to follow and do this you can follow this process.

In your view layout you take table UI element and then you bind it with some context nodes/attributes

a)select the ui element TABLE in the layout

b)again make the column in the table where you want to display that image as image UI container

c) If you want put image from out side then import it as a mime object and set the source of your table field.

hope this may clear your doubt

regards,

sahai.s

Former Member
0 Kudos

hi,

i do suggest that you use different CELL_VARIANT for different Cell editor, such as input field, text view, image, etc..

In table using IMAGE is the same and easy as normal use in other container directly.

Best wishes.

Former Member
0 Kudos

Hi Alagappan ,

In your view layout you take table UI element and then you bind it with some context nodes.

The attributes of your nodes comes as a field.

Now in these fields you can set various properties and image is one of them.

Go to ->

1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE

2. Right click on table -> Create Binding.

Here you have to bind it with the appropriate context node.

You will get two properties here

a- Standard Cell Editor :- ( make it image )

b- Standard properties :- ( If required set image properties ).

3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )

also have a look :-

[Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]

Hope this will solve your problem.

Reply if any case of any issue.

Thanks & Regards,

Monishankar C

Former Member
0 Kudos

Hi,

Once table is placed in the View,Go to Column,Delete Standard Cell Editor ( TEXT VIEW UI Element).Right Click on it insert New Cell

editor IMAGE UI ELEMENT .Bind the image source .

Thanks,

Naga Prakash