11-02-2007 11:53 AM
Hi,
I have a table Control with fields kschl kbetr konwa mark
i have created a range for KSCHL
now i need to pass this to the table column
Kindly suggest how can i handle this?
BEGIN OF y_condition,
kschl TYPE kscha,
kbetr TYPE kbetr_kond,
konwa TYPE konwa,
mark TYPE char1,
END OF y_condition,
t_cost TYPE STANDARD TABLE OF y_condition,
MODULE mo_tc_cost_init OUTPUT.
IF w_tc_cost_c IS INITIAL.
REFRESH CONTROL c_tc_cost FROM SCREEN c_scr2000.
REFRESH t_cost.
MOVE c_select TO w_tc_cost_c.
FREE r_kschl.
MOVE: c_i TO r_kschl-sign,
c_eq TO r_kschl-option,
c_zhb1 TO r_kschl-low.
APPEND r_kschl.
MOVE: c_i TO r_kschl-sign,
c_eq TO r_kschl-option,
c_zhb2 TO r_kschl-low.
APPEND r_kschl.
MOVE: c_i TO r_kschl-sign,
c_eq TO r_kschl-option,
c_zhb3 TO r_kschl-low.
APPEND r_kschl.
ENDIF.
11-04-2007 3:51 AM
Can you clarify please?... you say have a table control containing the following columns:
kschl TYPE kscha,
kbetr TYPE kbetr_kond,
konwa TYPE konwa,
mark TYPE char1
so where do you expect the range table "r_kschl" to appear? ... did you want a second table control on the screen?
Jonathan
11-12-2007 8:23 AM