Give me output of my program

class A
static Class B
how to create an instance for inner class B

assuming that you have access to B, just do
A.B b = new A.B();

Similar Messages

  • VA05 & VA05N - Taking Long time to Give the Output.

    Dear All,
    VA05 & VA05N - Taking Long time to Give the Output for
                              Single date & Single Sales Office
    if I create Z-Program (VBAK) also taking Long time for Single date & Single Sales Office.
    Please Give some idea to Optimization the VA05 & VA05N.
    Please Give your Valuable solution.
    Thanks,
    Durai.V

    Dear Lakshmipathi,
       In my Previous client (ECC 5.0) VA05N Executing very fast for one month date for all sales office.
    They running SAP around 3 years, there data also huge but its giving fast output.
      But my current client ECC 5.0, here running SAP around 2.5 years, But here taking Long time to give
    the output for singe date & one Sales Office.
      But Billing details report VF05N Executing very fast.
    Thanks,
    Durai.V

  • Passing the output to another program

    Passing the output to another program
    The problem I have that I don�t know how to pass the results of my java Program ( as parameter) to another application!
    I have a class �A.class� should send result �VAR_result� to application �B.application�
    Now I am using it like this: System.out (VAR_result) >> B.application
    But it could not be the right way at least because I cant make any other System.out as debug now.
    My Question please: to pass a parameter to a java is clear: A.class ( var ..)
    But how to take a parameter from a class, to use it in another Applicatin ( script )?
    Thanks a lot

    slackware2007 wrote:
    Passing the output to another program
    The problem I have that I don’t know how to pass the results of my java Program ( as parameter) to another application!
    I have a class “A.class” should send result “VAR_result” to application “B.application”
    Now I am using it like this: System.out (VAR_result) >> B.application
    But it could not be the right way at least because I cant make any other System.out as debug now.Then move your debug to System.err and use System.out as it should be used and pipe stdout to the stdin of the other application..

  • Output from Concurrent program in XML format for bytes greater than 32K

    Hi,
    I created a custom concurrent program where i send the generated XML data as an output to the program.
    I have an XML template attached to the program, so the template picks up the xml output and converts it to a PDF.
    so ultimately when i run the concurrent program, the output is a PDF file. This way it is easy for the user to just run a program and get a PDF file.
    Now the generated XML data is from an oracle seeded program and it is a BLOB.
    I am converting it to a CLOB so that i can write it to the output. if the CLOB doesnt exceed 32K bytes, i have no issues writing it to the output.
    But since we cannot write more than 32K bytes, i an using a substr to write chunks of the CLOB for every 30,000 bytes.
    since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?
    Either i write the whole 33000+ bytes in one line to the fnd output or try to remove the line breaks from the xml data.
    Thanks in advance for anyone reading this!

    >
    > since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?So I suppose you're using FND_FILE.PUT_LINE ?
    Why not use FND_FILE.PUT instead, so that no new line is generated after each chunk ?
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm#I_fndfile

  • How to capture the output of another program into a File/String

    I needed to capture the output of a dos program in an String/file I tried doing Runtime.getRuntime.exec("ipconfig /all >tmp.txt");
    but still I am unable to capture the output frm the program which I would like to capture in a file or String.Can anyone help

    When you use the Runtime.exec() method, it returns a Process object, that process object has access to the streams; stdout, stdin, and stderr of the application you just executed. what you'll want to monitor is the stdout or stderr streams using the
    p.getInputStream() or p.getErrorStream(), where p = the process object returned via the Runtime.exe() method.

  • I am unable to successfully install itunes 10.5. I can download it, but when I go to install the program it says that a program could not be run and it won't give the name of the program. I have the vista 64-bit system.

    I cannot install iTunes 10.5. I can download it, but when I go to install it says that a program cannot be run and it won't give the name of the program. I have the Windows Vista 64-bit system.

    That would be my first guess.  You might be trying to install the 32 bit version of the program.
    Update the thread with more info on your apple software etc if its a 64 bit install you're trying to perform.

  • PO Output For Communication Program is not Submitting in Background PO appr

    Hi Gurus,
    We are working on "PO Output For Communication" Program.We created a Standard Purchase Order and Approved it through the "E-Mail" option checked."PO Output For Communication" program was not submitted in the background.
    From the workflow we found that it was stucked at PO new Communication Process.
    As the value of column "po_output_format" is NULL in the "PO_SYSTEM_PARAMETERS" table it is not submitting in background.
    Already in the front end
    Purchasing responsibility->setup->organizations->purchasing options
    under Documnet control we assigned Output format column as "PDF".
    Will you please provide us your valuable solution as soon as possible.
    Thanks in Advance,
    RS

    This Program "PO Output for Communication" does effects in other parts.
    I mean that this program actually sends an email (or fax or print) along with the PO in PDF attachment or in the TEXT format.
    This program does other part than the above mentioned point also.If yes then provide me the information in which other parts this program effects.I believe it is only the part you mentioned above.
    PO Output for Communication
    http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443960.htm#srs.poxpopdf
    PO Output for Communication Search
    http://www.oracle.com/pls/ebs121/search?word=PO+Output+for+Communication&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • Customize Output of the PO Output for Communication program R12

    I have a requirement to change the output of the seeded PO Output for Communication program, so that it uses a custom RTF template to produce the documents.
    To do this, I have registered this template in XML Publisher under the Purchasing application. I then navigated to Purchasing Super User > Setup > Purchasing > Document Types, and from the window opened, selected to update the Purchase Order Standard Type. From here, I updated the document name and the document type layout as my new custom template.
    However, once I run the program, it completes with an error. The log file is pages and pages (that I won’t post here unless requested as necessary) but at the bottom is section produced that I think may be useful:
    Updated PRINT_COUNT 1
    doc Identifier: PO
    Document ID:14004
    Revision Num0
    Document SubTypeSTANDARD
    Document TypePO
    GenerateDocument::2nd Constructor()
    setFileName- m_documentType:PO, m_documentId:14004
    setFileName- m_fileName:PO_84_700000049_0_US.pdf
    GenerateDocument::Finished 3rd Constructor()
    Setting PO template Code
    Setting OKC template Code
    Before calling genDocTue Jan 22 17:02:01 GMT 2013
    Changed GenerateDocument::Inside the gendoc method
    Calling the getDocument method
    GenerateDocument::getDocument()- Set the Org Context
    GenerateDocument::getDocument()
    GenerateDocument::getDocument() - Searching in the repository
    After Calling the getDocument method
    Calling the getPOXsl method
    Before setting the bind variables for the default layout in getPOXSL()
    Document Template Code :NCC_STD_PO_RTF
    Language Code :US
    Document XSL Contents Tue Jan 22 17:02:01 GMT 2013
    Retrieved the Document XSL Tue Jan 22 17:02:01 GMT 2013
    Calling the getPOXml method
    GenerateDocument::getPOXml() : l_exists 1
    GenerateDocument::getPOXml() : m_whichTables MAIN
    GenerateDocument::getPOXml()- Calling the POXMLGEN method Tue Jan 22 17:02:01 GMT 2013
    Generated the Document XML Tue Jan 22 17:02:01 GMT 2013
    Document XML Contents Tue Jan 22 17:02:01 GMT 2013
    Calling the print util method:Tue Jan 22 17:02:01 GMT 2013
    Passing Params to getBlobPDF :Tue Jan 22 17:02:01 GMT 2013
    m_AppNames :PO
    m_TemplateCodes :NCC_STD_PO_RTF
    m_Languages :en
    m_Territories :US
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    rolling back the complete program
    As you can see it's definitely picking up my custom template (NCC_STD_PO_RTF), and it appears to error when tryign to generate it as PDF.
    I have attempted to attach the seeded xsl template to my template definition - to test if the error is due to the program expecting a certain template format - but, as the seeded template is in that particular format, and my definition is expecting rdf, it will not let me.
    I am wondering if anyone has a solution for this requirement. We would like to keep the business process the same as it was in 11i, by using the seeded program, but with a custom template. But I understand that in R12, creating a custom program replicated from the seeded may be the only viable solution.
    This is on Oracle Applications version 12.1.3.
    Any suggestions would be much appreciated, and if you think that any more information is required, let me know.
    Thanks.

    Publisher version is 10.1.3.4.2.
    It seemed to be a data issue. When a certain test PO with a insufficient amount of data in the XML output was put through the template, and hit these clauses, it failed, and the concurrent program errored.

  • Selection-screen in the output of the program

    Hi,
    I want to print the selection criteria ( or Values )  in the output of the program  on the RIGHT HAND SIDE OF THE HEADER. I am doing code through ALV and I want to include the respective code in 'TOP_OF_PAGE'
    If there are no values in the selection screen fields, then I DO NOT Print them. Start the values with the texts, such as 'Material', 'Plant', 'MRP Controller' etc. For single values, print the values separated by commas, For a range of values, print the values separated by '-', For the exclusion of single values, print 'EX' before the values.
    Thanks in Advance.

    To get the parameter list, use [RS_REFRESH_FROM_SELECTOPTIONS|https://forums.sdn.sap.com/search.jspa?objID=c42&q=RS_REFRESH_FROM_SELECTOPTIONS], the rest is basic Abap.
    Regards,
    Raymond

  • Adding logo to the standard PO Output for communication program

    Hello All.
    I need to add company logo to the Standard PO Output for Communication program. Can someone please tell me a way to do this. I went into applications and see its a Java Concurrent program. I even went into these forums and I saw there is a way to uncomment out the line in the XSL file and add the logo there , but how do I upload back to the template. The Upload Button is disabled for this template.
    Can we use the Standard Purchase Order Stylesheet for this?
    If so how to make changes and how can I upload it back?
    Should I do an RTF temnplate?
    Can someone pl help me here. We are on R12 and I am not much familiar with exposting RTF to XSF FO.
    Thanks
    Vidhya

    We took the standard PO document XSL-FO template and enhanced for our own needs. The first of those is to utilize the company's logo. Search for 'external-graphic' in the xsl-fo template. The first hit will be the section for the logo. The comments in the template provide some guidance on what to change. For our company, I changed the URL to point to a .gif file on the Apps server ($OA_MEDIA/company_logo.gif) .
    The one downside that I have found so far, is that I am have to hard-code the entire document path. This path will change between instances. So I once our production instance is defined, I will set it to that path.
    - Scott

  • [OLAP DML] display on screen the output while the program is running

    Hi,
    I'm running a script in AWM that is quite long, and I've placed some few 'show' so that I know what the program is doing, but it won't show on the screen the outputs until the program ends. I guess it writes all the outputs in a kind of buffer and release the content of the buffer at the end of the program.
    How could I have it to release this buffer continuously?
    Thanks

    i think the relational analogy would be an anonymous pl/sql block executing a list of commands while outputting a list of useful dbms_output.put_line log statements:
    Just as with SHOW and olap worksheet cmd line, you cant see the running dbms_output log while the pl/sql program is running... you need to wait for it to complete before you can see the log.
    You can write to a file and close/exit the file each time or you can write to log table and commit each time but i guess, some such heavy lifting is needed if you want to track the long running process mid-way.
    NOTE: For regular operations like dbms_cube.build load/forecast/allocate process/steps, you can always run queries against CUBE_BUILD_LOG etc mid-way. But if it's pure olap dml actions being performed then no neat pre-built handle to check things mid-way exists.

  • How to choose between different audio output in different programs

    I want to choose between the audio outputs in different programs.
    For example; I want to hear spotify/iTunes with my plugged-in speakers and skype with the build-in/intern speakers.
    It is possiple to control this on Windows but can I do it on Mac?
    Does anyone know an app for this problem?
    Thanks for help!

    I'd assume you'd want to set the sequence to "slur" notes and then just calculate the notes between a top & bottom value based on a float and generate NOTE_ON messages appropriately.
    The pitch bend is designed to emulate / support the bend wheel found on sound keyboards...and it just modifies the pitch associated with a given note. A pitch bend of +2 would turn an A into B, etc...
    So, you'd want to do...
    SET_SLUR (however you do that, I'm not a MIDI expert)
    pitch = bottom_pitch + ((top_pitch-bottom_pitch) * sliderValue);
    NOTE_ON(pitch)

  • How can we Customize  output of "PO Output for Communication" Program?

    How can We Customize Format of the output of "PO Output for Communication" Program.
    Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
    "PO Output for Communication Program" is used to generate DRAFT PO details in pdf Format to go with Workflow Notification for PO Approval.
    Regards,
    Muhammad Usman

    Infact we need to Change Format/data of the pdf file wich comes with Workflow Notification PO "Response Required for PO Approval".
    I the pdf file attached is generated by "PO Output for Communication" Concurrent Program.
    Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
    This prgram uses the following files to generate pdf output of draft PO output.
    DATA FILE:
    PO_STANDARD_PO.xml
    PO_STANDARD_PO.xsd
    TEMPLATE:
    PO_STANDARD_XSLFO.xsl
    I need to know any visual layout editor available to change contents/layout/data of this pdf.
    Regards,
    Usman
    Edited by: user10518960 on 01-Feb-2013 07:18

  • Saving the output of java programs in files

    How I do save the output of a program to a MS - DOS file ?

    import java.io.*;
    use FileOutputStream /BufferedOutputStream class.....
    read tutorials or books about JAVA on these technology
    U can find many examples in this site too

  • How to read output of native program

    Hi,
    I wrote a Java program that runs a native program. In my case, the native program is written in C++ and runs under Linux.
    My purpose is, to start the native program and to capture the output of it and send also some input.
    I found the code to do this on this website. I used the Process and Runtime classes to start my native program, The I used the following code the intercept the output of the program:
    BufferedReader pInput = new BufferedReader(new InputStreamRead(process.getInputStream));
    This code works perfectly fine for a native program that does his job and then exit. I guess the the output is only printed when the native job has ended.
    That''s my problem, my program must continue to run, it never exits, so I never get the output of it except when I manualy close the program.
    Isn't there an other way to get the output real time of my program, without it to wait for the end of the program?
    Thanks

    my case, the native program is written in C++ and
    This code works perfectly fine for a native program
    that does his job and then exit. I guess the the
    output is only printed when the native job has
    ended.Although I 'don't do C' :), my guess is that your native app should close the output device it's using (and that the Java app is using for it's inputstream) and re-open it again.
    It shouldn't be needed to close your native application for this, only close the output device.
    I think :)
    Anne.

Maybe you are looking for

  • Discoverer viewer -- export to pdf doesn't retain page settings.

    Hi, The report output in discoverer viewer is much different from that of plus. I am concerned abt the report headers. In discoverer plus, the headers are left, center and right aligned. But in viewer, every thing is aligned center. How can I get the

  • Question about the Before/After/Test metadata tags

    i think that i have read all of the appropriate sections on the wiki but i am a little unclear on how/when i need to add extra info to the Before/After/Test metadata tags. thus far, i have not done any unit tests that require a component to be added

  • ALV Grid Handle Edit Event (Lost Focus)

    Hi all, I have some problems with the ALV Grid. Target: I have an ALV Grid with editable Column. If the user insert, update or delete the content of the column and leave the column (column lost focus) i'd like to do somthing - this means I need a eve

  • Does Safari not support scrolling in frames within a webpage?

    I haven't been able to scroll frames in webpages on my iphone. Am I doing something wrong is does Safari just not support that? If they don't support that, that *****.

  • Starting or Waking MacPro momentarily takes down Network

    Ok, so our office just purchased 3 new MacPros. I'm a PC guy so I'm not totally familiar with networking Macs. I set up all of them and gave them different computer names and hooked them up to our switch. I haven't added any new computers to the netw