How to get an eText output after registering its concurrent program

I have registered a concurrent program based on eText template in Oracle Apps. 11.5.10. After that, I had registered its template in XML Publisher keeping its type as eText-Outbound. Now when I run the request, my concurrent program runs fine without publishing any output i.e. the template doesnt get attached to the program. So when I manually attach the template to the report explicitly and run it now, it faces a error which is in Java script. Please suggest the needful.

Hi Gurus,
Can anyone please tell Concurrent program and data definition registration process for Output type as E text.
Best Regards,
Mahesh

Similar Messages

  • How to get the console output generated by a executable program?

    when I am trying to use method getOutputSteam of Process to gain the outputStream,I got nothing!
    I have also tried to use stream redirect,also no result!
    please help me! Thank you in advance!
    my main code are below:
    Process ps=Runtime.getRuntime().exec("xxx.exe");/*xxx.exe is a executable program which will generate a console with the message I want to gain.*/
    int exitVal= ps.waitFor();
    if(exitVal==0){
    BufferredReader br = new BufferedReader(new InputStreamReader(ps.getInputStream()));               String st;
    while((st = br.readLine()) !=null){
    System.out.println("write:"+st);
    }//my result show that I got nothing from the progam.
                                                           }

    I've seen this kind of problem with an offending xxx.exe. Generally it means that the program isn't flushing its output immediately, so your java program never sees it.

  • How to get Source code of a Schedular Java concurrent program in Payments

    Hi Experts,
    I am very new to Java Concurrent program.
    I need java source code of a schedule java concurrent program.Following are the details of Executable.
    Executable :Format Payment Instructions
    Short Name :IBY_FD_PAYMENT_FORMAT
    Application : Payments
    Execution Method :Java Concurrent Program
    Execution File Name:FDExtractAndFormatting
    Execution File Path : oracle.apps.iby.scheduler
    I searched in execution file path,but i am unable to find required java source.
    Please someone help regarding this issue..
    It's Urgent Issue.
    Regards
    Amar

    Hi Srini,
    Thanks for reply...
    In the attached template of concurrent program "Format Payment Instructions", i need to add voucher number in the template.
    How can i do this?how to decompile the executable?
    It is a check printing.
    Please give me suggestions..
    Regards
    Amar

  • Error while registering the Concurrent Program

    Hi,
    I am getting the following error while registering the concurrent program.
    The executable is registered as shell script and this executable sends a mail with attachment. can any one of you tell me the cause of the error?
    ORA-20160: ORACLE error -4091 in SUBMIT: others
    Cause: SUBMIT: others failed due to ORA-04091: table APPLSYS.FND_CONCURRENT_PROGRAMS is mutating, trigger/function may not see it.
    The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
    ORA-06512: at "APPS.ALR_FND_CONCURRENT_PROGRAM_IAR", line 1
    ORA-04088: error during execution of trigger 'APPS.ALR_FND_CONCURRENT_PROGRAM_IAR'
    ORA-06512: at "APPS.FND_CONCURRENT_PROGRAMS_PKG", line 63
    FRM-40735: ON-INSERT trigger raised unhandled exception ORA-20160.
    Thanks in advance

    Check Note: 391795.1 - Frm-40735: On-Insert Trigger Raised Unhandled Exception Ora-04062 in APPS.FND_CONCURRENT_PROGRAMS_PKG
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=391795.1

  • How to get the return message after running BD20 tranaction ?

    Hi Gurus,
    My requirement is to Post vendor invoice through ALE/IDOC ( Inbound IDOC ).
    - For that I had generated the IDOC using  Function module 'IDOC_INBOUND_WRITE_TO_DB '
    - Then I had processed that generated IDOC by calling the standard program rbdapp01(BD20-Tranaction ) using the below statment
    SUBMIT rbdapp01 WITH SELECTION-TABLE lt_seltab .
    Could any one suggest me how to get the report output of standard program (rbdapp01) to an internal table so that I dispaly as an seperated report like Posted Document number with messages or Error message
    Suggest me any Function module or any other standard program to process the IDOC so that I can fulfill my requirement.
    Regards
    Paul

    Use can read the IDOC status after processing...
    Eg.
      SELECT * FROM edidc INTO TABLE t_idoc_control_tmp
          FOR ALL ENTRIES IN t_update WHERE docnum = t_update-docnum.
    and then add your own logic IF SY_SUBRC EQ 0.
    I hope this will help you.
    Regards,
    Amey

  • How to get the Query output to Excel

    Hi ,
    Can you tell me how to get the Query output to excel with out using any third party tool?
    Can you tell me how to write the code in Webservice and call it..
    Please explain it Elaboartly..
    Thanks in Advance!!!
    Mini

    whats your source system?
    you can use Live office, or query as a webservice if you are getting data from universe
    if you're getting data from SAP BI query and you have a java stack on your netweaver then you can get the data directly using sap bi connector in xcelsius.
    good luck

  • How to get automatic message output

    Hi,
    How to get automatic message output while creating po cause i have done all setting in the config but still it does not work what else i have to do.
    And 1 more thing how we can maintain condition record for Printoutput & External send for one output type.
    Regards,
    Anant

    Hi,
    Please follow the below steops for the Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type, Purch. Organization, Vendor
    2. Access Sequences
    SPRO ->     -> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    *4. Message Determination Schemas*
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data-Messages- MN04
    Here you can maintain the condition record.
    All above steps u can do from transacton NACE also
    now when u create po in the messages u will get the out put method as u have maintained in the above steps.
    Regards,
    Manish

  • Any idea how to get Yahoo to load after installing Mountain Lion??? Some sites load, but Yahoo wont at all...

    Any idea how to get Yahoo to load after installing Mountain Lion??

    http://www.koingosw.com/support/wiki/index.php/General_FAQ#Uninstalling_and_Pref erence_File_Locations

  • How to get the current node element by its value?

    e.g,:
    wdContext.current<b>Deal</b>Element().setAttributeValue("<i>deal_id</i>","<i>aaaaaaa</i>");
    above code can get the result i wanna.
    but now i wanna in terms of its node'name to  set attribute vaue of itself. in other words,i have no idea about how to get the current node element by its name"<b>Deal</b>".

    Hi Wing,
    The answer is there in your question itself.
    wdContext.currentDealElement()
    will give you the current node element by its name"Deal" or you could use
    wdContext.nodeDeal().getCurrentElement()
    or you could use
    wdContext.nodeDeal().getElementAt(wdContext.nodeDeal().getLeadSelection())
    Regards,
    Sudeep

  • How to get string from jtextpane along with its attributes

    sir,
    How to get string from jtextpane along with its attributes
    i,e font,size,style,color etc.
    please help me out.
    my mail id is [email protected]

    JTextPane extends JTextComponent
    JTextComponent.getDocument()
    a Document is a set of Element, see Document.getRootElements(). Each Element has attributes, stored within an AttributSet object see Element.getAttributes()
    a Document can also be rendered as a String, see Document.getText( offest, length ), use it with 0 and Document.getLength() as parameters.

  • How to get  documentation of a report with its respective headers?

    I know fm, SRTU1_GET_REPORT_DOCUMENTATION, has to be used to get the documentation of a report. But when i print out the result it only shows the documentation data and not the data's respective headers. Without the headers the data looses its meaning.
    Any idea on how to get both the report documentation and its respective headers.
    Any help will be appreciated.
    Thanks
    Nahman

    The following code downloads program docu as pdf file:
    data: header like thead,
          options like itcpo.
    data: lines like tline occurs 0 with header line,
           otfdata like  itcoo occurs 0 with header line,
           pdflines like tline occurs 0 with header line,
           docstab like  docs occurs 0 with header line,
           binfilesize type i,
           filenm type string.
    parameters: program like trdir-name obligatory,
                filenam like rlgrap-filename default 'c:temppdftest.pdf'.
    start-of-selection.
      call function 'DOC_OBJECT_GET'
        exporting
          class                  = 'RE'
          name                   = program
         language               = sy-langu
          short_text             = 'X'
          appendix               = 'X'
       importing
         header                 = header
        tables
    *   RTF_LINES              =
          itf_lines              = lines
       exceptions
         object_not_found       = 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.
      options-tdgetotf = 'X'.
      options-tdprogram = 'SAPLSHL2'.
      options-TDDEST = 'LOCL'.
      call function 'PRINT_TEXT'
        exporting
          application                    = 'TD'
    *   ARCHIVE_INDEX                  = ' '
    *   ARCHIVE_PARAMS                 = ' '
          device                         = 'PRINTER'
          dialog                         = ' '
          header                         = header
          options                        = options
    * IMPORTING
    *   NEW_ARCHIVE_PARAMS             =
    *   RESULT                         =
        tables
          lines                          = lines
          otfdata                        = otfdata
       exceptions
         canceled                       = 1
         device                         = 2
         form                           = 3
         options                        = 4
         unclosed                       = 5
         unknown                        = 6
         format                         = 7
         textformat                     = 8
         communication                  = 9
         bad_pageformat_for_print       = 10
         others                         = 11
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      refresh lines.
      call function 'CONVERT_OTF_2_PDF'
    * EXPORTING
    *   USE_OTF_MC_CMD               = 'X'
    *   ARCHIVE_INDEX                =
       importing
         bin_filesize                 = binfilesize
        tables
          otf                          = otfdata
          doctab_archive               = docstab
          lines                        = pdflines
       exceptions
         err_conv_not_possible        = 1
         err_otf_mc_noendmarker       = 2
         others                       = 3
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      filenm = filenam.
      call function 'GUI_DOWNLOAD'
        exporting
    *   BIN_FILESIZE                    =
          filename                        = filenm
          filetype                        = 'BIN'
        tables
          data_tab                        = pdflines
    *   FIELDNAMES                      =
       exceptions
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         others                          = 22
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Regards
    Sridhar

  • Format changing after running the concurrent program for indentation

    Hi
    I have got an issue regarding indentation in rtf template. Actually in the template I have indentation or numbering in one format like david but after running the concurrent program in the temlate output I am getting the numbering in Latin letters. like
    I
    II
    III
    etc.
    can anyone please send me the resolution for this issue.
    Thanks and regards
    kk

    What is the application release?
    If you are on 11i, please make sure you have (Patch 8198363: INDENTATION PROBLEM WHILE GENERATING RTF OUTPUT USING RTF TEMPLATE) applied and check then.
    Thanks,
    Hussein

  • How to capture the user name who is running concurrent program

    Hi Everyone
    In oracle apps when i want to store the user name who is running a concurrent program in specific responsibility.
    For that I created a table as USER_INFO which has a column called USERNAME.
    T o capture the user name i created a before report trigger and wrote the following code which will store the username into USER_INFO
    function insert_trg return boolean is
    begin
      insert into USER_INFO(USERNAME) values
    (select fnd_profile.value('USERNAME') from dual);
    COMMIT;
      return (TRUE);
    end;In the above code i used fnd_profile.value('USERNAME') to store the username but after running the concurrent program when i am query the table it returns no rows .
    It means the fnd_profile.value('USERNAME') is not storing the value.
    Please tell me what to do?
    Regards
    Sabyasachi

    In order to fetch any FND_PROFILE or FND_GLOBAL values you need to initialize apps
    fnd_global.apps_initialize(user, resp_id,resp_application_id)
    begin
    fnd_global.apps_initialize(0,20420,1);
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('ORG_ID'));
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('USER_ID'));
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('USERNAME'));
    end; Check the following MOS note
    How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE) [ID 209185.1]
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • ALV_GRID How to get number of lines after filted applyed?

    Hi, all!
    The task is to display title in alv_grid like
    "N records selected (X records on the screen)".
    It means, N records in dataset and X records displayed after  filter applyed by user.
    But i can't get number of lines after filter applyed from the alv_grid.
    Can anybody help me?
    Thanks & regards,
    Konstantin

    Hi,
    If it goes through PBO/PAI cycle after user sets the filter then in your PBO call method get_filtered_entries of CL_GUI_ALV_GRID and then do a describe statement on the table.
    Number of entries in your grid table - number of entries in this filtered entries table will give you the displayed entries after the filter is set.
    If it does not go through PBO/PAI cycle then register for after_user_command and I think the fcode for filter is '&FILTER' and code for the above logic in your handler method..
    Hope this helps..
    Sri

  • How to get multiple html output file  from an xml document via xslt?

    Hi,
    the purpose is to generate multiple html output file from one xml file
    depending on special tag.
    exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
    Thanks for help

    Not a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
    http://saxon.sourceforge.net/

