Skip to Content
0
Former Member
Jul 04, 2006 at 05:42 AM

Report Outpu Logic

30 Views

Dear Friends,

I have Internal table with fields MATNR, WERKS ,LGORT,QTY.

Internal Table content in following

MATNR WERKS LGORT QTY

mat1 0100 new 10

mat1 0100 cus 10

mat1 0100 cus 10

mat1 0099 rcd 10

mat1 0099 rep 10

mat1 0099 rep 10

mat2 0099 rep 10

mat2 0100 new 10

Now I want to display the above internal table format as below.

whenever the plant changes ,report shoulkd be displayed in new-page.

Plant: 0100

lgort matnr qty

-


CUS mat1 10

10

-


NEW mat1 10

10

whenever plant changes should be displayed in NEW-PAGE

Plant: 0099

lgort matnr qty

-


RCD mat1 10

-


REP mat1 10

10

-


mat2 10

-


If anybody got the logic pls. share with me

thanks