Skip to Content
0
Former Member
Dec 08, 2009 at 04:57 AM

Data is not displaying using ABAP WebDynPro

587 Views

Hi,

Thanks in Advance.

I am trying to get the data of field AUFNR and KTEXT from AUFK table into Layout.

These are the attributes of Change Node

Node Name PROD_ORDER

Interface Node : No

Input Element (Ext.) : No

Dictionary structure AUFK

Cardinality : 0..n

Selection : 0..1

Init. Lead Selection : Yes

Singleton : No

Supply Function

Mapping Path

*************************

Method :

I have written the following code to fetch the data from AUFK table

method WDDOINIT .

Data: it_AUFK type standard table of AUFK,

context_node type ref to if_wd_context_node.

select AUFNR KTEXT from AUFK INTO table it_AUFK.

if sy-subrc eq 0.

context_node = wd_context->get_child_node( name = 'PROD_ORDER').

context_node->bind_table( it_AUFK ).

endif.

endmethod.

There is no syntax error and getting activated. But while testing no data or even column is displaying into browser. It is blank page.

Am not sure where I am wrong. Please assist me.

Thanks