Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Printing docs using control parameters

$
0
0

Hello,

 

I had a problem in printing multiple document in one spool request and the issue was solved, Now in the select option if i give "From"  "To" numbers( Eg 50000002 to 50000005)  the printing is done and if i give only one document number the print does not trigger.

 

Please find the code

 

w_cnt2 = sy-tabix.
  case w_cnt2.
when 1.
control_parameters-no_open   = space .
control_parameters-no_close  = 'X' .
when w_cnt .
control_parameters-no_open   = 'X' .
control_parameters-no_close  = space .
when others.
control_parameters-no_open   = 'X' .
control_parameters-no_close  = 'X' .
endcase.

 

Kindly help.

 

Regards,

Sam.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>