Out put file is not coming

Hi all,
if user is l running one report and it will run successfully.
then my doubt is at that time output will not generate.
At that time what i will do?
and suppose out put will button is disable .then what i will do at that time?
regards.
vijay

Hi follow the following thread...this thread topic is more or less same...If the issue is resolved, you will come to know how to debug this type of issues....
output file
output file

Similar Messages

  • Out put file is not genrated when calling xml reports from OAF page

    Dear all
    i am calling xml reports from OAF page
    the out put file is not generated
    i am writing this code
    public int tradingrequest(String quoid, String costoder,int orgid)
    try
    OADBTransaction tx = (OADBTransaction)getOADBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName =
    "XXCRM"; //Application that contains the concurrent program
    String cpName = "XXCRM_COSTSHEET"; //Concurrent program short name
    String cpDesc =
    "Trading Costsheet Report XXCRM"; // concurrent Program description
    Number orgid1=new Number(orgid);
    // Pass the Arguments using vector
    Vector cpArgs = new Vector();
    cpArgs.addElement(quoid);
    cpArgs.addElement(costoder);
    cpArgs.addElement(orgid1.toString());
    // Calling the Concurrent Program
    int requestId =
    cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
    tx.commit();
    System.out.println("Request ID is " + requestId);
    return requestId;
    } catch (RequestSubmissionException e)
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;
    in controller i am writing this code
    OAMessageStyledTextBean y =
    (OAMessageStyledTextBean)webBean.findChildRecursive("quotationid");
    OAFormValueBean z =
    (OAFormValueBean)webBean.findChildRecursive("costorder");
    String quoid = y.getValue(pageContext).toString();
    String costorder = z.getValue(pageContext).toString();
    System.out.println("The quotation id and costing order are....." + quoid +
    " " + costorder);
    /*if click on run report button to run the report*/
    if ("Viewreport".equals(pageContext.getParameter(EVENT_PARAM)))
    if (tsflag.equals("Y"))
    int requestid = am.servicerequest(quoid, costorder, orgid);
    String url =
    "OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&retainAM=Y&addBreadCrumb=Y&REQUESTID=" +
    requestid;
    pageContext.setForwardURL(url, null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
    null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    when i call the report from oaf page the request id is coming
    when i click on view output i am getting this message
    Error
    The concurrent request 7335031 did not create an output file.
    WHEN I GOTO FIND REQUESTS PAGE QUERY THIS REQUEST ID I AM GETTING THE OUTPUT IN XM FILE
    Regards
    Sreekanth

    java.io.FileNotFoundException: \..\..\..\xdoAqdFFZfuuJ051010_0628487460.fo (The system cannot find the path specified)
    MY CO code
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    // Hashtable hashtable = new Hashtable(1);
    // hashtable.put("TruckBookingRefNum",trucknum);
    // System.out.println("test"+trucknum);
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=LF Cargo Summary Report.htm";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/HTML");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getTestDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    System.out.println(" ByteArrayInputStream.ByteArrayOutputStream"+pdfFile+inputStream);
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    "LFCUST",
    "XXLFCARSUM_TARGET",
    "English",//((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    "US",//((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_HTML,
    null,
    pdfFile);
    // hashtable);
    System.out.println(" TemplateHelper");
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    System.out.println(" byte"+b);
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    pdfFile.flush();
    pdfFile.close();
    catch(Exception e)
    System.out.println(" inside catch");
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(true);
    Edited by: user9367919 on May 13, 2010 10:31 AM

  • Out put file with three extra blank line

    Hi Expert
    i am snding some article data from sap to ftp location.from proxy class the internal table has all correct record .but in the out put file three blank line is coming with all the record at the end.
    i have the following cc parameter
    File.fieldNames Trans_type,Transfer_no,SrcSt_no,DestST_no,LPN_No,Transfer_date
    File.fieldFixedLengths 1,30,10,10,10,8
    then i added
    File.endSeparator '0'.
    but still 3 blank line is coming in the output file.
    please suggest somthing.

    Hi !
    Why are you using File.endSeparator '0'. ?
    Are you sure your input data doesn't have those 3 blank records in the end? Check the message payload in the sxmb_moni transaction.
    Regards,
    Matias.

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • Special charactors found in out put file of .xml file in file adapter

    Hi ,
    Dear all,
    I am working on Sender File adapter picking files from the multiple Directories which are specified in a single CC and these files are placed in the different receiver directories in different CC's metained paths of the receivers
    The Souce is XML.
    When I use  the receiver format as .csv,.txt it the out put is as excepted,when i give the receiver format as .XML the output file contents:PK   (An invalid character was found in text content. Error processing resource 'file:).
    Pl let me know how to tackle thsi situation.
    Thanks,
    Srini

    Hi
    Also try with the following UDF.
    public class XmlUtil {
        char[] specialCharacters = { '&', '<'>', '\'' };
        String[] replacementStrings = { "&", "<">", "&apos;" };
        public static String sanitizeText( String text ) {
            StringBuffer buffer = new StringBuffer( text );
            for( int i = 0; i < buffer.length(); i++ ) {
                for( int k = 0; i < specialCharacters.length; k++ ) {
                    if( buffer.charAt(i) == specialCharacters[k] ) ) {
                         buffer.replace( i, i + 1, replacementString[k] );
                         i += replaceString[k].length;
                    } else if( (int)buffer.charAt(i) > 128 ) {
                         String replacement = "&#" + (int)buffer.charAt(i) + ";";
                         buffer.replace( i, i + 1, replacement );
                         i += replacement.length();
            return buffer.toString();
    Regards
    Abhishek Mahajan

  • Getting multiple notepad out put files

    hello
    i'm trying to make a java program that writes out multiple files to a folder in my documents. However, i'm confused on how to make a for statement that would output a lot of files, while making them still write and not have to replace the previous one.......
    this is my program
    import java.io.*;
    public class notePad{
    public static void main(String args[]){
    try{
    File infile = new File("C:/Documents and Settings/c1s5/My Documents/Allah/sample.txt");
    FileOutputStream fos = new FileOutputStream(infile);
    PrintWriter out = new PrintWriter(fos);
    out.println("This is the sample text in the notepad");
    out.flush();
    out.close();
    }catch(Exception e){}
    and i want to be able to manipulate the sample so that it goes sample 1...sample 2..for every time it runs though the for statement....also, i want to make it output more than one file....anyone have an idea how i can do this...its my fourth month in java...so i'm a noob
    hwrd

    import java.io.*;
    public class notePad{
      public static void main(String args[]){
        try{
          for(int i=0; i<how many file; i++)
            File infile = new File("C:/Documents and
            Settings/c1s5/My Documents/Allah/sample.txt" + i);
            FileOutputStream fos = new FileOutputStream(infile);
            PrintWriter out = new PrintWriter(fos);
            out.println("This is the sample text in the
            notepad");
            out.flush();
            out.close();
        }catch(Exception e){}
    Change the file name for each one. as long as you use the same hard coded file name it will overwrite the previous one. The example is hideous and very rought but should give you the idea.
    Hope this helps,
    PS.

  • I have transferd music from my ipod to my new computer and some of the files are not coming over, i have noticed the m4a files come across but the mp3 do not, any ideas how i can resolve this? thanks

    I have just bought a new computer and i am transfering my music from my ipod onto my new computer, I have put the files from the music option from my ipod onto my computer. alot of the songs have come across, however there is alot of songs that havent. I have noticed that the m4a files come across but the mp3 does not. the new computer has windows 8 on it, which is very new to me. when i try and play the mp3 files, it will open them up in a different programme and will not open in itunes. does anyone know what i can do?!?!!?!?!
    THANKS

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    BTW this is the iPod touch forum

  • How do you find out which files are not authorized?

    All of a sudden, out of the blue, I start getting this message :
    Some of the Audible files in the iTunes library were not copied to the iPod “iPod” because you are not authorized to play them on this computer.
    Well first of all - all of the music I've bought in the last 4 years have come from iTunes so why this comes up now all of a sudden is beyond me.
    Computer hasn't changed.
    Same old iPod touch (1st gen) I've been using for several years now. The last time I tried to sync it was probably a few weeks ago (with no problems).
    I thought I'd look to see if say the past 10 songs I've purchased are on the iPod (which goes back several months)... they are.
    So I thought - ok let's see if I get a problem syncing my iPhone and my iPad. Nope - no problems there.
    I'm stumped.
    It would be nice if I could even get a list of the files it claims can't be synced to the iPod, that would be a good starting point to diagnose the problem, but I can't figure out even how to get that.
    Help!

    PunkStar Studios wrote:
    Some of the Audible files ...
    if you're seeing that error, it has nothing to do with purchased content from the iTunes store.
    Audible is an online store that sells Audiobooks. The audiobooks purchased from Audibooks work the same way as the songs purchased from iTunes. You can only play the audiobooks on a limited number of computers.

  • Print PDF out put file

    Hi all
    I am using below to generate PDF output file
    String s3 = oapagecontext.getParameter("RtfTemplateName");
    //Generate the PDF Report.
    if ("PDF".equals(ReportOutputType))
    TemplateHelper.processTemplate(((OADBTransactionImpl)oapagecontext.getApplicationModule(oawebbean).getOADBTransaction()).getAppsContext(), "APP_NAME", s3, "en", "US", inputstream, (byte)1, (Properties)null, bytearrayoutputstream);
    is there any parameter or anything by which i can automatically print the PDF without having to actually click Print on the PDF file ??
    Please help
    Thanks

    Use Standard Program RSTXPDFT4 in SE38 / SA38 with Sppol Request Number to convert OTF Purchase Order Format to PDF Format.
    In order to send PO, your Basis team must configure the system first so that external email can be send out from SAP.  If it is not configured, no settings you do on MM will work.
    1. You must maintain email address in vendor master data.
    2. The same applies to your user master data.  For the output type for default values, a communication strategy needs 
    to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the 
    Customizing via the following path: 
    (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). 
    As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    3. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    4. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    5. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    6. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    Regards,
    Ashok

  • How do I get data to be written to an out put file at a timed increment?

    I am trying to get Labview to record a voltage and write to a text file at given increments but I am new at this and do not know how to program this in labview.  I would appreciate any guidance or code/examples that would be helpful. 

    Like this then...
    Attachments:
    Time_elapsed.jpg ‏26 KB

  • Invalid characters found in the generated out put file

    hi ,
    I had written  a report to generate a file using open dataset , And In the generated file there are invalid characters generated for few fields. can any body help me with this.
    regards
    nelakonda

    Hi,
    Try below code.
    DATA : l_w_file LIKE rlgrap-filename .
      FIELD-SYMBOLS : <l_w_record> TYPE string,
                      <l_table>    TYPE STANDARD TABLE,
                      <l_line>     TYPE ANY,
                      <l_field>    TYPE ANY.
      DATA         : new_table TYPE REF TO data   ,
                     new_line  TYPE REF TO data   .
      TYPE-POOLS : slis.
      DATA      : wa_fieldcat             TYPE lvc_s_fcat         ,
                  wa_fieldcat1            TYPE slis_fieldcat_alv  ,
                  fieldcat                TYPE slis_t_fieldcat_alv,
                  gt_fieldcat             TYPE lvc_t_fcat         .
      DATA : l_w_length TYPE i.
      DATA : wa TYPE string.
      CLEAR : p_subrc .
      l_w_file = p_file .
      OPEN DATASET l_w_file FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0 .
        p_subrc = 1 .
        EXIT.
      ENDIF .
      ASSIGN wa TO <l_w_record> CASTING.
      DO.
        READ DATASET l_w_file INTO <l_w_record>.
        CONDENSE <l_w_record>.
        IF sy-subrc EQ 0.
        ELSE.
          EXIT.
        ENDIF.
        APPEND <l_w_record> TO p_it_itab.
    *This method will create a structure required for the
    *runtime table generation
        l_w_length = STRLEN( <l_w_record> ).
          CLEAR wa_fieldcat.
       wa_fieldcat-fieldname    =  wa.
       wa_fieldcat-seltext      =  wa.
          wa_fieldcat-outputlen    =  l_w_length          .
          APPEND wa_fieldcat       TO gt_fieldcat         .
          CALL METHOD cl_alv_table_create=>create_dynamic_table
            EXPORTING
                        I_STYLE_TABLE             =
              it_fieldcatalog           = gt_fieldcat
                        I_LENGTH_IN_BYTE          =
            IMPORTING
              ep_table                  = new_table
            EXCEPTIONS
              generate_subpool_dir_full = 1
              OTHERS                    = 2
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *The structure is assigned to the table <l_table>
          ASSIGN new_table->* TO <l_table>.
    *Structure of Work Area of the table created.
          CREATE DATA new_line LIKE LINE OF <l_table>.
    *The structure of work area is assigned to <l_line>
          ASSIGN new_line->* TO <l_line>.
          MOVE wa TO <l_line>.
          ASSIGN COMPONENT wa OF STRUCTURE <l_line> TO <l_field>.
          INSERT <l_line> INTO TABLE <l_table>.
          CLEAR : <l_w_record>.
      ENDDO.
      CLOSE DATASET l_w_file .
      IF sy-subrc NE 0 .
        p_subrc = 1 .
        EXIT .
      ENDIF .
    Refere above code as per your requirement.

  • We are watching a movie and we have been kick out. It is not coming up on recently purchase. Now we have purchased it again on the iPad but that download is going to take 30 minus

    Does Apple respond to any of these questions

    This is a user forum, you are not addressing Apple.
    Was this a rental? If so it won't show up under purchase history. Rentals are also not transferable, unless rented via computer.
    If rented on Apple TV you simply go to settings - iTunes - check for rental.

  • Pdf file is not coming correctly

    Hi,
    User came up with an issue as follows:
    "PDF invoices in CS language are incorrectly generated, Czech characters are missing. "
    Can any one suggest wht can be done.

    check doc is converted to perticular language or not..if it is converted then then i think that pertiacular word is not able to convert to the language.
    rewards if useful.....
    regards
    sachhi

  • Re-arrange the flat file out put in APD

    Hi Guys,
    I am loading data in APD,soruce is Query and target is Flat file.i want to re-arrange the out put file.
    Let me know what are the possible ways to re-arrange the columns in the out put flat file.
    Regards,
    Jayapal

    There are three ways to do this:
    1. Use Hide or Rename Columns (Projections) under Transformations in between the query and the flat file (recommended method)  
    Under the field selection tab..transfer the fields to the right pane in the order you wish to view thwm in.
    2.Drag and drop a routine
    Go to source fields tab
    Move the entries in the right to the bottom left 'Source Fields' pane.
    Then go to the Target field tab.
    Right Click on the row and click unfreeze columns
    Now you can drag & Drap and re-arrange the fields.
    Insert the routine in between query and Flat file
    3.  Change the order of the fields in the Query Definition( Not Recommended)
    Cheers!

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

Maybe you are looking for

  • Save File dialog from dll is not appearing to the front of TestStand window

    Hi all, I am calling a C#.net dll from a step in TestStand sequence. A function is called which pops up a Save File dialog. This Save File dialog is appearing only behind other windows. There is an overload for the showDialog function that takes the

  • Error while Check in AutoCAD drawing from CAD-view

    Hi, I am using Cideon AutoCAD integrator 4.5 & AutoCAD Vanila 2008. 1. Creating New document Drawing in AutoCAD. 2. Save the drawing, system creating DIR, am selecting document type DRW. 3. System generating DIR no. 4. From AutoCAD am going in CAD -

  • DB_FILE_NAME_CONVERT in DATA GUARD

    Hi All, when can i use the below scenario in Data gurad (standby parameter file) ? DB_FILE_NAME_CONVERT='<DB_UNIQUE_NAME of PRIMARY>','<DB_UNIQUE_NAME of STANDBY>' LOG_FILE_NAME_CONVERT='<DB_UNIQUE_NAME of PRIMARY>','<DB_UNIQUE_NAME of STANDBY>' Than

  • ADS: com.adobe.ProcessingException: Error exporting Data into PDF

    Hi Experts, when trying to upload a PDF file to my WD4A application and extract the data I am getting this ADS Error: ADS: com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dic

  • Support packages in status canceled

    Hi, In our test system (SAP Netweaver 7.00 with Oracle 10.2) we got an error upgrading the support packages SAP_APPL 15 to 19. First, we deleted de contents of table PAT01. Now these are in status canceled in transaction SPAM. When we try to define t