Skip to Content
0

Find the transaction code from where a spool request is originated

Mar 11 at 04:19 PM

65

avatar image

Hi experts,

I want to trace the transaction code from where a spool request is originated from. Is there any place where I can find it? For example, if a spool request is created from SE16 (by printing the contents of a database table), can I be able to get the transaction code (SE16) somewhere in the spool request’s attributes (or) in a trace?

Thanks,

Mohamed Yosufdeen JMH

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

2 Answers

Kumar Rituraj Mar 11 at 04:41 PM
1

Hi,

Can you be little clear in your intent behind this question?

As far as I know, spool is used to print documents, i.e. if you want to print something from your program, you can do it through spool. It is only applicable for background jobs. If you want to see from where spool got created you have to go through that background job program.

Please let me know if I can help further.

Regards

Rituraj

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

NO a spool can be created from anywhere, it's not specific to background jobs, but that's a good starting point.

0

Hi Rituraj,

I want to log some information (in my custom table) when a user prints from SAP.

The area of interest is front-end printing and not background.

One of the information I require to capture is the application (Tcode) from which the user has done the printing.

I am able to capture the spool request number, the user who has generated the spool request and other information.

But I could not find the transaction code / program name from where the user has printed.

Does SAP store the transaction code somewhere along with the spool request?

Thanks,

Mohamed Yosufdeen JMH

0
Mohamed Yosufdeen J M H

No, SAP doesn't store the name of the program which generates a spool. By default, you only have the first characters of the program name in one of the spool name fields.

0
Kumar Rituraj Mar 11 at 04:41 PM
-1

Hi,

Can you be little clear in your intent behind this question?

As far as I know, spool is used to print documents, i.e. if you want to print something from your program, you can do it through spool. It is only applicable for background jobs. If you want to see from where spool got created you have to go through that background job program.

Please let me know if I can help further.

Regards

Rituraj

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

please delete your duplicate answer.

0