cancel
Showing results for 
Search instead for 
Did you mean: 

data not displaying

Former Member
0 Kudos

HI All,

i have created a very simple webdynpro abap application in which there are textviews and inputfields

also all the fields are bind to every field of table.

the issue is upon execution , i am not getting data on the browser output

don't know where i am mistaken

reply soon

thanks

Manu

Accepted Solutions (0)

Answers (3)

Answers (3)

sahai
Contributor
0 Kudos

Hi Manu,

You will have to set the attribute which all are bind  to the input fields on the screens, for that you can use the code wizard and set the appropriate value to each of the attribute .

If you need any help regarding code let me know.

Thanks and Regards,

Shitanshu Sahai

Former Member
0 Kudos

Sir,

I am done with code wizard contextBinding for individual table fields and cardinality 1 .1 set.

but still data is not populated on fields ,don't know wether to write code but still figuring out..

reply any feedback or suggestion

Thanks,

Manu

sahai
Contributor
0 Kudos

Can you share the code wherein you  have binded the data

Former Member
0 Kudos

Hello Manu,

                 Do following changes

1) Make the cardinality of the table as 0..n.

2) go to wddoinint method. click on wizard + Set + as table operation choose the table node from the context.

3) write the select query before bind_table method .

4) lastly dont forget to include your view in the window.

Hope this thing works.

Former Member
0 Kudos

thanks but its working now

a code in wddoinit method was missing

Regards,

Manu

Former Member
0 Kudos

Hi Manu.

What is the cardinality of the context element? When you bind a table to the context you have to create a UI Element that can show data with cardinality 1:n or 0:n like Table or Multi Pane Elements.

Try to change the cardinality of context to 0:1 or 1:1 and bind only one line of the table to the context node (for example: lo_nd_node->bind_structure( ls_structure_of_node ).

When you want to change multiple lines of table try to implement a function (Btn) to jump to the next and previous line to change the context.

Regards Michael

Former Member
0 Kudos

did you actually bind some data after selcet from database with node using eigther supply function or any method in wddoinit

Former Member
0 Kudos

no i didn't write any code in any method

i want to do it by wizard

do i have to

when i have bound the fields i think i dont need to

it must show it on browser

pls correct me if wrong?

Former Member
0 Kudos

You have to select the Data and bind it to context in Supply or wddoinit method. When you create the context and add a structure of a table it only helps to create the context attributes.

Former Member
0 Kudos

i think you are new to webdynpro please go hrough basic webdynpro concept.

Former Member
0 Kudos

done with all that,

data is still misssing on output fields

also changed the cardinality...but no score.