Skip to Content

Want to know all jobs with a spezial mailadress at the spool recipient

Apr 19, 2017 at 07:07 AM


avatar image

Hey Guys,

i searching for the possibility to find out all jobs, that have the Mailaddress in the Spoollist recipient.

The background is, that the Mailaddress will no longer be accessible.

So i have to change the Mailaddress at every job - of course, i will change it to a SAP User, so we don´t have this problem in the future again.

Thank you!


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Apr 19, 2017 at 09:03 AM

You have to read data from table TBTCO where TBTCO-OBJTYPE = 'RECIPIENT', you could also check TBTCO-OBJKEY(3) equal to '&AD'. (vs USR for user, DLI for distribution list)

Then CALL SO_USER_ADDRESS_READ_API1 with a single record in USER_ADDR where USERID = TBTCO-OBJTYPE(17) and COM_TYPE = TBTCO-OBJTYPE+17(6). In the changed table parameter Mail address will be filled in ADDRESS subfield.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you! :)

I will try it