Hi Experts,
I am facing the problem in the following displaying internal table.
i have table control with folowing header material data
material mat description quantity uom
1669 xxxx 1.0000 EA
254267 yyyyy 1.0000 PC
this i am storing in one internal table it_matnr.
i will explode and get the different component for header material.one header material may have may component
i am storing this in other internal table it_material. one header material will repit for 2 time
mat mat desc Qaunt Uom matdoc dte
1669 xxxx 1.0000 ea 21222
1669 xxxx 1.0000 eq 314
1111 yyyy 1.0000 pc 1234
2222 zzzz 2.0000 kkk 234555
254267 yyyyy 1.0000 pc 981818
254267 yyyyyy 1.000 pc 126262
my problem is i want to display in report
first it should display header 1669
1669 xxxx 1.00000 EA from it_matnr
than it should display header and componet it may be any number
1669 xxxx 1.0000 ea 21222
1669 xxxx 1.0000 eq 314
1111 yyyy 1.0000 pc 1234
for header it should give color and after finishing everything it should give line
254267 yyyyy 1.0000 pc 981818
254267 yyyyyy 1.000 pc 126262
can u tell me how we can do this?