Skip to Content

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

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!


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Add comment
    10|10000 characters needed characters exceeded