I want output in below format

drop table din_inst_detail;
create table din_inst_detail
(instNo number,
insdt date,
amt number);
insert into din_inst_detail values (1, '01-apr-2010', 10000);
insert into din_inst_detail values (2, '01-may-2010', 10000);
insert into din_inst_detail values (3, '01-jun-2010', 10000);
insert into din_inst_detail values (4, '13-jul-2010', 10000);
insert into din_inst_detail values (5, '05-aug-2010', 10000);
insert into din_inst_detail values (6, '01-sep-2010', 4000);
insert into din_inst_detail values (7, '01-oct-2010', 4000);
insert into din_inst_detail values (8, '01-nov-2010', 5000);
insert into din_inst_detail values (9, '01-dec-2010', 5000);
insert into din_inst_detail values (10, '01-jan-2011', 5000);
insert into din_inst_detail values (11, '01-feb-2011', 5000);
insert into din_inst_detail values (12, '01-mar-2011', 5000);
insert into din_inst_detail values (13, '01-apr-2011', 10000);
insert into din_inst_detail values (14, '01-apr-2011', 10000);
I want output like this.
S1 S2 Amt
1 3 10000
4 4 10000
5 5 10000
6 7 4000
8 12 5000
13 14 10000
How to achieve this in SQL?
Edited by: 801694 on 21-Apr-2011 03:38

A simple test:
1. XML data
<element>row 1 - row 2</element>
2. RTF-Template
<?xdofx:replace(element,' - ',chr(13))?>
No need for any table structure or form fields, just paste this line of code as plain text into an empty rtf document.
Load the test data into your template builder for word and create Preview > Excel.
On BI Publisher Template Builder for Word 10.1.3.3.3 this returns the multiline output. If this doesn't work on your side, then it's most likely cause of your older version.

