Call javascrit in Report List.

Hi all,
I have a report in list format that I insert a link with function 'WWW_SET_URL'. Now i want to run this report in EPortal, how can i call a service(this service is an SAP transaction or an iview) with that link ?

HI
GOOD
CHECK WITH THE FOLLOWING LINKS I HOPE THIS WILL GIVE YOUR SOME CLEAR IDEA ABOUT YOUR REQUIREMENT.
http://help.sap.com/saphelp_nw04s/helpdata/en/67/56de4244782878e10000000a155106/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/73f8b12a217103e10000000a1553f7/content.htm
http://www.asug.com/client_files/DocUploads/search/doc1750.pdf
THANKS
MRUTYUN

Similar Messages

  • Refresh a report list after remote function call

    Hi,
    My customer has a report listing invoices. A non-SAP program calls a remote function creating an invoice with BAPI. My customer wants the list to be refreshed after the invoice is created via RFC or to refresh the list in specified time intervals.
    Is there any way to accomplish that task?
    thanks,

    ... or OO, integrate like this
    DATA:      ok_code LIKE sy-ucomm.
    *       CLASS lcl_event_handler DEFINITION
    CLASS lcl_event_handler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS: on_finished FOR EVENT finished OF cl_gui_timer.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    CLASS lcl_event_handler IMPLEMENTATION.
      METHOD on_finished.
    * Start Timer again
        gr_gui_timer->interval = pa_autow.
        CALL METHOD gr_gui_timer->run.
    * cause PAI
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = gc_cmd_refresh.
      ENDMETHOD.                    "on_finished
    DATA:
      gr_gui_timer               TYPE REF TO cl_gui_timer,
      gr_event_handler           TYPE REF TO lcl_event_handler,
      gs_vtyp                    like ts_vtyp.
    *======================================================================*
    *= Selection screen                          =*
    *======================================================================*
    PARAMETERS:
      pa_autow TYPE flag DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK date.
    *&      Form  init_autorefresh
    *       Timer starten oder stoppen
    FORM init_autorefresh .
      IF pa_autow IS NOT INITIAL.
        CREATE OBJECT gr_gui_timer.
        SET HANDLER gr_event_handler->on_finished FOR gr_gui_timer.
        gr_gui_timer->interval = pa_autow.
        CALL METHOD gr_gui_timer->run.
      ELSEIF gr_gui_timer IS BOUND.
        gr_gui_timer->cancel( ).
      ENDIF.
    ENDFORM.                    " init_autorefresh
    Regards,
    Clemens

  • Adding new row to the reports list page

    How can I add a new report row in the reports list of the reports tab.
    Ex: a new row to the report "users by Date of Join report" is to be added
    How can we add Please help me out in this

    I am facing the same problem!
    camickr wrote:
    Try adding an empty row containing a null value for the String instead of the empty String.camickr, it will not help, the DefaultRowSorter in the "*+compare(int model1, int model2)+*" method return -1 if the first value is null and 1 if the sacond value is null. and incase of DESCENDING it mult by -1.
                    // Treat nulls as < then non-null
                    if (v1 == null) {
                        if (v2 == null) {
                            result = 0;
                        } else {
                            result = -1;
                    } else if (v2 == null) {
                        result = 1;
                    } else {
                        result = sortComparators[counter].compare(v1, v2);
                    if (sortOrder == SortOrder.DESCENDING) {
                        result *= -1;
                    }And this is the real problem!
    The empty line is sorted as the smallest value and incase of DESCENDING it will be the first line (because of the mult by -1).
    We could have overide it and incase of the empty row(usualy the last row) do not mult by -1 in DESCENDING mode.
    But the problem is that the "+*compare*+" method and it's caller "*+Row+*" inner class are private :-(
    It is not wise to do it but we can do like kmp83 wrote:
    kmp83  wrote:
    copy/duplicate "private" code from DefaultRowSorter into my extended class.Anyone have another suggestion?

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • TO SER FIELS BOX IN REPORT LIST SCREEN

    i WANT TO SET 2 RADIO BUTTON AND 2 FIELD BOX IN THE  REPORT LIST SCREEN WHERE I WANT TO ENTER DATA MANUALLY IN THE FIELD BOX. AND I WANT TO SET ONE PUSH BUTTON .I WANT TO SET ALL THERE IN LIST SCREEN NOT IN SELECTION SCREEN.
    CAN ANYBODY SUGGEST ME.
    THANKS

    hi check this..
    REPORT Z_TEST7 .
    *Table declaration
    tables: vbak,vbap.
    *internal table
    data: begin of i_sales occurs 0,
    vbeln like vbak-vbeln,
    erdat like vbak-erdat,
    audat like vbak-audat,
    kunnr like vbak-kunnr,
    vkorg like vbak-vkorg,
    matnr like vbap-matnr,
    netpr like vbap-netpr,
    check type c, "checkbox
    end of i_sales.
    type-pools: slis.
    data: v_fieldcat type slis_fieldcat_alv,
    gt_fieldcat type slis_t_fieldcat_alv,
    gt_layout type slis_layout_alv,
    gt_sort type slis_sortinfo_alv,
    fieldcat like line of gt_fieldcat.
    *Selection screen
    parameters: p_vkorg like vbak-vkorg.
    select-options: s_vbeln for vbak-vbeln.
    *start of selection.
    start-of-selection.
    perform get_data.
    perform fill_fieldcatalog.
    perform write_data.
    FORM get_data .
    select avbeln aerdat aaudat akunnr avkorg bmatnr b~netpr into
    corresponding fields of table i_sales from vbak
    as a inner join vbap as b on avbeln = bvbeln
    where a~vkorg = p_vkorg and
    a~vbeln in s_vbeln.
    ENDFORM. " get_data
    FORM write_data .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = sy-repid
    IS_LAYOUT = gt_layout
    IT_FIELDCAT = gt_fieldcat
    TABLES
    T_OUTTAB = i_sales .
    ENDFORM. " write_data
    FORM fill_fieldcatalog .
    sort i_sales by vbeln.
    clear v_fieldcat.
    "for check box
    v_fieldcat-col_pos = 1.
    v_fieldcat-fieldname = 'CHECK'.
    v_fieldcat-seltext_m = 'chek'.
    v_fieldcat-checkbox = 'X'.
    v_fieldcat-input = 'X'.
    v_fieldcat-edit = 'X'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 2.
    v_fieldcat-fieldname = 'VBELN'.
    v_fieldcat-seltext_m = 'Sales Document'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 3.
    v_fieldcat-fieldname = 'ERDAT'.
    v_fieldcat-seltext_m = 'Creation Date'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 4.
    v_fieldcat-fieldname = 'AUDAT'.
    v_fieldcat-seltext_m = 'Document Date'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 5.
    v_fieldcat-fieldname = 'KUNNR'.
    v_fieldcat-seltext_m = 'Customer'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 6.
    v_fieldcat-fieldname = 'VKORG'.
    v_fieldcat-seltext_m = 'Sales Organization'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 7.
    v_fieldcat-fieldname = 'MATNR'.
    v_fieldcat-seltext_m = 'Material'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    v_fieldcat-col_pos = 8.
    v_fieldcat-fieldname = 'NETPR'.
    v_fieldcat-seltext_m = 'Net Value'.
    append v_fieldcat to gt_fieldcat.
    clear v_fieldcat.
    endform.

  • Calling bi publisher report from apex.

    good morning all,
    I have a situation at hand, i want to be able to call bi publisher report from a dropdown list in apex. what i did was to create a table in the oracle db with the report name and url as columns, from apex all i did was to create a list item which queries the table a should display the report using the url. but the report is not showing properly, what do you thinl i can do.
    i am using the following verion:
    bi publisher: 11g (11.1.1)
    apex: 4.2.1.00.08
    oracle database: 11.2.0.1.0
    Thanks.
    AbdurRahman

    Hopefully, that could be helpful for you,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/apexinst/apexinst_prod.htm
    http://dgielis.blogspot.jp/2007/12/call-bi-publisher-report-from-apex.html
    https://blogs.oracle.com/xmlpublisher/entry/apex_integration_with_publishe
    Edited by: Weibing.Xia on 2013-5-20 下午5:40

  • KE80 Customized Reports - Listing

    Hello,
    We have created our own drilldown reports for PCA in KE80 and we are on
    ECC 5. We would like to segregate our reports from the standard/delivered
    reports from SAP in the KE80 report listing. In the listing of the
    drilldown reports in KE80, all the reports are under one folder called
    "Reports". Is there a way to create a new folder within KE80 so that we
    can put our reports in the new folder and keep the delivered SAP reports
    in the original folder? If so, please let me know how to perform this
    task.

    Hi
    There is  solution to  this.   You can  collect  all  your  reports   by creating a  separate folder  in the EASY ACCESS  screen. 
    This is how it is done  :
    Go to  T,code SE43  and  creates a  new folder . Here you add the  transactions at the lower level ( subnode )     ie the reports in KE80. In the resulting dialog, you will see an option u201C+Reportu201D. This will give you options to add Report painter reports to area menu.
    Thanks
    kamala

  • Calling a Crystal Report from and Oracle Form6i

    I am attempting to call a crystal report from within an oracl form. I would appreciate documentation/suggestions on how to accomplish this task.
    Thanks
    NBranson

    HI Nicole,
    I have used crystal reports from oracle forms in one of my project. Send a mail to this address, i ll reply you back with the source code. My email address is [email protected] .
    But if you just want to know the steps here it is :
    STEPS TO display the Crystal Report in Oracle Forms :
    1. Create a new form.
    2. Create a control block, name it 'CONTROL'.
    3. Create a CONTENT canvas, name it 'REPCAN'.
    4. Create an ActiveX control on the canvas, name it 'CrystalReport1'.
    5. Create a Image item , name it 'REP'. Make sure that image item overlaps the ActiveX control completely, this image item is used to get the item handle. Enlarge this object such a way that it will fit the window, the report gets displayed in this item so the item size should be adeqately large.
    6. Right click on the ActiveX control item, select Insert Object from the menu.
    7. From the list select Crystal Reprot Control.
    8. Select the Progrm=> Import OLE Library Interface Menu in the form.
    9. Select Crystal.CrystalReport from the List, this will list two methods and one Event . The two methods are CrystalCtrl and IRowCursor, the event is CrystalReprotEvent.
    10. Select all the three and click on the OK button to accept. This will create the program units.
    11. In the When-New-Form-Instance trigger of the form write the following code.
    Declare
         charWinHandle varchar2(50);
         numWinHandle Number;
    Begin
         Set_Application_Property(Cursor_Style,'BUSY');
         charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
         numWinHandle := To_Number(charWinHandle);
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowParentHandle := numWinHandle;
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowState := 2;
         :item('CONTROL.CRYSTALREPORT1').OCX.Crystal.CrystalReport.Connect := 'DSN=;UID='||Get_Application_Property(UserName)||';pwd='||Get_Application_Property(password)||';dsq=;';
         Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
         Set_Window_Property(Forms_Mdi_Window,Window_State,Maximize);
         Set_Window_Property('MAIN',Window_State,Maximize);
         :reptitle := 'Report Preview Window';
         numWinHandle := Crystal_CrystalCtrl.PrintReport(:Item('Control.CrystalReport1').interface);
         Set_Application_Property(Cursor_Style,'DEFAULT');
    End;
    One thing to mark here is the, change the report name and path according to your required file name and path in
    Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
    12. If you want to run multiple reports then create a parameter and pass the file name to the form through the parameter. In the above line of code, you can replace the file name with parameter, so each time the form is called with different parameter with the file name , it displays different reports.
    13 Run the Form.

  • Report list 2 internal table

    how to copy report list to internal table

    Hi Durga, chk this,
    pls check the below code for example:
    codeDATA LIST_TAB TYPE TABLE OF ABAPLIST.
    DATA: BEGIN OF olist OCCURS 0,
    filler1(1500) TYPE c,
    END OF olist.
    SUBMIT YTEST04 WITH MATNR EQ 't000001'
    EXPORTING LIST TO MEMORY
    AND RETURN.
    BREAK-POINT.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    LISTOBJECT = LIST_TAB
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2.
    IF SY-SUBRC = 0.
    CALL FUNCTION 'LIST_TO_ASCI'
    EXPORTING
    LIST_INDEX = -1
    TABLES
    LISTASCI = oLIST
    LISTOBJECT = LIST_TAB
    EXCEPTIONS
    EMPTY_LIST = 1
    LIST_INDEX_INVALID = 2
    OTHERS = 3.
    BREAK-POINT.
    ENDIF.[/code]
    cheers,
    Hema.

  • Reg : Converting a report list to OTF format.

    Hi Folks,
        Is there any function module which converts spool of (report)  list type to OTF type? As we need to merge multiple spools (list types) into single PDF file. We have
    1) RSPO_RETURN_SPOOLJOB,
    2) CONVERT_OTF_2_PDF
    which can merge multiple spools  into single PDF file, but these function modules accepts only spools of OTF format.
    Any help will be rewarded.....

    Hi ,
    See this code , this gets smartform output pages into the jobinfo document "ls_job_info' , then converts it into OTF format and then PDF. See if this can  give u some idea.
    CALL FUNCTION lf_fm_name
          EXPORTING
            archive_index      = toa_dara
            archive_parameters = arc_params
            control_parameters = ls_control_param
            mail_recipient     = ls_recipient
            mail_sender        = ls_sender
            output_options     = ls_composer_param
            user_settings      = space
            is_bil_invoice     = ls_bil_invoice
            is_nast            = nast
            is_repeat          = repeat
          IMPORTING
            job_output_info    = ls_job_info
          EXCEPTIONS
            formatting_error   = 1
            internal_error     = 2
            send_error         = 3
            user_canceled      = 4
            OTHERS             = 5.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
      ENDIF.
      LOOP AT i_tline.
        TRANSLATE i_tline USING '~'.
        CONCATENATE wa_buffer i_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Attachment
      REFRESH: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      CLEAR wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body Title and Description
      i_objtxt = 'Invoice output Attached!'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name = 'Invoice'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'Invoice'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
    Attachment (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size = v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'smart'.
      i_objpack-obj_descr = 'Invoice'.
      APPEND i_objpack.
    Regards,
    Uma

  • Call a Std Report in SE38

    Can anyone of you shall be kind enough to guide me with an example as to (1)how can I call a standard report, say MB5B in my se38 report program (2) fed the output of the same to a spool and (3) read the spool output in the program.

    Here is an example :
    DATA: seltab type table of rsparams,
    seltab_wa like line of seltab.
    seltab_wa-selname = 'PNPPERNR'.
    seltab_wa-sign = 'I'.
    seltab_wa-option = 'EQ'.
        * load each personnel number accessed from the structure into
        * parameters to be used in the report
    loop at pnppernr.
    seltab_wa-low = pnppernr-low.
    append seltab_wa to seltab.
    endloop.
    SUBMIT zreport with selection-table seltab
    via selection-screen.
    *Code used to populate 'parameters' & execute report
    SUBMIT zreport with p_param1 = 'value'
    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
        * Once report has finished and control has returned to calling
        * program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
        * DISPLAY_LIST to retrieve and display report.[/code]
    Reward If Found Helpful.

  • Execute button in Report List

    Hi
    I have an ALV wich executes with user commad button a Report List (write) ; then when the Report List is showed i need to execute some action with some button so i set a status gui with the button , but when i press the button any action is executed ; no control is passed to program even if i set the debug mode and then press that button.
    Does somebody knows how can i catch a button in report list for make some action , taking in account that the report list was called from an ALV user command button.
    Regards
    Frank

    I think you will need to activate the events of user_command in the events activating subroutine,
    form f_eventtab_build changing lt_events type slis_t_event.
      data:
        lw_event type slis_alv_event.
      refresh lt_events.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = lt_events.
      read table lt_events
      with key name = slis_ev_user_command into lw_event.
      if sy-subrc = gc_zero.
        move slis_ev_user_command to: lw_event-form, lw_event-name.
        append lw_event to lt_events.
      endif.
    endform.                    " f_eventtab_build
    form user_command.
      if sy-ucomm = 'XXX'.
    *   etc.....etc...... 
      endif.
    endform.
    does this solve your problem?
    Edited by: Andre Julius on Jul 8, 2009 4:30 AM

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // 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
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • Monthly report listing out ALL open PO

    Hi,
    As our management requested, we need a monthly report listing out ALL open PO for CDG, APR   Someone tell me to input cost centre but it is time consuming to input it as we have over 100 cost centers.  Do you know if I can input SPG/profit center or other data to run this report instead ?  Please advise the transaction code and how to perform it, such as need to know the profit center #, organization code etc
    Thanks
    Raja

    hi
    go to ME2N
    then select Scope of list  ALV
    Selection parameters  as           WE101     Open goods receipt   (select as per ur need )
    then execute u will get the list for open po
    now if u want it to specify the  profit center then go to ME2N and select dynamic selecion  (shift +F4)
    now u will get a smaal scrren , in purchaseing doc item selct profit center
    now u can see the profit center selection field ,give a proper profit center and follow the process as given above
    hope it help
    regards
    kunal

  • Calling Oracle Discoverer Report from Apex

    How to call Oracle Discoverer Report from apex application?
    Thanks!

    The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
    Any suggestions or thoughts are greatly aprreciated.

Maybe you are looking for

  • ITunes crashes when processing purchases after restoring HD from Time Machine

    Ever since I had to restore the HD on my MacBook Pro last weekend, iTunes crashes each time it tries to process downloaded files. Everything elses seems to work fine after restoring my HD. Any ideas? I've already tried re-setting my Apple ID password

  • How do I get windows and excel on my iPad

    I want to use my iPad 2 for my business but need word and excel....how do I do this?

  • GR for PO from Vendors with Barcodes

    Hello Experts, We want to make sure we scan some document for GRs against PO and place them in our warehouse.Can we ask vendors to use the barcodes that are supported by SAP,so that we can scan them when we receive them. What are possibilities of doi

  • WHAT files can I dump?

    Once I have created an iDVD project and saved it as a disc utility, what files can I dump? Can I trash the original iDVD file? Can I trash the Quicktime movie that I used to create the iDVD file from Final Cut Pro? Can I throw away everything but the

  • After software update, iMac hangs on boot and restarts over and over again

    I verified and fixed the permissions and disk with no issues. By default, my iMac enters into an old Windows Bootcamp partition I no longer have so whenever I restart my computer I have to hold down option to boot into the Mac OS. All this trouble fo