Skip to Content
0
Former Member
Nov 16, 2012 at 07:45 PM

No output nor any error message

21 Views

Hi Gurus,

I am trying to display Ship to party details using VBRK VBPA , KNA1 tables .

All the logic is working , i can even see the data in the final internal table in the debug mode but i don't see the output in web ... what could be the issue

i am not even getting a error message it is just same as the input screen .

Please help ... below is my code ... after the select query and logic.

---------------------------------------------------------------------------------------------------------------------------------------------------

sort lt_output descending by kunag netwr ascending.

DATA:

node_ouput1 TYPE REF TO if_wd_context_node,

stru_ouput1 TYPE if_input_view=>element_ouput1 .

IF lt_output is initial.( giving a error message when the internal table is empty , this scenario is working)

Data : MSG(40) type c.

get message manager

data lo_api_controller type ref to if_wd_controller.

data lo_message_manager type ref to if_wd_message_manager.

lo_api_controller ?= wd_This->Wd_Get_Api( ).

CALL METHOD lo_api_controller->GET_MESSAGE_MANAGER

RECEIVING

MESSAGE_MANAGER = lo_message_manager.

.

msg = wd_assist->if_wd_component_assistance~get_text( key = '001').

CALL METHOD lo_message_manager->REPORT_ERROR_MESSAGE

EXPORTING

MESSAGE_TEXT = msg.

else.

** navigate from <CONTEXT> to <NODE_ALV> via lead selection

node_ouput1 = wd_context->get_child_node( name = if_input_view=>wdctx_ouput1 ).(Defined lt_output TYPE TABLE OF wd_this->element_ouput1.)

get all declared attributes

node_ouput1->bind_table( lt_output ).

endif.

------------------------------------------------------------------------------------------------------

Regards,

Bharathi