cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in displaying details in pop up from ALV

Former Member
0 Kudos

Hi all,

I am having a problem in displaying a selected row details in pop-up in ALV,Not sure what went wrong.Pop up comes up empty.

Thanks,

Kiran

Accepted Solutions (0)

Answers (2)

Answers (2)

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Before binding the table, make sure that the internal table is populated with data.

Former Member
0 Kudos

Hi,

The only thing you have to check if data is getting binded to the node that you are associating with the popup UI elements.

To check the data in node at runtime, Use the button replace tool in the New debugger. Select Special tool -> Web Dynpro from te popup. There you can check data in the node.

Former Member
0 Kudos

Data is getting binded to the correct node.

I have a context node filled with attributes from a table.

In the layout I have a table with some of the attributes from the context node and a row popin were I show the complete attributes from the context node (all the table fields).

When I push the popin button I want to display all the information of that table row in a popup.

Right now it is coming empty.

Regards,

Kiran

Former Member
0 Kudos

Hi,

Now i am a litle confused. You want data in a popup or the table popin?? Both are different things.

chengalarayulu
Active Contributor
0 Kudos

Kiran,

use the below code.

data: lo_element type ref to if_wd_context_element.

lo_element = wd_event->get_context_element( name = 'CONTEXT_ELEMENT' ).

lo_element->get_static_attributes( static_attributes = <your_structure> ).

***** then bind these values to your POPUP structure.

Former Member
0 Kudos

in pop up.

chengalarayulu
Active Contributor
0 Kudos

On ALV Button action which you have assigned in ALV Table.

Former Member
0 Kudos

Can you please tell me the type of wd_event.I mean how to declare it in DATA:?

chengalarayulu
Active Contributor
0 Kudos

data declaration is not required, it is auto import variable to every event.

Former Member
0 Kudos

it says wd_event is not defined.

Former Member
0 Kudos

Use WDEVENT and not WD_EVENT