2010 Apr 26 8:27 AM
Hi Guys,
A newbie here!
I have been reading a lot but I can't seem to find the answer I'm looking for.
See, I have created a report in SAPScript. Basically, I need to create a table (have done that) to record when the document was initially printed, as well as the latest date when it was reprinted.
For succeeding prints, I have to mark the document with the label "reprint".
The question is, how do I capture the "print event" so I can record said data.
I need to capture the event
1. when the user clicks on the print button of the initial dialog box;
2. when the user clicks the print button on the standard menu when he goes on print preview; and
3. when the user clicks print from the system menu.
Thanks much!
Hi Guys,
A newbie here!
I have been reading a lot but I can't seem to find the answer I'm looking for.
See, I have created a report in SAPScript. Basically, I need to create a table (have done that) to record when the document was initially printed, as well as the latest date when it was reprinted.
For succeeding prints, I have to mark the document with the label "reprint".
The question is, how do I capture the "print event" so I can record said data.
I need to capture the event
1. when the user clicks on the print button of the initial dialog box;
2. when the user clicks the print button on the standard menu when he goes on print preview; and
3. when the user clicks print from the system menu.
Thanks much!
2010 Apr 26 8:38 AM
Hi,
For your requirement, you can check out table NAST. Hope it helps...
2010 Apr 26 9:45 AM
Hi,
Thanks! I know NAST is a message status table, but how would I connect it from there? How would it determine that the output was printed. Is there a way to know the object key that my program would create?
2023 Jul 20 1:31 PM
I have going through the same problem, kindly guide me if you are done with this issue
2023 Jul 22 11:51 AM
Usually everything is provided in SAP Standard. Most output messages are recorded in table NAST. What kind of process prints your output?
I know some customers prefer to write their own standard because they do not really know how to use what SAP already programmed, tested and maintained for them. That's what you pay for.
If you do not like it, why use SAPscript which is SAP standard too though outdated and obsolete.
If you really stay with your idea: Use implicit enhancements in functions in function module START_FORM which is used to call any sapscript output.
But do not blame me if anything unexpected happens in the system.
Regards Clemens.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |