Skip to Content
0
Former Member
Nov 11, 2007 at 09:31 AM

Internal table manipulation.

9 Views

Hi

My internal table consists of data in the following format..

Kunnr Vertn

art01 17

art01 17

art01 17

art01 17

art01 18

art01 18

art01 18

art02 21

art02 21

art02 21

art02 23

art02 23.

I am displaying this data in script.

The customer art01 has 2 contracts 17,18.

each contract has to be displayed in different pages.

The page number should be in the following way...Say customer art01 has 2 contracts ... and if there are less records then 17 and 18 will be dispalyed in 2 pages....So the page number for the customer should be 1 of 2, 2 of 2..

I am unable to use system variables because it should run in a loop.

Everytime the customer chnges the page should become one.I want to attach the page number in the internal table itself ie for the customer art01

kunnr vertn pagstart pageend.

art01 17 1 2.

art01 17 1 2.

art01 17 1 2.

art01 17 1 2.

art01 18 2 2.

art01 18 2 2.

art01 18 2 2.

Contract 17 -


>1st page

contrcat 18 -


>2nd page...

It should run in a loop and for each customer the page nos should get attache this way...How to do it???

Kindly help..

Thanks and Regards.