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

Reports

Former Member
0 Likes
423

Hi all,

i want display the materials based on deportment wise .

here i put check boxes for dept, for this i want to display materails in different pages based on hw many check boxes r selected.

how i can display the materails in separate pages.

please help me

Regards

Rambabu.A

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
403

Hi Ram,

See as u said u r placing check boxes in selecton screen. okay now u may have all the data in an internal table. Now aftre

loop at it_tab.

if flag1 = 0.

if check_box1 = 'X'.

flag1 = 1.

new-page.

write: data here dept 1.

endif

endif.

if flag2 = 0.

if check_box2 = 'X'.

flag2 = 1.

new-page.

write: data here dept 2.

endif

endif.

if flag3 = 0.

if check_box3 = 'X'.

flag3 = 1.

new-page.

write: data here dept 3.

endif

endif.

if flag4 = 0.

if check_box4 = 'X'.

flag4 = 1.

new-page.

write: data here dept 3.

endif

endif.

endloop.

If u hava any questions Plz ask.

Sharat.

null

2 REPLIES 2
Read only

Former Member
0 Likes
403

Use NEW-PAGE option.as soon as processing is completed for listing output of first 3 materials write a statment NEW-PAGE, then start the materil No's related second checkbox

Read only

Former Member
0 Likes
404

Hi Ram,

See as u said u r placing check boxes in selecton screen. okay now u may have all the data in an internal table. Now aftre

loop at it_tab.

if flag1 = 0.

if check_box1 = 'X'.

flag1 = 1.

new-page.

write: data here dept 1.

endif

endif.

if flag2 = 0.

if check_box2 = 'X'.

flag2 = 1.

new-page.

write: data here dept 2.

endif

endif.

if flag3 = 0.

if check_box3 = 'X'.

flag3 = 1.

new-page.

write: data here dept 3.

endif

endif.

if flag4 = 0.

if check_box4 = 'X'.

flag4 = 1.

new-page.

write: data here dept 3.

endif

endif.

endloop.

If u hava any questions Plz ask.

Sharat.

null