Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

new page when the fields changed

Former Member
0 Likes
366

Hi all,

I wanna display my report on next when my BEZEI_T gets changed. I used at-new command also .. but its not working.. and also i want that new bezei_t get stored in some variable and change the header of the report. Please guide me. My code is:

LOOP AT IT_FINAL.

AT NEW BEZEI_T.

new-page.

endat.

WRITE: / sy-uline,

IT_FINAL-name_full1,

50 IT_FINAL-STRAS,

100 IT_FINAL-NAME_FULL,

160 IT_FINAL-STCD2,

/ IT_FINAL-BEZEI_T,

50 IT_FINAL-CUS_ADD,

100 IT_FINAL-TELFX,

ENDLOOP.

Regards

Puneet

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
347

Try this...

LOOP AT IT_FINAL.
AT NEW BEZEI_T.
new-page.
WRITE: / sy-uline,
IT_FINAL-name_full1,
50 IT_FINAL-STRAS,
100 IT_FINAL-NAME_FULL,
160 IT_FINAL-STCD2,
/ IT_FINAL-BEZEI_T,
50 IT_FINAL-CUS_ADD,
100 IT_FINAL-TELFX,
endat.
ENDLOOP.

Cheers,

Tatvagna.

2 REPLIES 2
Read only

Former Member
0 Likes
348

Try this...

LOOP AT IT_FINAL.
AT NEW BEZEI_T.
new-page.
WRITE: / sy-uline,
IT_FINAL-name_full1,
50 IT_FINAL-STRAS,
100 IT_FINAL-NAME_FULL,
160 IT_FINAL-STCD2,
/ IT_FINAL-BEZEI_T,
50 IT_FINAL-CUS_ADD,
100 IT_FINAL-TELFX,
endat.
ENDLOOP.

Cheers,

Tatvagna.

Read only

0 Likes
347

Thanks for ur reply but it is also not working... result is coming an astricks now.

Regards

Puneet