PostScript request output is askng to save or open .zip file not .ps file

Hello,
I have created a new simple customized report for PostScript testing, but once I run the request and view the output. It asks to save or open .zip file.
Any Idea?

Please post the details of the application release, database version and OS.
I have created a new simple customized report for PostScript testing, but once I run the request and view the output. It asks to save or open .zip file. How did you create the report? Please mention the steps.
Is this a concurrent program? If yes, what if you download the output file from the server and open it on the client machine?
Thanks,
Hussein

Similar Messages

  • SSFCOMPOSER - 154 - No output request open. End not possible.

    Hi Experts,
    I'm trying to print multiple smartforms using FMs SSF_OPEN and SSF_CLOSE. Inside the main program RBDAPP01 (Inbound processing for IDOCS) there is a loop at the IDOCS to be processed. Deep within the processing, we have a custom FM being called which prints smartforms. Since there is a loop at the calling main program, I have organized the code in the custom FM such that the first IDOC calls SSF_OPEN and the last IDOC calls SSF_CLOSE, so that all IDOCS in between will be able to print their smartforms. Here is the call stack:
    8
    SAPLZCUSTOM                   
    ZCUSTOMPROGRAM                             
    113
    FUNCTION                     
    ZCUSTOMPROGRAM                                         
    7
    SAPLPPC1                               
    ZCUSTOMPROGRAM     
    136
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    7
    SAPLPPC1                               
    LPPC1U01                               
    1
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    6
    SAPLBD20                               
    LBD20F0A                               
    454
    FORM                         
    IDOCS_PASS_TO_APPLICATION                                   
    5
    SAPLBD20                               
    LBD20F0B                               
    69
    FORM                         
    IDOCS_PROCESS                                               
    4
    SAPLBD20                               
    LBD20U05                               
    260
    FUNCTION                     
    IDOC_INPUT                                                  
    3
    SAPLEDIR                               
    LEDIRU02                               
    182
    FUNCTION                     
    IDOC_START_INBOUND                                          
    2
    SAPLBD12                               
    LBD12U04                               
    37
    FUNCTION                     
    APPLICATION_IDOC_POST_IMMEDIAT                              
    1
    RBDAPP01                               
    RBDAPP01                               
    388
    EVENT                        
    START-OF-SELECTION                                          
    The problem is:
    1. When I only have 1 IDOC being processed, SSF_OPEN and SSF_CLOSE happens in the custom FM at the same time. This creates a successful spool.
    2. Whereas, when I have 2 or more IDOCS, SSF_OPEN happens in the first IDOC, but then it goes back to the calling program, and then when the last IDOC is encountered SSF_CLOSE is called. The FM SSF_CLOSE in this scenario calls the exception INTERNAL_ERROR (sy-subrc = 2).
    The system message is SSFCOMPOSER - 154 - No output request open. End not possible.
    Why is this happening? Is it because that other programs (calling programs) may have affected the status of SSF_OPEN? It seems that the SSF_OPEN is no longer open.
    Thanks in Advanced,
    Jack

    No, it will not hold the smartform open, but you don't need to hold it open in order for printout to be accumulated in one spool. Spool system does the accumulation automatically, provided the spool requests that are to be added to an existing spool request are:
    - generated in the same transaction and
    - have the same attributes (such as user, title, output device, client from which the request was issued, number of copies, priority, cover sheet setting, archive mode, and ABAP session number).
    Important is: where do OUTPUT_OPTIONS like printer come from currently? Is print parameters popup displayed on first Idoc for user to choose printer and options? Or do you use USER_SETTINGS = 'X' to simply take over defaults from user master? If the print options dialog is displayed, it needs to be controlled as well so it's displayed only once.
    Assuming print options come from the user in dialog, the logic without explicit open/close could look somewhat like this:
    On first idoc:
    - call SSF_OPEN  importing  JOB_OUTPUT_OPTIONS to display print options dialog; move-corresponding JOB_OUTPUT_OPTIONS to global OUTPUT_OPTIONS;
    - set OUTPUT_OPTIONS-TDNEWID = 'X' and clear  OUTPUT_OPTIONS-TDFINAL, to ensure new spool will be started (overriding user choices for these parameters!);
    - if the user has set OUTPUT_OPTIONS-TDIMMED = 'X' save it globally and clear it;
    - set CONTROL_PARAMETERS-NO_OPEN = 'X';
    On subsequent idoc:
    - clear OUTPUT_OPTIONS-TDNEWID;
    - clear CONTROL_PARAMETERS-NO_OPEN;
    On last idoc:
    - set OUTPUT_OPTIONS-TDFINAL = 'X' (this is not absolutely necessary, but prevents further appending to the spool);
    - restore OUTPUT_OPTIONS-TDIMMED from the value saved on first idoc;
    Calling Smartform:
    - set CONTROL_PARAMETERS-NO_DIALOG = 'X';
    - call smartform passing OUTPUT_OPTIONS and CONTROL_PARAMETERS;
    The logic is somewhat complicated; I'd wrap it in a class (singleton, which would be de-instantiated after last idoc) to avoid global data and code other than simple method call(s) in FM.
    Even if you decide to refactor the logic, it would still be important to understand, I think, why the current logic does not work (where and why smartform gets closed)... Maybe there are some nasty "surprises" somewhere, and your current algorithm should work.
    cheers
    Janis

  • Error during print request output. l_rc = 1

    Hi ,
    I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
    I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
    I am using control set to copy file at desired location on server
    COPY &F <path for file to be copied>&T
    File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
    Complete log is below:
          SAP spool error log                                                                   
          =====================                                                                               
    Print request processing log                                                                               
    The host spool is reporting errors                                                                               
    Message from host spool:                                                                               
    1 file(s) copied.                                                                 
    End of message                                                                               
    Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\                                                                               
    Errors occurred processing this print request                                                                               
    Error during print request output. l_rc = 1                                                 
    There may be no printout                                                                               
    Most important attributes of spool request                                                                               
    Request number 29343                                                                               
    Request name SCRIPT ZRAJ BASISADMIN                                                         
    Client 220                                                                               
    Owner BASISADMIN                                                                            
    Request attributes                                                                          
    Time created   2008102906203900                                                             
    Remaining life  +00008000000                                                                
    Dispo 1 (Go/Hold) G                                                                         
    Dispo 2 (Keep/Delete)     K                                                                 
    Dispo 3 (Indirect/Direct) D                                                                 
    Default output device ZRAJ                                                                  
    Default no. copies  1                                                                       
    Format X_PAPER                                                                               
    Main print request characteristics                                                                               
    Spool request number 29343                                                                  
    Print request number 1                                                                      
    Print request attributes                                                                    
    Time created   2008102906203900                                                             
    Output device ZRAJ                                                                          
    Format X_PAPER                                                                               
    Character converter active when first problem occurred                                                                               
    No information available                                                                               
    Pls help.
    Regards
    Raj Kiran

    If you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
    so do a search in SCN before posting your question.
    Regards
    Karthik D

  • Not able to save report output in a text file and RTF file

    I am using Oracle Developer6.0 . I am facing problem with reports. I am invoking reports from form using run_product.
    1. I could not able to save the report in text file . Whenever i try to save the report output in a text file.It gives dump and application get closed.
    2. In RTF format , it execute the query which i have given at the design time while creating a report . But while running i am passing query either through lexical parameter or passing value of where criteria user parameters. It display the output for the specified value. But when i save this report output in rtf file . It execute design time query and save that in a rtf file.
    If any body is having any idea about it . Please let me ASAP . It is very urgent for me.
    Thanks in advance

    Try the following:
    Do not generate the report to .rep file, but rename/copy the .rdf file to .rep file and execute it.

  • Procedure to save the output of a query into excel file or flat file

    Procedure to save the output of a query into excel file or flat file
    I want to store the output of my query into a file and then export it from sql server management studio to a desired location using stored procedure.
    I have run the query --
    DECLARE @cmd VARCHAR(255)
    SET @cmd = 'bcp "select * from dbo.test1" queryout "D:\testing2.xlsx;" -U "user-PC\user" -P "" -c '
    Exec xp_cmdshell @cmd
    error message--
    SQLState = 28000, NativeError = 18456
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'user-PC\user'.
    NULL
    Goel.Aman

    Hello,
    -T:
    Specifies that the bcp utility connects to SQL Server with a trusted connection using integrated security. The security credentials of the network user,
    login_id, and password are not required. If
    –T is not specified, you need to specify
    –U and –P to successfully log in.
    -U:
    Specifies the login ID used to connect to SQL Server.
    Note: When the bcp utility is connecting to SQL Server with a trusted connection using integrated security, use the
    -T option (trusted connection) instead of the
    user name and password combination
    I would suggest you take a look at the following article:
    bcp Utility: http://technet.microsoft.com/en-us/library/ms162802.aspx
    A similar thread regarding this issue:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b450937f-0ef5-427a-ae3b-115335c0d83c/bcp-connection-error-sqlstate-28000-nativeerror-18456?forum=sqldataaccess
    Regards,
    Elvis Long
    TechNet Community Support

  • Invoking a call to a window executable fails when request output to file

    Hi,
    When invoking a call to a window executable it fails(returns 1 instead of 0) when requesting output to file by using "> filename.txt". This nornally works when run directly within a
    windows command prompt, and it also works if I don't add the "> filename.txt" at the end. Also instead of outputting to a file I would like the same called executable to output to a memory variable that I can extract data without going to a external text file.
    Below is the .java file
    package com.insequence.gv;
    public class Jinvoker {
              public static int invoke(String program) throws java.io.IOException, java.lang.InterruptedException
                   System.out.println("invoking program: " + program);
                   Process p = Runtime.getRuntime().exec(program);
                   int exitValue = p.waitFor();
                   return exitValue;
              public static void main(String[] argv)
                   try
                   System.out.println("invoker start");
    //               int retval = invoke("c:\\tvalesky\\java\\invoker\\targetexe arg1 arg2 arg3");
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe C:\\data\\EarthData2005\\Ortho\\no_collaged.tif");
                   String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif > c:\\testing.txt";
    //               String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif";
                   int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe " + arg1);
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe");
    //               String arg1 = "-s_srs epsg:26915 -t_srs epsg:4326 C:\\data\\EarthData2005\\Ortho\\no_collaged.tif C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif";
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalwarp.exe " + arg1);
    //               int retval = invoke("C:\\testing.bat C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif");
                   System.out.println("invoker end: returned " + retval);
                   catch(java.io.IOException e)
                        System.out.println("IOException caught: " + e);
                   catch(java.lang.InterruptedException e)
                        System.out.println("InterruptedException caught: " + e);
    Thanks,
    John Mitchell

    Well, if you ultimately want the output from the process, you don't need to redirect it to a file first. Just read from the standard output of the process. See [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getInputStream()]Process.getInputStream and Process.getErrorStream. You'll need to read from both simultaneously so you'll need to create two threads. You could also use [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html]ProcessBuilder if you're using Java 1.5

  • Please share your understanding and experiences on Picking Request Output.

    Hi,
    Have you ever involved in any project which related to the 'Picking Request' Output IDOC.
    Normally it is triggered from Delivery output and corresponding picking data will be sent...
    Please share your understanding on how to trigger this kind of Picking request ouput from delivery processing.
    For example, you are the person is assigned to explore an existing SAP-system. Your task is to simulate an order cycle and most important points is to trigger the 'Picking request' Output IDOC in delivery order. But you dont know what Sales order type,Dlv type is used. The only thing you knew is the picking request output type is ZXXX from delivery header output.
    How do you find out corresponding sales order type/Dlv order type/Billing order type according to an output type name ZXXX.
    First, i will share my ideas:
    Through ZXXX we could get corresponding condition records, as there contain some info like dlv type/sales order type..kinds of combinations..Follow that, i will find already proceessed sales documents. Then refer those document to do the re-creation.
    Please kindly let me know your ideas.
    Thanks!

    Hi there,
    Define a new O/p type. Select EDI in Transmission in Default values of O/p type for external system. Select ALE for internal system.
    Assign an access sequence to that.
    Maintain the determiantion procedure. In the requirement routine, put a condition that it should trigger only after picking / packing is done.
    Assign the O/p to the delivery type.
    In WE20, define a new partner to whom you want to send the IDOC. Give the required details.
    Define a new IDOC processing prog & assign that to the process code of the IDOC in the partner  profiles.
    So whenever you do picking, the Op type will be trigered which will be processed by the IDOC prog & send it to the external system.
    Regards,
    Sivanand

  • Disabling requested Output Post Processing.Nothing to process.The output...

    Hi All,
    DB:11.2.0.2.0
    Oracle Apps:12.1.3
    O/S:AIX 6.1 64 bits
    There is one custom concurrent program(other custom programs do not have this error) that completes in error message in all the instances(DEV,TEST,etc) as below:
    _"Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte"_What could be the cause of the error message and the fix?
    Did anyone face this error before? What is the recommendation please?
    Thanks for your time!
    Regards,

    There is one custom concurrent program(other custom programs do not have this error) that completes in error message in all the instances(DEV,TEST,etc) as below:
    _"Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte"_What could be the cause of the error message and the fix?
    Did anyone face this error before? What is the recommendation please?This indicates that the report has not been processed by the OPP -- Please make sure you have completed all the steps as per XML Publisher docs.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/xmlp_ebiz/index.html
    http://docs.oracle.com/cd/B25516_18/current/acrobat/115xdoug.zip
    Thanks,
    Hussein

  • APEX integration with EBS 11i10: view concurrent request output

    Hi All:
    ENV: APEX 4.0
    EBS: 11i10
    DB: 10r2
    APEX is installed in the same database as EBS 11i10
    1. I have developed a APEX application that is can be launched from EBS as a form function. Also, the APEX will not ask any credential when user launch it from EBS, since user is already authenticated. Also, APEX will also display FND username, responsibility for user who has login - <<This is already implemented>>
    2. by Default, APEX will display a page, where user can browser and import a csv file into a predefined custom table <<This is already implemented>>
    3. After csv file is imported into cusotm table, user will click "Submit" button to process the data. APEX will submit a concurrent request (eventually, the concurrent program will call Oracle API to process data). A concurrent request is will display on the apex page. << This is WIP and I don't forsee any issue to implement this, since many have done this before>>
    4. User will write down the request id from step 3 and go to another apex page. In this page, user will enter request id and click "View Output", which should retrieve the concurrent output for that request id and display the output in a new browser. I don't want user go back to EBS to view the concurrent output. << This is my question for this thread>>
    My question for step 4: is there a seeded EBS API (FND_???) that I can call by passing a request id and API should display the concurrent request output in a browser automatically? Assuming, I will use fnd_global.apps_initialize() API in this page to set EBS env properly.
    My question may not be a direct APEX question; however, I hope someone can offer some help to me. I have done numerous research on this and still haven't find this API.
    Thanks!
    Kevin

    Hi Kevin,
    I am having an issue implementing the Call from an EBS menu entry to the APEX Page.
    I created the menu entry as a SSWA Function that use the apex_launch procedure to call the APEX page but when the user clicks on the option menu, the EBS login page appears.
    Can you share with me how can I fix this?
    Thanks
    AEstrada.

  • Debit memo request output type

    hi
    is there any ouput type for debit memo request,iam asking of debitmemo req,
    and did we need to assign the output procedure to debit memo request.
    my client want to send debit memo request output to cust.
    is it possible.
    pls reply me

    Hi Vinay,
    It is definetly possible.Create your new output for this purpose.Add this output type in O/P determination procedure for order and assign this procedure to DMR document type.
    Reward points if useful
    Regards,
    Amrish Purohit

  • To view the concurrent request output in a custom form

    Hi,
    I have a requirement to view the concurrent request output from a custom form.
    I can use the function "fnd_webfile.get_url " in a PL/SQL procedure and get the value for URL for the request output.
    I am not sure how I can call this function from the form directly , ie not sure which library needs to be attached.
    and also how to display the URL which has been obtained.
    regards

    Hi,
    I used the below code in my form
    l_url := fnd_webfile.get_url
    file_type =>'request_xml_output' , --fnd_webfile.request_out,
    id => req_id,
    gwyuid => l_gwyuid,
    two_task => l_two_task,
    expire_time => 10 -- minutes, security!.
    when I used fnd_webfile.request_out the form was not compiling and hence I passed the value 'request_xml_output'
    Now no compilation error exists however how do I display the concurrent request in the screen.
    I am not clear here, is there any function I need to use. I checked the FNDRSRUN form and there they have used
    editor_pkg.report(req_id, 'Y');, I tried using it but no use.
    regards
    Maya

  • Concurrent Request Output from PL/SQL

    Inventory manager got the internal requisition approval workflow notification, he open the notification and
    click on the Approved button (here inventory manager want when he press the Approved button, report request is auto submit to the concurrent manager and when request is complete with "COMPLETE" and "NORMAL" status then automatically show the report output in the internet explorer, he don’t want to open the "FNDRSRUN" form), for this requirement I write the code in the workflow package "PO_REQAPPROVAL_INIT1" and submit the report request through "FND_REQUEST.SUBMIT_REQUEST" and it's working fine but problem is how report output show in the internet explorer when request is complete.

    Hi,
    Please refer to this document.
    Note: 357385.1 - How To Send Attachments Of Size Greater Than 32 KB Using UTL_SMTP Package
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357385.1
    Regards,
    Hussein

  • Concurrent request output files removed - now concurrent requests failing

    Hi.
    I recently removed all *.out files from the concurrent request out directory that were older than 5 days.
    I didnt think these were needed, only recorded output from earlier concurrent requests. But now we have a request complaining that
    The Applications File Server could not open the file /apps/prod/prodcomn/admin/out/PROD/o16499119.out for read.
    Any ideas?
    Thanks.
    Oracle 10.2.0.4
    EBS 11.5.0.2
    DA

    Dan,
    It is expected to get this error as the concurrent request output file is missing. The only way to fix this error is to restore the out files from a recent backup you have taken. Or, ask the user to submit the same concurrent program again and a new out file will be created then.
    Thanks,
    Hussein

  • How to Download Output of Script or SmartForm in to word file or Pdf file

    Hi Experts .
    I am stuck up at a point that how i can download the Output of
    smart-form or Sapscript into word file or Pdf file .
    Please help me out Boss .
    Best Regards : rajneesh

    Online PDF Printer for SAP
    1. Print your document into spool request
    2. Go to SP01 and get the Spool Req. No.
    3. Go to SE38 and run Report RSTXPDFT4
    4. Feed in the Spool Req. No.
    5. Save the PDF file on your Desktop.

  • Access denied error while writing a file to the file system - myfileupload.saveas() throws system.unauthorizedexception

    hi,
    as part of my requirement , i have to perform read and  write  operations of  few files [ using the file upload control in my custom visual web part] and on submit button click.
    but while writing these files - with the help of  fileupload control - and when i use  myfileupload.saveas(mylocation);
    - i am saving these files into my D:\ drive of my server , where i am executing my code -, am getting access denied error.
    it throws system.unauthorizedexception.
    i have given full control on that folder where i was trying to store my attached files. and also  after following asp.net forums,
    i have added  iusr group added and performed all those steps such that, the file is saved in my D:\ drive.
    but unfortunately  that didnt happen.
    also
    a) i am trying the code with runwithelevatedprivileges(delegate() )  code
    b) shared the drive within the  d :drive where i want o save the files.
    c) given the full privieleges for the app pool identity- in my case , its
    network service.
    the  other strange thing is that, the same code works perfectly in  other machine, where the same sp, vs 2012  etc were installed .
    would like to know, any other changes/ steps i need to make it on this  server, where i am getting the  error.
    help is  appreciated!

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

Maybe you are looking for