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

Default printer variable?

Former Member
0 Likes
602

Hi,

I would like to know if there is any system variable (or something similar) which stores the default printer when a user execute a Report. I need to fill a parameter with it and gave the user the chance to change it.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
518

You can get the User's defaulr printer from USR01 table.

select single SPLD into v_spld where BNAME = sy-uname.

write:/ v_spld.

Regards,

Ravi

3 REPLIES 3
Read only

Former Member
0 Likes
519

You can get the User's defaulr printer from USR01 table.

select single SPLD into v_spld where BNAME = sy-uname.

write:/ v_spld.

Regards,

Ravi

Read only

Former Member
0 Likes
518

select single SPLD from USR01 into v_print where bname eq <USER_NAME>.

You can also check in SU01 transaction , in defaults tab

Read only

0 Likes
518

Thanksssss. It solves my problem.

XXX