cancel
Showing results for 
Search instead for 
Did you mean: 

addition of batches according to material (material cahnge sum is change)

Former Member
0 Kudos

hi EXPERTS

NACE V3-J1IO EXECUTE IN VF02.(excise invoice)

my req is if material no is change sum is change .

i want the sum of all quantity and assessable val in one row.

in my script quantity and val is

1 D06011013 234m 23467

2 D06011013 235m 230017

3 D06011013 237m 23907

I WANT OP IN ONE ROW(MATERIAL CHANGE SUM IS CHANGE)

Op like

001 D06011013 12345M 16543567.00

60COMPX60CW /92X88

I WANT OP IN ONE ROW(MATERIAL CHANGE SUM IS CHANGE)

Op like

001 D06011013 12345M 16543567.00

60COMPX60CW /92X88

PLZ GUIDE ME how to write code in se38 and use it in script.

THANKS

AJAY.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

get the all changed entries from CDHDR and CDPOS table,

loop at gt_nace into work area.

sum = sum + work area value

at end of matnr.

here appned another internal table

clear sum.

endat.

endloop.

Answers (0)