How to get a graphical display of spool request after a batch job?

Hi all,
I have scheduled a bunch of batch jobs. When I run sm37 to look at the finished jobs, I can see that there is a "papirus like ikon" in the second column, Ln, (the one on the right from the job names) for some of the jobs, but not for the most of them. 
Now when I, in sm37, mark this job for which I have an "papirus like ikon", press a "Spool" icon on top of the screen, then mark one step and press the "google icon" I get an output of what job performed in that step. That output usually gives a quite good information of what the program did (e.g. Nr of lines deleted, OP released).
Now my question is how do I get that spol output for the rest of the jobs as well?
Thanks and Kind Regards,
Armin

Hi Thomas,
As you said, the OTF is stored as is in the spool file, and you can read it using the C calls, or use RSPO_RETURN_SPOOLJOB function module for example.
Note that using SP01, you can send a spool via a menu entry, which corresponds to function module RSPO_SPOOLJOB_TO_OFFICE.
Best regards
Sandra

Similar Messages

  • Graphical Display of spool Request Errors

    HI,
    Can someone help me where I can find the more details for the following processing Category when we graphical display of spool request in SM37
    1) Not Relevant
    2) Inappropiate Status
    3) Error

    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm

  • SM37 - Graphical display of spool request in Hebrew

    Hello,
    I'm running a report in background. When I look at the spool request display
    the header display in hebrew from left to right instead right to left.
    when I'm running online I don't have a problem. I enter the session in hebrew.
    does anyone have any idea ?
    thanks,
    Michal

    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm

  • Is it possible to have Multiple Spool requests in one batch job overview?

    Hi,
    While running one of my z program in back ground, there are two spools generated (one by write statement and one by OPEN_FORM statement and both the spools are available in SP01 Transaction), but when i see the job overview in transaction SM37, I only see one spool request (that of the last spool request). Can any body in the group please tell me is it possible to see multiple spool requests in the job overview of one Abap program and if yes, how?
    Thank you.
    Abinash

    Hi Jayanthi,
    Thank you for the link. But probably that discussion was also an unsolved one.
    Anyway, does any one in the group think that display of multiple spools per one step job is dependent on client / SAP Server setting? Because as evident from the chain of mails in the link provided by Jayanthi, some people say that they see multiple spool requests for one program in batch mode job overview (SM37)? If yes, can some body tell me the required configuration?

  • Unable to get the graphical display of Business process in BPMon

    Hi,
    I am working on solution manager 7.1. I have set up a business process for monitoring in the BPMon session. But i am not getting the graphical display in the business process operations workcenter in the graphical view tab.
    Can anyone tell me how can i get that.
    Regards
    Vishal

    Hi,
    Please run run report RTCCTOOL and see if any addon is not up-to-date.
    Please run this repport and follow the recommendations to update those
    components to the latest status.
    Afterwards please also intall the latest version of following note: 1570282 - Advance Corr. BPMon ST-A/PI 01N
    Finally please deactivate BPMon, regenerate and re-activate agin.
    Also check BPM troubleshooting guide:
    https://websmp102.sap-ag.de/~sapdownload/011000358700001186112010E/
    Troubleshooting_for_BPMon.pdf
    Thanks
    Vikram

  • FM for conversion of graphical display of spool to html

    Hi abapers,
              Please help.  This is the scenario, what I need is to convert the graphical display of spool to html.  The html output has to be the same with the graphical display of the spool with all the colors, fonts etc without using the shortcut in the system menu.  Please, please, help.  I need to know how.  It's really, really urgent.  Points will be given to the person who can help me.  Thanks.

    Hi,
    First convert the spool to internal table by using FM
    RSPO_RETURN_ABAP_SPOOLJOB
    Next from internal table to HTML....
    Link: /people/rammanohar.tiwari/blog/2006/01/29/abap-utility-print-screen-to-html
    or try the following
    Please try the follwoing:
    1. define HTML internal table with ref to type W3HTML
    2. download it as BIN type and give total lenght of the strings as a parameter in the down load.
    See the code extract below:
    describe table html lines entries.
    read table html into w_html index entries.
    size = ( entries - 1 ) * 255 + strlen( w_html ).
    concatenate p_path file into file.
    call function 'WS_DOWNLOAD'
    exporting
    bin_filesize = size
    filename = file
    filetype = 'BIN'
    tables
    data_tab = html
    Regards,
    Raj.

  • How can get a Graphics to draw line on screen?

    How can get a Graphics to draw line on screen?
    Now, I can get a Graphics to draw line based on component. For example JPanel, but I want to get a Graphics to draw line on screen.

    By drawing on the screen, I assume you mean drawing outside the bounds of a top-level window like
    JFrame or JDialog. You can't do that. At least, without going native and even then that's a dodgey thing
    for any platform to let you do. One thing you can do is simulate it with a robot's screen capture:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import javax.swing.*;
    public class X {
        public static void main(String[] args) throws Exception {
            Rectangle bounds = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
            BufferedImage image = new Robot().createScreenCapture(bounds);
            Graphics2D g2 = image.createGraphics();
            g2.setStroke(new BasicStroke(20));
            g2.setPaint(Color.RED);
            g2.drawLine(0, 0, bounds.width, bounds.height);
            g2.drawLine(bounds.width, 0, 0, bounds.height);
            g2.dispose();
            JLabel label = new JLabel(new ImageIcon(image));
            label.addMouseListener(new MouseAdapter(){
                public void mousePressed(MouseEvent evt) {
                    System.exit(0);
            JFrame f = new JFrame();
            f.setUndecorated(true);
            f.getContentPane().add(label);
            f.setBounds(bounds);
            f.setVisible(true);
    }

  • How to get both OTF data and spool at a time

    Hi Experts,
        My requirement is to get both OTF data and spool.
    In 'OPEN_FORM' i tried passing itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    I was able to get OTF data but spool is not getting generated.
    IF i pass only itcpo- TDNEWID = 'X'. the spool is getting generated but not OTF data.
    when both the fields are set i.e. itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    the spool is generation is getting supressed.
    Similarly when i tried to get OTF data by passing itcpo-TDGETOTF = 'X'. to 'OPEN_FORM' as i need to convert it to PDF and send it to vendors as email ,
    The print preview in TCODE ME23n was not getting generated for 'MESSAGE' option 'External send'.
    Please suggest me how to get both OTF data and spool at a time.

    Hi Kartik,
    This one is similar to my question to print and email invoice at same time.  I pass itcpo-tdgetotf = 'X' in order to get otfdata and send email with the attachment of otfdata.
    Now I have data in otfdata, but when I call print_otf function, I clear out itcpo-tdgetotf, and passed
    itcpo-tddest = device_type but I still get error message said 'Handler not valid for open spool request'.
    Can you give me a working example that you have otfdata table and print data from that table.  I also post my question on other thread
    submit report and export to memory
    thanks

  • How to get the previous state of my data after issuing coomit method

    How to get the previous state of some date after issuing commit method in entity bean (It should not use any offline storage )

    >
    Is there any way to get the state apart from using
    offline storage ?As I said the caller keeps a copy in memory.
    Naturally if it is no longer in memory then that is a problem.
    >
    and also what do you mean by auditlog?
    You keep track of every change to the database by keeping the old data. There are three ways:
    1. Each table has a version number/delete flag for each record. A record is never updated nor deleted. Instead a new record is created with a new version number and with the new data.
    2. Each table has a duplicate table which has all of the same columns. When the first table is modified the old data is moved to the duplicate table.
    3. A single table is used which has columns for 'table', 'field', 'data' and 'activity' (update, delete). When a change is made in any table then this table is updated. This is generally of limited useability due to the difficulty in recovering the data.
    All of the above can have a user id, timestamp, and/or additional information which is relevant to the data being changed.
    Note that ALL of this is persisted storage.
    I am not sure what this really has to do with "offline storage" unless you are using that term to refer to backed up data which is not readily available.

  • How to get the queries behind a concurrent request

    Hi to all
    how to get the queries behind a concurrent request in oracle Apps R12
    Regards ,
    Zulqarnain

    IMHO you can not simple say that this query executed or another
    because many queries can be executed by one cp
    >
    My actually problem is that, i want to know that when Cost Summary Report from FA Responsibility is running then this concurrent program also run another CP. Populate Balanace Report . This CP also attach with
    Populate Balanace Report GT Data executable , This executable run FA_BALREP_PKG.populate_gt_table procedure.I want to know that which query is running for Cost Summary Report in above mention package.
    >
    it's look like that "Cost Summary Report from FA Responsibility" is main cp which generate the report based on some just-in-time data which generated by "Populate Balanace Report "
    in other words
    "FA_BALREP_PKG.populate_gt_table" populate data in some temp table for report and "Cost Summary Report" use it

  • How to get InputStream of uploaded file from request?

    The situation:
    Client is uploading xml file to server.
    <form METHOD=POST ENCTYPE = "multipart/form-data" action="SendFile" accept="text/xml">
              <input type="file" name="SentFile" />
              <input type="submit" value="go"/>
    </form>Then I need to parse data from file.
    I want to use method javax.xml.parsers.DocumentBuilder.parse(InputStream is)
    But, how to get InputStream of uploaded file from request?

    You cannot get the InputStream of the uploaded file directly. The InputStream you can obtain from request.getInputStream() contains a lot of other data as well as the uploaded file. You will have to parse the data in the InputStream to find the data that belongs to the file.
    A short cut is to use the HTTP Multipart File Upload available from www.jenkov.com. It simplifies file upload and makes it easy to obtain an InputStream for only the uploaded file. It also handles upload of multiple files. It is free, open source, Apache license, so if it doesn't fit your needs, you can always read the code and see how it works. Then write your own upload servlet.

  • How to get the table with no. of records after filter in webdynpro

    Dear Gurus,
    How to get the table with no. of records after filter in webdynpro?
    Thanks in advance.
    Sankar

    Hello Sankar,
    Please explain your requirement clearly so that we can help you easily.
    To get the table records from your context node use method get_static_attributes_table()
    data lo_nd_mynode       type ref to if_wd_context_node. 
    data lt_atrributes_table  type wd_this->elements_mynode. 
    lo_nd_mynode = wd_context->get_child_node( name = wd_this->wdctx_mynode ). 
    lo_nd_mynode->get_static_attributes_table( importing table = lt_atrributes_table ). 
    Note: You should have already defined your context node as a Dictionary Structure.
    BR,
    RAM

  • Alter a BAPI Result Table, how to get into the display "loop" ?

    Hello all,
    i have a problem regarding the result rows of a RFC/BAPI Call.
    There are three views, let's say 1,2,3. In View 1, i call a BAPI, and display the results in a table in View 2. I added a button in each row, which calls View 3 and displays some details concerning the selected row.
    I now want to store a flag for each row, that has been displayed in this way.
    In View 3 i store the key value of the displayed row in an own value node in the context.
    When i go back from View 3 to View 2, i want to see that flag (in an extra column) in every row, that has been selected in this session.
    So i do not know, how to alter a single row in the BAPI result table, how to get into the "loop" that is used by WD to display the table.
    already tried a supply function, but i was not able to alter single rows.
    Any suggestions/tips or perhaps code fragments of working supply functions ?
    Thank you !

    Hello,
    I'm not sure whether I understood your problem correctly, but I will try to give an answer.
    The easiest way I see is to copy the RFC Results to a Component Controller Context structure with an additional Flag field. You can use WDCopyService for copying.
    Then on the event of selecting you set your flag as appropriate for you (e.g. if you want to use an image as flag you set the Image path) on the current element of your table. Then display View 3.
    On going back View 2 should show now the new flag values...
    The trick is to copy the values (as at Time structures can not be expandend with new fields) and set the Flag on the onSelect event.
    Hope this helps,
    Frank

  • UREGENT: How to get a Image displayed on Canvas?

    Hi, my problem is: I have an image drew on Canvas, but I cannot access this image through Java, the image is there on Canvas, but I simply can't get that image.
    Anyone know how can I get an Image displayed on Canvas?

    Pt 1. > but I cannot access this image through Java, the
    Q1. > Anyone know how can I get an Image displayed on Canvas?
    From the axioms given, I would say that it is not possible. :)
    Why is it so UREGENT?

  • How to submit a PDF document to spool request by coding

    Hi experts,
    I have a pdf document that is stored somewhere in SAP system, for example MIME repository. So I can read this PDF document and get its content as an xstring.
    I know SAP can print a smartform directly by calling its function module, or submit a program (list output) to SAP-SPOOL to generate a spool request.
    But how can I submit a document or an xstring which presents the content of a document to spool request in order to print it out?
    Or should I do it in some other way?
    Any of the suggestion or hint will be help.
    Thanks!

    We have checked it with SAP and it seems no solution for printing a pdf doc by coding.
    The final workaround is to use an virtual printer or some converter on PC to convert the pages in that pdf document into BMP files. Then upload those BMP files in t-code se78 and build a smartform to include them.
    It is convenient to use the printing function of smartforms in ABAP coding.

Maybe you are looking for

  • Error message "No valid source context supplied"

    Hii, I will add buttons to my html page. So far, I inserted the following code to my bsp page: <% DATA: ls_button type CRMT_THTMLB_BUTTON,                   lt_button type CRMT_THTMLB_BUTTON_t.                   CLEAR ls_button.                   ls_

  • Interactive report define "from" in email download

    I heard that the latest apex 4.2.4 has future in Interactive Report  Define "from" address Subscription in Email Download I installed apex 4.2.4 on oracle 11.1.0.7 windows(32 bit); I'm using Apex listener 2.0 deployed to weblogic 11g; I still don't s

  • 3D Rendering - swap engines, or...anything?

    Hi Folks, Just got PS CC, loving it. One thing has me worried. The render speed seems really horrible. I used to use C4D at one time. I was really looking forward to not having to jump back and forth between programs as I get back into this. (I know

  • Can you tag apps?

    Is it possible to tag iPod touch apps? In iTunes, if I select an app and then get info, can I alter or add information? I would like to enter a single word description in the "grouping" or "notes" field like "book" or "chess" etc. Then when I sync wi

  • 8.0.2 Updater Failed?

    Don't know if this is an error but I've run the 8.0.2 update which work fine and says that it has succesfully updated Dreamweaver, however, if I look at the Help -> About Dreamweaver screen it shows Version 8.0. Similarly, if I browse to the install