Maybe you are looking for

  • Error message (Because a USB device was drawing too much power)

    Hi Everyone, Bought recently a new macbook pro 13 inch with Retina display with 120 GB flash drive. Connected a non-apple CD drive to my macbook and after that started receiving this message: "Because a USB device was drawing too much power from your

  • LSMW - LF as record separator

    Hi, I want to use LSMW to upload longtexts to SAP. Source file is an excel spreadsheet with two columns containing the material no and the longtext. If the longtext contains more lines each line is separated by an LF (word wrap within cell in excel)!

  • ITunes Account Disappeared Within Last Several Hours

    Itunes account with AOL handle & AOL password configuration... worked fine for years until attempted to access the iTunes store this evening from home Mac. (Have another authorized machine at work) ID not recognized. Account 'disappeared' from iTunes

  • Printing small legal document in front of every pdf output

    Hi , I have a small documeent ( either doc or pdf) that needs to be printed in front of every pdf output of the report. This works fine in HTML output because we can add the name of the file to be pre-printed in the Report properties . But there is n

  • OS system dependent operation : fork failed

    Hi, My application server is running with Java and Oracle 10g (10.2.0.4). From last 2-3 days I noticed that in application server log file there are frequent error like ORA-12518: TNS:listener could not hand off client connection but when I checked m