Similar Messages

  • Date format should be YYYYMMDDhhmmss (Output sy-zonlo) format

    I am giving date 06/26/2009 format, but i want output in "YYYYMMDDhhmmss" format. is there any FM for this

    Convert date to timestamp : [CONVERT DATE |http://help.sap.com/abapdocu/en/ABAPCONVERT_DATE_TIME-STAMP.htm]
    There are FM like FRE_CONVERT_DATE_TO_TIMESTMP that use this statement, but better use the statement.
    Regards,
    Raymond

  • Need output like below mentioned format

    Hi,
    By using below query , iam getting output in the below formate as metioned
    select
    m.year "Year",
    --decode(m.year,like '200%','a') "DG",
    --decode(instr(m.year,'200'),0,Null,'Shallow Water <1000 Feet') "DG",
    --decode(substr('Shallow Water <1000 Feet',1,1),'S','Shallow Water <1000 Feet') "DG1",
    'Shallow Water <1000 Feet' as "Depth Group",
    'Deep Water 1000-5000 Feet' as "Depth Group",
    'Ultra Deep Water > 5000 Feet' as "Depth Group",
    sum(decode(M.FLUID,'O',nvl(M.YEAR_TO_DATE,0)))  "Ytd Oil" ,
    from pden_monthly_prod m,pi_pden_well w,pden p
    ---           Make sure all necessary Table joins are done
    where P.ENTITY=M.ENTITY
    and p.entity = w.entity
    ----        define limitations by column values
    and m.year between 2000 and 2012
    and ((p.entity_type in ('LEASE','WELL') and p.province_state not in ('17','42') and p.pi_situation_cd <> 'F')
    or (p.entity_type = 'ALLOCATED'      and p.province_state in ('17','42')     and p.pi_situation_cd <> 'F')
    or (p.entity_type = 'WELL'              and p.province_state = '42'             and p.pi_situation_cd <> 'F')
    or(p.pi_situation_cd = 'F'))
    and m.fluid in ('O','CN','G','CG','OW','GW','LW','FW') 
    and  nvl(w.water_depth,'0') <1000
    --or w.water_depth between 1000 and 5000
    --or w.water_depth >5000
    --for Federal state only (FOS)
    and P.PI_SITUATION_CD IN ('F','S')
    and p.province_state in ('17','42','60','01')
    group by m.year
                ,'Shallow Water <1000 Feet'
              ,'Deep Water 1000-5000 Feet'
               ,'Ultra Deep Water > 5000 Feet'
    order by m.year
    i am getting output is
    Year    Depth Group       Depth Group      Depth Group Ytd Oil
    2000           a                          b                           c               200
    2001           a                          b                           c               150
    2002           a                          b                           c               110
    2003           a                          b                           c               100
    but i need output like the below format
    Year          Depth Group       Ytd Oil
    2000              a                      200
    2000              b                      200
    2000              c                       200
    2000Total                              600
    2001             a                      150
    2001             b                      150
    2001             c                       150
    2001Total                               450
    2002             a                      110
    2002             b                      110
    2002             c                      110
    2002Total                           330
    2003             a                      100
    2003             b                      100
    2003             c                       100
    2003Total                             300
    could you please help on this ?

    UNPIVOT is equal to:
    with t1 as (select 'a' f1, 1 f2, 2 f3, 3 f4 from dual union all
                select 'b', 4, 5, 6 from dual union all
                select 'c', 7, 8, 9 from dual union all
                select 'd', 10, 11, 12 from dual)
    select a.f1, b.f,
           case b.f
             when 'F2' then a.f2
             when 'F3' then a.f3
             when 'F4' then a.f4
           end res
    from t1 a, (select 'F2' f from dual union all
                select 'F3' f from dual union all
                select 'F4' f from dual) b
    order by 1, 2

  • Output file name format

    Hi All,
    How can i configure output file name to the desired format generated in target directory in communication channel configuration in conf scenario.
    ex: i want to generate the file in the below format..
    YYYYMMDD_<Receiver>.TXT
    Thanks and Regards
    Venkatesh

    Hi,
    This is the UDF u have to write in Mapping,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =
    DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    Using this u will get the File name into target side,In this UDF add the Time stamp.
    Check this link for more details.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    phani
    Reward points if Helpful

  • Capturing cursor output in HTML format

    Hi,
    I want to capture Cursor's output in html format.
    following is the current query which is giving me output as mentioned below it
    Query:-
    declare
    v_msgtext  varchar(4000);
    cursor c_query IS
    select emp_no,emp_name,salary
              from employees
              where dept_id = 100;
    begin
    for v_query in c_query LOOP
    v_msgtext = v_msgtext ||
                        'empno:'|| v_query.emp_no||','||
                        'emp_name:'||v_query.emp_name||'.'||
                        'emp_salary:'||'v_query.salary'||
                        char(13)||char(10);
    END LOOP;
    utl_mail.send(v_sender, v_recipient, NULL, NULL, v_subject, v_msgText, 'text/html; charset=windows-1250', NULL);
    end; 
    o/p:-
    empno: 123,emp_name:sagar,emp_salary:10,000
    empno: 124,emp_name:neeraj,emp_salary:20.000
    empno: 125,emp_name:ashish,emp_salary:18.000
    empno: 126,emp_name:ramesh,emp_salary:5.000
    empno: 127,emp_name:suresh,emp_salary:30.000
    I want to generate the output as HTML report in tabular format with the below columns
    (empno,emp_name,salary) and send this html file via email to user.
    Can anybody please suggest a solution ASAP.
    Thanks in advance.

    Hi ,
    Please follow the below link may it will be useful for you.It shows how to generate a HTML format output through the query.
    oracle - Within a PL/SQL procedure, wrap a query or refcursor in HTML table - Stack Overflow

  • Capture cursor output in HTML format in PL/SQL

    Hi,
    I want to capture Cursor's output in html format.
    following is the current query which is giving me output as mentioned below it
    Query:-
    declare
    v_msgtext  varchar(4000);
    cursor c_query IS
    select emp_no,emp_name,salary
              from employees
              where dept_id = 100;
    begin
    for v_query in c_query LOOP
    v_msgtext = v_msgtext ||
                        'empno:'|| v_query.emp_no||','||
                        'emp_name:'||v_query.emp_name||'.'||
                        'emp_salary:'||'v_query.salary'||
                        char(13)||char(10);
    END LOOP;
    utl_mail.send(v_sender, v_recipient, NULL, NULL, v_subject, v_msgText, 'text/html; charset=windows-1250', NULL);
    end;  
    o/p:-
    empno: 123,emp_name:sagar,emp_salary:10,000
    empno: 124,emp_name:neeraj,emp_salary:20.000
    empno: 125,emp_name:ashish,emp_salary:18.000
    empno: 126,emp_name:ramesh,emp_salary:5.000
    empno: 127,emp_name:suresh,emp_salary:30.000
    I want to generate the output as HTML report in tabular format with the below columns
    (empno,emp_name,salary) and send this html file via email to user.
    Can anybody please suggest a solution ASAP.
    Thanks in advance.

    Hi,
    You can do in this way ...
    CALL FUNCTION 'WWW_ITAB_TO_HTML'
         TABLES
              HTML   = F_HTML
              FIELDS = FLDS
              ITABLE = ITAB.
    IF SY-SUBRC NE 0.
      WRITE: / 'Error in generating the html format'.
      EXIT.
    ENDIF.
    CALL FUNCTION 'WS_DOWNLOAD'
         EXPORTING
              FILENAME         = 'c:test.html'
              MODE             = 'BIN'
         TABLES
              DATA_TAB         = F_HTML
         EXCEPTIONS
              FILE_OPEN_ERROR  = 1
              FILE_WRITE_ERROR = 2
              OTHERS           = 9.
    call these 2 Fucntion modules for every page. so each page it wil downlaod a HTML page
    Regards
    Sudheer

  • Display Report output in Matrix format

    Hi
      I want to display normal report output in somewhat this manner.
    I will have one change requrest number and many transport requests will be assigned to that change request number, and to the transport requests many objects will be assigned.
    I have to display the output in this format:
    Change Request 1  |   Tr No.1 |  Tr No.2 |  Tr No.1 | and so on....
    Obj1
    Obj2
    Obj3
    Change Request 1  |   Tr No.1 |  Tr No.2 |  Tr No.1 | and so on....
    Obj1
    Obj2
    Obj3
    Like this it should go on.
    I have done the coding part, how to display the data in the above format i am not getting any idea, please help me out if you have any ideas.
    Thanks & Regards
    Haritha.

    Hi Vijay,
      First of all thank you for the response.
    I am retrieving the data from different tables and putting all the data in one internal table called i_final. Below is the declaration of that internal table and how i have populated the data to that. I am using control break statements to display the data but the data is coming in the next line.
    Please see the final internal table:
    1. Declaration:
    Data:Begin of i_final occurs 0,
           ccsnr like ysts-ccsnr,
           trkorr like ysts-trkorr,
           obj_name like e071-obj_name,
           check_box(1),
           status LIKE YSCS-STATUS,
          End of i_final.
    2. Populating different internal tables data to this table:
      loop at i_ccno.
        i_final-ccsnr = i_ccno-ccsnr.
        i_final-trkorr = i_ccno-trkorr.
        read table i_status with key trkorr = i_ccno-trkorr.
        if sy-subrc = 0.
          i_final-status = i_status-status.
        endif.
        read table i_obj_name with key trkorr = i_ccno-trkorr.
        if sy-subrc = 0.
          i_final-obj_name = i_obj_name-obj_name.
        endif.
        append i_final.
        clear i_final.
      endloop.
    3. Using Control break statements to display the data.
      sort i_final by ccsnr.
      loop at i_final.
         at new ccsnr.
           write:/2 i_final-ccsnr.
         endat.
           write:20 i_final-trkorr.
           uline.
      endloop.
    But the output is coming like this:
    CHG0003785  HSDK933109
                          HSDK933111
                          HSDK933113
                          HSDK933143
                          HSDK933268
    But i want the output like this:
    CHG0003785 | HSDK933109  |  HSDK933111  |   HSDK933113
    Thanks & Regards
    Haritha.

  • How to open Report output in RTF format using concurrent request form.

    Hi
    I have created a report using BI publisher and RTF format. This report is working fine in PDF format. User can submit report using consurrent request form and can see report preview in PDF format.
    Now user wants to submit another request and wants to see report output in RTF format.
    User submitted a request, request successfully completed and generated a output RTF file in unix box but when user wants to see report output using concurrent request form (View Output) then window is showing raw data instead of RTF output.
    Can any body tell me about solutions?
    Thanks
    Ravi

    Hi Ravi
    I did little R&D on it and found following 2 solutions.I am sure that you also find something but for my shake i am putting it here.If you already find the solution then ignore it.
    I) 1st Solution
    1)Change the profiles 'Viewer: Application for Text' and put value as 'Browser'
    2) Change the profiles 'Viewer: Text' and put value as 'Browser'.Either change it system level or concerned user.
    3) Log out from Current session and close all internet explorer application.
    4) Log in again to check the result
    II) 2nd Solution
    1) Navigate to: Sys admin --> Install -> Viewer Options to open the Form "Viewer Options".
    Do the entry as shown below:
    File_Format     Mime Type               Description
    RTF          application/rtf Microsoft Word(.rtf)
    RTF          application/msword          Microsoft Word(.rtf)     
    2) Then ensure that the profile option Viewer: Application for Text is set to BLANK at the Site Level and User Level.
    3) Then ensure that the profile option Viewer: Text is set to 'browser' at the Site Level.
    -- It will pop-up the screen to choose application name from above two values.
    Hope this will work it for you. For me i replicated the scenario and both solutions were working for me.
    With Best Regards
    Darshan Bhavsar

  • Display ALV list output in PDF format

    Hi All,
    My requirement is :
    I am displaying output using Function module 'REUSE_ALV_LIST_DISPLAY'. then i will click one button which placed in application tool bar say 'Download to PDF' when i click this button it will display the output in PDF format. I tried with exsting threads but i unable to get suitable solution.Anybody can send me the sample code please.
    Thanks in advance.
    Maheedhar

    please go throuh the below procedure and sample Code, this might help you.
    Procedure
    When we activate the Smartform the system generates a Function Module. The function module name we can get from Smartfrom screen from menubar
    “Environment => Function Module_Name” . In a report we can get this Function module name by calling a Function Module standard SSF_FUNCTION_MODULE_NAME. This function module at runtime calls the FM generated by smartform, which in turn is then used to pass data from the report to Smartform. In the report given below the FM generated is “ /1BCDWB/SF00000152 ”. In this FM we can see CONTROL_PARAMETERS in import tab. This is of type SSFCTRLOP. We need to set the GETOTF of this to be ‘X’. Setting this field will activate the OTF field in smartform.
    In export tab of the FM generated by smartform we can see a parameter JOB_OUTPUT_INFO which is of type SSFCRESCL. The SSFCRESCL is a structure of having one of fields as OTFDATA. OTFDATA in turn is a table of type ITCOO. ITCOO has two fields TDPRINTCOM and TDPRINTPAR. TDPRINTCOM represents command line of OTF format data and TDPRINTPAR contains command parameters of OTF format data.
    In every Smartform output in OTF format, TDPRINTCOM begins and ends with ‘//’. ‘EP’ represents the end-of-page value for TDPRINTCOM field.
    In addition we need to set few fields at the place where we call this FM(generated by smartform) in our program. While calling this FM we should set control_parameters, output_options, user_settings and job_putput_info fields as shown in program.
    Once these settings are done we can call Function Module CONVERT_OTF to convert the OTF data of smartfrom output to PDF data format. Once these are done we can call method “cl_gui_fronted_services=>file_save_dialog” to specify the directory path where we want to save the output PDF file. After this we can call Function Module GUI_DOWNLOAD to download the PDF file on our local system.
    Here is a sample code of program to perform the function.
    SAMPLE CODE
    *& Report ZAMIT_SMART_FORM_PDF *
    REPORT ZAMIT_SMART_FORM_PDF .
    data: carr_id type sbook-carrid,
    cparam type ssfctrlop,
    outop type ssfcompop,
    fm_name type rs38l_fnam.
    DATA: tab_otf_data TYPE ssfcrescl,
    pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
    tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE,
    file_size TYPE i,
    bin_filesize TYPE i,
    FILE_NAME type string,
    File_path type string,
    FULL_PATH type string.
    parameter: p_custid type scustom-id default 1.
    select-options: s_carrid for carr_id default 'LH' to 'LH'.
    parameter: p_form type tdsfname default 'ZAMIT_SMART_FORM'.
    data: customer type scustom,
    bookings type ty_bookings,
    connections type ty_connections.
    start-of-selection.
    suppressing the dialog box for print preview****************************
    outop-tddest = 'LP01'.
    cparam-no_dialog = 'X'.
    cparam-preview = SPACE.
    cparam-getotf = 'X'.
    select single * from scustom into customer where id = p_custid.
    check sy-subrc = 0.
    select * from sbook into table bookings
    where customid = p_custid
    and carrid in s_carrid
    order by primary key.
    select * from spfli into table connections
    for all entries in bookings
    where carrid = bookings-carrid
    and connid = bookings-connid
    order by primary key.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting formname = p_form
    variant = ' '
    direct_call = ' '
    importing fm_name = fm_name
    exceptions no_form = 1
    no_function_module = 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.
    exit.
    endif.
    calling the generated function module
    call function fm_name
    exporting
    archive_index =
    archive_parameters =
    control_parameters = cparam
    mail_appl_obj =
    mail_recipient =
    mail_sender =
    output_options = outop
    user_settings = SPACE
    bookings = bookings
    customer = customer
    connections = connections
    importing
    document_output_info =
    job_output_info = tab_otf_data
    job_output_options =
    exceptions formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    others = 5.
    if sy-subrc 0.
    error handling
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    tab_otf_final] = tab_otf_data-otfdata[.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    IMPORTING
    bin_filesize = bin_filesize
    BIN_FILE =
    TABLES
    otf = tab_otf_final
    lines = pdf_tab
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    err_bad_otf = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = FILE_NAME
    path = FILE_PATH
    fullpath = FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ************downloading the converted PDF data to your local PC*******
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = bin_filesize
    filename = FULL_PATH
    filetype = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    IMPORTING
    filelength = file_size
    TABLES
    data_tab = pdf_tab
    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.
    ENDIF.
    Check this link it will help you.
    https://forums.sdn.sap.com/click.jspa?searchID=5950895&messageID=2375150
    Reward points if useful.

  • XML Publisher report default output in Excel format.

    Hi,
    We have defined one concurrent program whose output format is text, this concurrent program executable is PL/SQL and in this PL/SQL program we are generating XML data and displaying XML using below fnd_request.
    l_conc_id := FND_REQUEST.SUBMIT_REQUEST('GMP','GMPPDROP','', '',FALSE,
         p_sequence_num,chr(0),'','','','','','','','','','','',
    We have also defined template for this.
    Using below fnd_request we are choosing template and data is getting generated in PDF format. Now our requirement is to display the output by default in Excel format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','',scale_report,'','','','','',
    When i saw XML Report Publisher concurrent program, there is one parameter for Output Format and i tried passing 'Excel'/EXCEL/excel to this parameter but output is still coming in PDF format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','Excel',scale_report,'','','','','',
    I have also tried giving Default Output to EXCEL in template definition but this is also not working.
    Your valuable suggestions highly appreciated.
    Thanks
    Vijay

    Hi;
    What is EBS version? Please see below which could be helpful for your issue:
    Changing Output Format to RTF or Excel in XML Publisher Request Does Not Display Output Correctly [ID 404512.1]
    Cannot View BI Publisher (formerly XML Publisher) Report Output In Excel Format or XHTML [ID 359875.1
    How is Default Output Type Determined for Reports Submitted Using XML [ID 888972.1]
    Also see:
    XML PUBLISHER report in Excel out put problem
    XML PUBLISHER report in Excel out put problem
    Regard
    Helios

  • Xml report output in excel format without using options tab in EBS

    How to get xml publisher report output in excel format without using options tab in EBS?
    I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
    But i want to get excel output automatically.
    Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
    Thanks in advance
    Sandeep V

    Hey Sandeep,
    I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
    Thanks,
    Sunil

  • Output in Excel Format Issue

    Hi all,
    I am not able to view the output in EXCEL format after registered the RTF file in the XML Publisher Administrator to run as a concurrent program.
    I am wokring in XMLP 5.6.2 and Microsoft Office 2003.
    When i preview the output as EXCEL in the options before run the conc. program, i have the following error msg and also when i view the output,it shows the output in some htm tags format not in EXCEL Format.
    java.sql.SQLException: No corresponding LOB data found : SELECT FILE_DATA, DBMS_LOB.GETLENGTH(FILE_DATA), FILE_NAME, LAST_UPDATE_DATE FROM XDO_LOBS WHERE LOB_TYPE = :1 AND APPLICATION_SHORT_NAME = :2 AND LOB_CODE = :3 AND LANGUAGE = :4 AND TERRITORY = :5 at oracle.apps.xdo.oa.schema.server.XdoLobsInputStream.<init>(XdoLobsInputStream.java:108) at oracle.apps.xdo.oa.schema.server.LobHelper.getLob(LobHelper.java:877) at oracle.apps.xdo.oa.schema.server.LobHelper.getBlobDomain(LobHelper.java:912) at oracle.apps.xdo.oa.template.server.TemplatesAMImpl.processTemplate(TemplatesAMImpl.java:2053) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.previewTemplate(TemplateGeneralCO.java:741) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.processRequest(TemplateGeneralCO.java:158) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418) at oa_html._OA._jspService(_OA.java:88) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187) at oa_html._RF._jspService(_RF.java:102) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:534).
    please post your comments to solve this issue.
    Regards
    Prabu

    Prabhu
    adding to above post
    first fix -- No corresponding LOB data found
    then follow the steps in below post for excel output
    Excel output in EBS?

  • How to change the output as text format in Apps R12.1.3

    Hi All,
    Currently iam trying to modify the Java Concurrent Program (FDExtractAndFormatting) in Batch Payment Process. This Program is generated in text format in 11i APPS. Now we are upgrading to R12.1.3. In R12.1.3 output is coming as PDF format. Here my requirement is how to change the output as text format in R12.1.3 also.
    Please do the needful and suggest me.
    Regards,
    Jagadeesh

    1. It is seeded java concurrent program. Some attributes are missing from 11i to R12. In 11i it is a text format.So i have to investgate on how to retrive those attributes in R12. What is the concurrent program name?
    Have you tried to change the output and submit the request?
    2. Once all are attributes are coming in PDF format. Client wants to open same output in text format as it is 11i (In R12 it is generated in PDF format).If the above does not help, please log a SR.
    Thanks,
    Hussein

  • Smartforms output in HTML format

    Hi Experts,
    I want to save my smartforms in HTML format.Is there any Standard programe is available for it.
    Like as RSTXPDFT4 for converting output in PDF format.

    Hi,
    Check this link.In that,I am converting the output of smartform to PDF and then attaching it through mail.
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/smartforms/smartform in abap.pdf

  • Report output  in PDF format instead of TEXT

    Hello every1,
    I am using oracle application E-bS version 11.5.10.2 and i want ORACLE reports output in PDF format instead of standard 'text' default format(the place where v register concurrent programs). so can any one tell me what changes should i do to achieve my goal i had change format as pdf in concurrent program and run report but it shows error as follows:
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    Plz. share your knowledge regarding.
    Radhi
    Edited by: user713 on Jun 20, 2011 9:32 AM

    Hi,
    check this support note.
    Reference
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide (Doc ID 200474.1)
    Regards, roberto

Maybe you are looking for

  • Printing presets are not loaded correctly

    Dear community, i have the following problems using different printers (Canon MG5200, Epson Workforce WF3620, etc.): I saved about 10 own printing presets and when I check on them under "Show presets" they are totally correct. But when I want to use

  • Error after install of DSC 8.2.1

    After upgrading to Labview 8.2.1 with the DSC 8.2.1, I run into an error.  I believe the error is because I already had SQL Server 2005 Express Edition installed when I installed DSC 8.2.1.  Here is the error message that I get when I did the first r

  • Keep getting c:/windows/system32/scarddlg.dll error message

    Keep getting the same error message c:/windows/system32/scarddlg.dll is not a valid windows image need help asap

  • OS X Leopard 10.5: MB021Z/A vs. MB427Z/A

    Hello. I am running OS 10.3.9 and I am soon to be moving up to 10.5 sometime next week. I have been looking at purchasing a full retail version on eBay and I have seen two different versions: MB021Z/A and MB427Z/A. Can anyone tell me the difference b

  • Regarding alv  selection

    hi gurus, i have a scenario, where i need to output alv list display, but i need to give an option on side to choose among the displayed lines in the output, so that, when the user chooses few lines and presses a button, only those records have to be