How to receive OTF data out of spool request?

Hi Guys,
I want to write a program which reads out the OTF data of a spool request and then I want to send it either as eMail or as FAX to some receivers.
The function modules I found so far (CONVERT_OTF, CONVERT_OTF_AND_FAX etc.) assume that the OTF table is already filled. But what I have in the beginning is only the spool ID. Even the function RSPO_DISPLAY_SPOOLJOB doesn't pass back the OTF data. What I saw in this function is that the OTF data is read directly via C-CAll => Call 'C_RSTS_OPEN' and Call 'C_RSTS_READ'.
Does anyone of you have an idea how to solve my problem or could give me a hint?
Thanks,
Thomas

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

  • How to receive the datas?

    Look:
    the first I create socket sk:
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
    and I fill data into Ip Head and Icmp Head,
    then I sendto the packet,but I don't receive
    any datas:
    lenrecv=recvfrom(sk,buf,100,0,(struct sockaddr*)&addr,&rlen);
    my codes run at the function recvfrom,but it
    couldn't return variable lenrecv,and it look like down,
    I want to know why?how to receive the data?
    (I couldn't creat socket like this:
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
    I want to know when I creat socket like this
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
    How to receive datas?)

    Last edited by joseperezc (2012-08-14 18:58:22)

  • How to delete the data based on concurrent request Id

    Hi
    from account receivable to gl i am posted a cheque through concurrent program.
    right now my problem is I want to delete that data in database tables based on concurrent request id.
    how to delete that data based on concurent request id, Please give me some suggessions

    What is the application version ? what exactly you want to achieve ?
    Direct deletion is not recommended in oracle application database.
    regards,

  • How to receive RTP data by JMF

    Hello!!
    I have a ipaq3870 installed Jeode.
    I can run JMStudio to play media on PDA and receive RTP data from PC's JMStudio.
    But I can't receive RTP data by AVReceive2.
    I compressed AVreceive2 into custom.jar.
    Can anyone teach me how to do?
    Did my steps correct?
    Thank you!!
    Shih-Wei Chen

    Hi,
    hope we could talk a little more about this because I am also trying to do some applications with the JMF and Personal Java / Jeode.
    So far I haven�t worked with the JMstudio but with the AVReceive and the AVTransmit classes. My Transmit-PC is a Desktop PC running Windows XP and my Receive Handheld is Sharp Zaurus with - as I said - Personal Java / Jeode running.
    Both classes run but the Transmitter only says "Transmitting ..." and the Receiver says "Waiting for data to arrive" and nothing happens.
    Perhaps you know what I am doing wrong ? Can it be the Windows XP - Linux ? But the JMF ist platform independent, isn�t it ?
    Do you think the JMStudio is better than the AVReceive ?
    How did you manage to run jmstudio under Jeode ?
    Of course he didn�t find the "java" exec because it is called evm but how can I change this ?
    Thanks for your help
    Poldi

  • How to get performance data out of SCOM and into a 3rd party management tool

    Hi
    I  am creating an integration between a 3rd party management tool and System Center Operations Manager 2012 R2.  I need to export performance data from SCOM into our application for both HyperV servers and virtual machines. Our application runs on
    linux so I cannot do any .NET programming.
    What is the best way to do this? I am aware of using the Usage SPF web service but this will not share performance data for the hyperv servers, just the virtual machines .
    thanks in advance

    Hi,
    We can use SQL query to get SCOM data out, but about how to send those data into your application, this should be related with how you develop your application.
    Here is an article about Operations Manager integation, hope it helps:
    http://social.technet.microsoft.com/wiki/contents/articles/12804.system-center-2012-integration-guide-operations-manager.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • How to get POST data out of Flash

    I am using this, but so far, no joy. How can I get info out
    of my swf into a PHP file to be read?
    And trying to read in in a PHP file with this:
    $title = $_POST['Artist'];
    $track = $_POST['Track'];
    $image = $_POST['Image'];
    echo "Artist Name: " . $title . "<BR>";
    echo "Track Info: " . $track . "<BR>";
    echo "Image Path - " . $image . "<BR>";
    ====
    AS3 below

    Nuthin' is ever easy for me. I think I am my own worst enemy
    most of the time. I am trying to test this via a pop-up window
    which I am opening within the same code block. I can't see where
    there are any conflicts, and I get no errors, but something is
    keeping this from working. Either my poor coding or something else.
    The window opens fine, just no variable values are echo'ed Thanks
    for looking in.

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

  • How to send as an email the spool request?

    Dear Experts,
    My last post was Email background schedule report to gmail or yahoo mail .
    I got solution but it's work as a notification which we can say the after report run it triggers mail that report is completed as this time.
    But i required the thing how to send a spool request of a report  as an email attachment.
    it will be in .xls or .pdf or xyz format.
    It was the additional task which was required by my organization.
    I also want to know the following things.
    1. what is sap default configuration and system behind it.
    2. what the things abaper have to check.
    3. what is bcs_examples & where do i found these bcs_example8.
    Please guide me to explore my knowledge.
    Thanks & regards
    Nayan Lad
    Note for moderator : Sir, I will close request at 2:30 pm today onward, so please do not lock it.
    Moderator Message: All your questions can be answered by searching.
    Edited by: kishan P on Nov 13, 2010 3:29 PM

    need solution..

  • I want to print form directly with out using spool request

    hi,
            i want to print form directly with out using output type screen (spool request or print preview ) , i want to supress the screen and get output directly to the printer. plz help me
    thanks&regards
    praveen

    Hi Praveen,
    In your program, where you are calling the OPEN_FORM function.. pass the name of the printer in the 'DEVICE' parameter of the function module..
    Also, there is a parameter OPTIONS of sturcture ITCPO in the same function module.. in this parameter you will find lot of options to set properties for the printing..
    There will be one field for immediate printing, set that field to 'X' and other settings for print in the same structure and pass to the function module..
    Thanks and Best Regards,
    Vikas Bittera.

  • How I set the auto delete old spool request

    Hi
    I would like to know , how to auto delete old spool request. Have any option in SAP.
    I want spool requests on server for 3 days only.
    Pls suggest.
    Tapovardhan

    As a default background job SAP schedules<b> RSPO0041</b> program in background, this program's variant has the <b>Minimum age in days</b> value.
    Can you check with what variant this program is running. 
    This program needs to be scheduled daily with <b>Minimum age in days</b> field.
    Regds
    Manohar

  • How to fit the data in Oracle SPOOL FIle

    Hi all,
    Word_rapped ,Formatted etc etc dif every thing ...
    Some columns data arent fitting in to the page.What I want to fit the ouput of query in to one page (A4).
    is there any SPOOL command to fit

    I'a affraid that you have to use more than one command to do it,
    set pagesize 72 --- set how many lines will be on a page
    set linesize 80 ---- set howmany character will be in one line
    column columnName fromat a20 -- sets that column with columnName will be 20 character wide
    set heading on | off - set heading on and off
    You have to experiment a little bit , you can find more formating comands in documentation
    Best Regards
    Krystian Zieja / mob

  • How to get the data out of the phone when the touch panel is cracked?

    Hello,i break my front touch panel accidently, means i couldn't un-lock my phone anymore..but, there has some very important data and file in the phone memory.is it possible or any ways to get those data/files out???  i don't want to repair the front panel of this phone anymore.. (2nd time already.. ) i would get a new model.  thanks in advance.Sean

    Hi zienab_samir, welcome to the community!
    You can get an OTG cable which connects to your phones charging port, the other end of the cable is a female USB - which allows the USB of a mouse cable to be plugged into it. You can then see whether you can use the mouse to unlock the screen.

  • 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

  • Changing Expiration date of all Spool requests to a specific printer

    hi,
    I want to change the expiration date or delete the spool to a specific printer, after 2 days.
    All the jobs to other printer should be default to 8 days.
    Please advice of how i can achive it without ABAP programming

    Use Report RSPRIPARADMIN to set the values for output device.

  • How to know applied date in ESS leave request

    Hi all,
    How to know on which date employee has created a leave request in ESS.In which table this data is available?
    Thanks and Regards,
    Rajesh

    Hi Rajesh,
    Could you post the answer. I am looking for the answer! I would appreciate your help.
    Regards,
    PG.

Maybe you are looking for