Skip to Content
0
Former Member
Mar 03, 2009 at 09:49 AM

Write statement Query

21 Views

Hi Guys,

I have a internal table with data like below.

PALNO TKNUM

0000001144-01-1 /5 |0000001144|

0000001144-01-1 /5 |0000001144|

0000001144-01-1 /5 |0000001144|

0000001144-01-1 /5 |0000001144|

0000001144-01-2 /5 |0000001144

0000001144-01-2 /5 |0000001144|

0000001144-01-3 /5 |0000001144|

I want to use write statement for displaying these values seperatly to identity palet(PALNO) wise..

when palno is same I want write statement to display as follows

PALNO TKNUM

0000001144-01-1 /5 |0000001144|

0000001144-01-1 /5 |0000001144|

0000001144-01-1 /5 |0000001144| For same PALNO

0000001144-01-1 /5 |0000001144|

SKIP 2 Lines.

PALNO TKNUM

0000001144-01-2 /5 |0000001144| For same PALNO

0000001144-01-2 /5 |0000001144|

SKIP 2 Lines

PALNO TKNUM

0000001144-01-3 /5 |0000001144| For same PALNO

If this possible by write statements.

Plz let me know.

Thanks,

Prasad.