Hi friends,
Pls help me to post some example codes for looping the table control data items.
i.e., Details available in table control item in MIGO.
Ex:
LINE Material text Qty
1 INGOT 5.0
1 INGOT 2.5
1 INGOT 10.0
1 FURNACE OIL 180.0
Pls help me,How to loop this table control items , so that i want to sum the consolidated qty by material wise.
the fileds are cs_goitem-matnr and cs_goitem-qty.
FYI,
1) the cs_goitem is a structure of MIGO.(cant do it for looping)
2) cs_goitem is the parameter and goitem is a structure
3) we cant declare an internal table here.ex:
data: itab type standard table of goitem with header line.
data: begin of itab occurs 0.
data: itab like mchb occurs 0 with header line.
Post ur comments with sample codes.
thanks & reagrds
sankar.
Edited by: sankar babu on Jan 2, 2008 10:13 AM
Edited by: sankar babu on Jan 2, 2008 11:17 AM