cancel
Showing results for 
Search instead for 
Did you mean: 

Script print o/p

Former Member
0 Kudos
68

Hi Expert,

The print o/p is comming like this format:

aa bcd uio 123

aa bcd uio 569

bb rew iop

cc tre poy 428

dd pqr nmn 567

dd pqr nmn 789

i want like this O/P:

aa bcd uio 123

569

bb rew iop

cc tre poy 428

dd pqr nmn 567

789

Thanks in advance

Singha

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196280
Active Contributor
0 Kudos

It should me modified in the driver program.

Use control break statement.AT END OF

Reward points to all useful answers.

Regards,

SaiRam

Former Member
0 Kudos

Hi

In the driver program you have to write the code using AT END OF event in the Loop of that internal table and to call the WRITE_FORM accordingly.

sort itab by f1 f2 f3.

Loop at itab

at end of f3.

<Call function write_form and print the f1 f2 f3 fields>

endat.

<Call function write_form and print the f4 field>

endloop.

<b>Reward points for useful Answers</b>

Regards

Anji