Application Development 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: 

FM that gets me the printer specified to the user

Former Member
0 Kudos

Heya ABAP,

i have to code a report which calls RSNAST00.

When calling RSNAST00 i have to pass several parameters. One of them is the printer which should be used.

My requirement is to pass the printer which is specified for the actual user.

I can find that info in the SAP system, tho i dont know where to find it on the database.

I´m quite sure there exists a FM that exactly gives me the printer of the actual user, so if anyone of you gurus has a clue, i´ll greatfully reward him thy points

If theres no FM but you can tell me the table where i can find the info, i´ll be satisfied as well.

thx for convenience.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
select single SPLD from USR01 into v_SPLD where bname eq <USER_NAME>.
5 REPLIES 5

Former Member
0 Kudos
select single SPLD from USR01 into v_SPLD where bname eq <USER_NAME>.

0 Kudos

thanks a LOT.

I like that more than using a FM even.

0 Kudos

hi chandra,

Good Answer. keep up the good work.

Regards

Anver

0 Kudos

Thanks Anver , would wish to see u in 5000 club soon

Former Member
0 Kudos

Hi,

You can find the User (RQOWNER) and the Printer Name (output Device) RQDEST in the table TSP01.

Regards,

Anji