Skip to Content
0
Former Member
Jan 02, 2008 at 07:30 AM

Coding help reqd for BADI - looping strategy

31 Views

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, the cs_goitem is a structure of MIGO.(cant do it for looping)

Post ur comments with sample codes.

thanks & reagrds

sankar.

Edited by: sankar babu on Jan 2, 2008 10:14 AM