‎2008 Jan 23 11:48 AM
hi all,
i have made a table control in which i have made an internal table as:
DATA:BEGIN OF itab OCCURS 0,
ebeln LIKE ekko-ebeln,
aedat LIKE ekko-aedat,
ebelp LIKE ekpo-ebelp,
matnr LIKE ekpo-matnr,
netwr LIKE ekpo-netwr,
END OF itab.
these field i have mapped in the table control all the data are displayed in the table control except for the field netwr LIKE ekpo-netwr,
please help me out. as the internal table gets the value when i check in the debugging bt the table control doesnt print it out.
reward points for all useful ans.
‎2008 Jan 23 11:57 AM
Loop at itab with control tc_ctrl.
module output_data.
endloop.
module output_data.
*here pass value to table control fields
is_ekko-ebeln = itab-ebeln.
endmodule.
Edited by: Naveena M on Jan 23, 2008 5:31 PM
‎2008 Jan 23 12:00 PM
Hi,
Check In PBO
LOOP AT itab WITH CONTROL Tablecontrol
Tablecontrol-current_line .
module update." where you pass the data to table control.
ENDLOOP.
when you loop the table in PCO check weather the data is passed to the table controls elements.
Regards.
Gopi.