Problems displaying BO reports in an iframe in Firefox

Hi,
I have an aspx page which has an iFrame. I have provided the src for this iFrame as the BO report. When I open this page in IE, the report comes up properly. However when I open this page in Firefox, the report does not display. However if I open this URL directly in Firefox (paste the URL in the address bar), the report comes up correctly. I checked the HTML code that is generated at runtime for both the iFrame and directly on the firefox and found out that the styles that were used to display the report in iFrame was different than when used to display the report when opened directly in Firefox.
Any idea why the style was getting changed? Cause this is what is causing the reports from not being displayed in iFrames.
Regards,
Rita

if your project's name is businessobjects.
first, modify the file
path:businessobjects\enterprise115\desktoplaunch\InfoView\utils\utils.js
find the following mothod,modify the content
function findElementHelper(frame, Id) {
     // frames with certain plugins (word, excel) will cause a js error because the frame document doesn't exist
     if ((typeof(frame.document)).toLowerCase() == "unknown") return null;
     var f = null;
     try {
          f = frame.document.getElementById(Id);
     } catch(ex) {
          // Ignore this frame if we can't access it.  NS will return "Permission denied to get property
          // HTMLDocument.getElementById" on some frames (eg: external hyperlink page)
     if (f != null) return f;
     for (var i = 0; i < frame.length; i++) {
          f = findElementHelper(frame.frames<i>, Id);
          if (f != null) return f;
     return null;
second,modify the file
path:businessobjects\enterprise115\desktoplaunch\viewers\cdz_adv\scripts\IVIntegration.js
find the mothod 'function canGoEdit()',modify the content
try{
var isAppsFrame=(myframe.thisIsAnAppsFrame && myframe.thisIsAnAppsFrame=="wishYouAreHere")?true:false;
}catch(e){
     var isAppsFrame = true;

Similar Messages

  • Display BW report in WD IFrame

    Hi All,
    I have a WD application.
    The application shows BW reports by selecting dates
    I create the reports dynamically by creating URL and setting the URL in IFrame UI element.
    This works, but the first time I try to see a report I get a Internet Explorer pop up window for user and password.
    I have a SSO configured for BW in the portal but when using IFrame in WD I don't use the system.
    How can I prevent the popup for the user and password (except for sending them directly in the URL...)
    Can I use BW template URL (which is bind to a system) with dynamic parameters?
    thanks,
    Omri

    Hi Deng,
    Goto Start-- All ProgramsBusiness ExplorerQuery designer..
    It will ask you choose the BW server and ask for details.
    Once connected you need to create the query that will give your report.
    Execute the query there and you will get the URL.
    Type the same url in the PDA browser...
    it will show your report.
    I forgot to mention...Business explorer is only seen on the start menu if you have installed it during SAP Gui installation.
    Also i believe your BW server is in the same LAN which your comp is connected.
    Regards,
    akhil
    Edited by: Akhil Rastogi on Feb 2, 2009 8:54 AM

  • Problem Displaying Earlywatch Report

    I have setup solution manager 4.0, Configured Earlywatch. Now the Solution screen shows :
    SAP EarlyWatch Alert 31.03.2007 QST (0020)
    SAP EarlyWatch Alert 01.04.2007 PPD (0020)
    SAP EarlyWatch Alert 01.04.2007 PPD (0020)
    SAP EarlyWatch Alert 01.04.2007 QST (0020)
    SAP EarlyWatch Alert 07.04.2007 PPD (0020)
    SAP EarlyWatch Alert 07.04.2007 QST (0020)
    SAP EarlyWatch Alert 07.04.2007 QST (0020)
    Some of these show data is available. when i process the reports a background job is started:
    SM:EXEC SERVICES 000000006300100
    this job immeidately stops saying it is cancelled.
    The joblog says this:
    06.04.2007     20:12:47     Job started
    06.04.2007     20:12:47     Step 001 started (program DSMOPBACK_AUTOSESSIONS, variant &0000000000054, user ID SOLMAN)
    06.04.2007     20:12:48     Solution COMPANY is being edited (Operations)
    06.04.2007     20:12:48     Trying to perform session 0010000000058
    06.04.2007     20:12:51     ABAP/4 processor: SYNTAX_ERROR
    06.04.2007     20:12:51     Job cancelled
    How do i make  sure that this job is executed successfully?
    I am facing the same problem when i am trying to view the Service Level Reports.
    how do i go about?
    Does anyone have the exact steps required in setting up the solutions of Solution Manager?

    Hi,
    Check this note <b>763561</b>
    Here's a part of note I copied.
    SDCC_OSS uses its own logon details:
    User: SDCC_NEW
    Password: DOWNLOAD
    Client: 001
                           To ensure SDCC_OSS can be created correctly, SAPOSS itself has to be maintained correctly. The best way to maintain SAPOSS is via settings in transaction OSS1, as described in note 33135.
    It is recommended that SAPOSS also use 'Load distribution'; to achieve this use note 766505.
    Is there a template against which I check these destinations:
    Target host: /H/X1/S/sapdp99/H/X2/S/sapdp99/H/oss001
    with
    X1 = customer saprouter IP address
    X2 = IP address of sapservX ( sapserv1 = 194.117.106.129,
    sapserv2 = 194.39.131.34, sapserv3 = 147.204.2.5,
    sapserv4  = 204.79.199.2, sapserv5 = 194.39.138.2,
    sapserv6 = 194.39.139.16, sapserv7 = 194.39.134.35 )
    System number = 01
                           When SAPOSS is updated, the copy SDCC_OSS must be updated manually. The best way to do this is to delete SDCC_OSS in SM59 and then recreate it, via
    SDCCN -> Goto->Settings-> Task Specific -> RFC destinations
    -> Change Mode -> Create destination to SAPNet R/3 Frontend
    a) Destination to connect to SAP Solution Manager
    The connections between satellite system and SAP Solution Manager are described in the configuration guide for SAP Solution Manager.
    This will solve you problem.
    Feel free to revert back.
    --Ragu

  • Programatically displaying part of a report in an iframe

    Hello,
    I've followed the thread at:
    http://www.forumtopics.com/busobj/viewtopic.php?t=61862&postdays=0&postorder=asc&highlight=reportpart&start=0
    to add a graph from a report to an iframe. It works, but I had to manually open my .wid file to get the SID/BID and then hard coded it in my ASP.NET page. Since I'm getting the data from CrystalDecisions.Enterprise.InfoStore.InfoObject is there any way to get the SID/BID from somewhere in the object?
    The only other alternative I can think of is to programmatically open the .wid file and get the SID/BID from inside there. I was pretty sure that when I was looking around at the CrystalDecisions.Enterprise.InfoStore.InfoObject object earlier that I saw the path to the .wid file stored somewhere in there, but I don't see it now. Can anyone tell me where I can programatically get the path to the .wid file?
    Thanks,
    Eric

    Hello,
    I've been able to open the .wid file in an xml format via the BusinessObjects.ReportEngine.IReport.GetXMLView.  It shows me the values for the RID and the BID, but I don't see the actual name of the graph, which I can plainly see if I open the .wid file in the filestore.
    I was going to try to do the GetView method instead, to see what I could see in the other formats.  It appears to support Csv, Html, Xml, Pdf, Xls, etc.  I can't get it to work, however.  I get "Evaluation of expression or statement timed out."
    Dim boIReport As IReport = boIDocumentInstance.Reports(0)                          'Declare the variable
    boIReport.GetXmlView(XmlFilterType.GraphAsBinary)                                           'works fine.
    boIReport.GetView(BusinessObjects.ReportEngine.OutputFormatType.Xml)   'gives me the timeout.
    -Eric
    Edited by: ewgoforth on Aug 31, 2010 10:46 PM

  • WebElements - Having problems putting CR report in WECollapsibleSection

    Hi there - 
    The user doc indicates putting a WEcontrol in a collaspible section  is possible - I am trying to put a CR report in the section and am having problems.
    Here's my code:
    WECollapsibleSection (ElementName, {@WE_OppListRiskReport}, OpenText, CloseText, Font, SectionWidth, SectionHeight)
    where {@WE_OppListRiskReport} is
    stringvar targetpath :=WETargetPath ("rpt","CUID" ,{@WE_OppListRiskPullCUID},"");
    (i've also tried other permutations of the placement of WETargetPath)...
    When I run my report with the collapsible section and click on the OpenText Link, the section appears, but what appears in it is the Opendoc URL:
    /OpenDocument/opendoc/openDocument.jsp?sType=rpt&sIDType=CUID&iDocID=ASHjBo78IzxEj_yzCRYc6uc
    I have used the target path to the same CR report in an iFrame and the report displays correctly so I know it can find the report correctly.
    Help!
    thanks!
    Pam
    PS.  Just into a week of using WE and loving it!!

    Hi Jamie -
    I have already encountered issues after I accidentlally copied/pasted code and left  2 physical webelements with the same name.    (hey!  why is that report loading in that frame??)   That wasn't the issue here, but your response made me go through my code with a fine tooth comb to verify that I hadn't done that.
    While I was double checking, I did some more experimenting and debugging.  This led me to an interesting discovery. 
    As a reminder, I am trying to 'load' crystal reports into iframes onto a Main 'portal' report.  My main report has iframes, collaspible sections, editbox controls and a flyout section with 5 elements.  Loading a report into a frame works fine for the 'independent ' iframes that are placed directly on my main report.   The expected report also loaded on the 'top' element of the FlyoutSection control.  (When I say 'works fine', I mean that the reports loaded into their respective iFrame controls when I open the Main 'portal' report)
    The 2 controls that I was having issues with were the CollapsibleSection and the  FlyoutSections (all but the top element.) . 
    In each case, I had defined iframes and targeted the iframes with Cystal reports within these controls.  When my main report loaded and I clicked on the 'Show Report' link to open the CollaspibleSection, I could see the outline of the iframe but within it,  was the never ending 'please wait ' window.  The report just never loaded.  I experienced the same thing when I put an iframe on the 2nd 'section' of a FlyoutSection control.   I knew that my code was correct because if I pulled the iframe code out of the control and put it directly on my Main 'portal' report, it worked like a charm.
    To me, it seemed as if, despite the 'please wait'  message, the iframe was NOT loading the report.   I was never prompted for parameters and the DB showed no I/O hits to indicate the report was hanging due to performance.      So just for the hell of it, I put a submit button within the content of the FlyoutSectionControl's second section (along with the existing iframe).  All the submit button did was force the report to be loaded into the same iFrame that was already there.  And, to my surprise, after pressing the button, the report loaded.
    I tried adding a submit button to the collaspible section as well and that seemed to force the report to load as well.
    Of course, this is really clugey.  My expectations are that when I click on the FlyingSectionControl's element headers, the reports wherein would load and, if I click on 'show report', the report will load as the collaspiblesection expands.  I think users will also have the same expections.  It's seems unnecessarily redundant to have a 'Show report' link open up and then the user have to click a button that says 'Do you really want to see the report' before the report will load.
    Fundamentally, these 2 controls differ from others because you need to 'click' on them to change their state.  Perhaps this 'click' is interfering with the report loading into the iframe?
    I'd love an explanation and also your input into how these controls could be 'preloaded' .
    thanks!
    -Pam
    Here's the code for my collaspible section (that finally worked)  - the only difference from the prior version is the addition of the WeSubmit(btn) function:
    stringvar item1:= WETargetPath ("rpt", "CUID", {@CUID_chart}, "weIframe=iframe5"  );
    stringvar OpenText:= "Show Chart";
    stringvar CloseText:= "HideChart";
    stringvar SectionWidth:= "3in";
    stringvar SectionHeight:= "2cm";
    stringvar insideframe :=WEIFrame ("iframe5", "item1", 400, 200, "yes") ;  <==if I leave out the target path here, the frame shows up empty at first (which is neater than seeing the 'please wait' message box))
    stringvar SectionElements:=   WESubmit("chartbtn","Button", "see chart",item1 , font)
    + WEBreak (2)+  insideframe;
    stringvar collaspiblegroup := WECollapsibleSection (ElementName, SectionElements, OpenText, CloseText, Font, SectionWidth, SectionHeight);
    collaspiblegroup + WEBuilder(collaspiblegroup,2);

  • Problem in ALV report

    Hi Friends,
    I have the following 2 problems in ALV report
    1) Logo is not getting displayed in the report.
    2) When i click on the Purchase order number in the report  the interactive report is not working,i am not able to see report of First interactive level.
    can you help it out friends.
    Thanks and regards
    Dinesh
    REPORT  YSDBALV1
    tables: ekko , ekpo .
    type-pools: slis .
    Table for Display Header
    data:i_header type slis_t_listheader with header line.
    *Fieldcat Declaration
    data:fieldcatalog type slis_T_fieldcat_alv  WITH HEADER LINE.
    *Table of Events
    data:i_event type slis_t_event with header line .
    For Layout
    data:i_layout type slis_layout_alv .
    data: text(30) .
    *Internal Table Declaration
    data: begin of it_final occurs 0 ,
          ebeln like ekko-ebeln ,           "Purchasing Document No.
          bedat like ekko-bedat ,           "Purchasing Document Date
          matnr like ekpo-matnr ,           "Material No.
          netwr like ekpo-netwr ,         "Net Order Value in PO Currancy
          meins like ekpo-meins ,           "UOM
          chk(1) ,
          light(1) ,
          change like ekpo-menge ,
          end of it_final .
    **select option Declaration
    selection-screen begin of block block.
    select-options: s_ebeln for ekko-ebeln  .
    selection-screen end of block block .
    selection-screen begin of block block1 .
    parameters:grid radiobutton group r .
    parameters:list radiobutton group r .
    selection-screen end of block block1 .
    at selection screen
    at selection-screen .
    select single * from ekko where ebeln in s_ebeln .
    if sy-subrc <> 0 .
       message e000(8I) WITH 'No Data Exists' .
    endif .
    start-of-selection .
    if grid = 'X' .
    perform get_data .
    perform event using i_event[] .
    perform field using fieldcatalog[] .
    perform layout using i_layout .
    perform grid_display .
    endif .
    *&      Form  get_data
          text
    -->  p1        text
    <--  p2        text
    form get_data .
    *DATA Retrieval from tables
    SELECT EKKO~EBELN
           EKKO~BEDAT
           EKPO~EBELP
           EKPO~MATNR
           EKPO~NETWR
           EKPO~MEINS
           EKPO~MENGE
           EKPO~BPRME
           INTO CORRESPONDING FIELDS OF  table IT_FINAL
           FROM EKKO INNER JOIN EKPO ON EKKOEBELN = EKPOEBELN
           WHERE EKKO~EBELN IN S_EBELN.
           APPEND IT_FINAL.
    endform.                    " get_data
    *Getting the Event for Top of Page display.
    *&      Form  event
          text
         -->P_I_event[]  text
    form event  using    p_i_event type slis_t_event.
      clear p_i_event .
      refresh p_i_event .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
       I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = p_i_event
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
    read table p_i_event with key name = slis_ev_top_of_page into i_event.
          if sy-subrc = 0.
                 move 'TOP_OF_PAGE_PO' to i_event-form.
                 modify p_i_event from i_event index sy-tabix transporting form.
          endif.
          clear i_event.
    endform.                    " event
    *Display Top-of –Page Details and Logo
    form top_of_page_po .
           clear i_header .
           refresh i_header .
           write sy-datum to text.
           i_header-typ = 'H'.
           i_header-info = 'PURCHASE OREDER DETAILS'.
           append i_header.
          *Logo Display
          CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
                 EXPORTING
                     it_list_commentary       = i_header[]
                     I_LOGO                   = 'ENJOYSAPLOGO'.
    endform .
    *Field Catalog Append
    *&      Form  field
          text
         -->P_fieldCATALOG[]  text
    form field using  p_fieldcatalog type slis_t_fieldcat_alv.
         clear fieldcatalog.
          fieldcatalog-fieldname   = 'EBELN'.
          fieldcatalog-seltext_m   = 'Purchase Order No'.
          fieldcatalog-col_pos     = 1.
          append fieldcatalog .
          clear fieldcatalog.
          fieldcatalog-fieldname   = 'BEDAT'.
          fieldcatalog-seltext_m   = 'PO Date'.
          fieldcatalog-col_pos     = 2.
          append fieldcatalog .
          clear fieldcatalog.
          fieldcatalog-fieldname   = 'MATNR'.
          fieldcatalog-seltext_m   = 'Material No'.
          fieldcatalog-col_pos     = 4.
          fieldcatalog-outputlen   = 20.
          append fieldcatalog .
          clear fieldcatalog.
          fieldcatalog-fieldname   = 'NETWR'.
          fieldcatalog-seltext_m   = 'Net Value '.
          fieldcatalog-col_pos     = 5.
          fieldcatalog-outputlen   = 20.
          fieldcatalog-do_sum = 'X'.
          append fieldcatalog .
          clear fieldcatalog.
          fieldcatalog-fieldname   = 'MEINS'.
          fieldcatalog-seltext_m   = 'Units'.
          fieldcatalog-col_pos     = 6.
          fieldcatalog-outputlen   = 4.
          append fieldcatalog .
          clear fieldcatalog.
    endform.                    " field
    *&      Form  layout
          text
    form layout  using    p_i_layout TYPE SLIS_LAYOUT_ALV .
    i_layout-zebra  = 'X'.
        i_layout-lights_fieldname = 'LIGHT'.
        i_layout-lights_tabname = 'IT_FINAL'.
        i_layout-box_fieldname = 'CHK'.
        i_layout-box_tabname  = 'IT_FINAL'.
        i_layout-edit = ' '.
    endform.
    *To display Buttons in the MENU BAR if needed
    FORM SET_PO_PF_STATUS USING  P_I_EXTAB TYPE
                     SLIS_T_EXTAB.
                     SET PF-STATUS 'MENUPO'.
      ENDFORM.
    *Event for Interactive display of ALV report
    form USER_COMMAND  using r_ucomm like sy-ucomm
                             rs_selfield type slis_selfield .
      if r_ucomm = '&IC1'.
      READ TABLE IT_FINAL  index   rs_selfield-tabindex.
      write:/ IT_FINAL-ebeln.
      endif.
    endform .
    *Parameters of FM  REUSE_ALV_GRID_DISPLAY
    *&      Form  grid_display
          text
    -->  p1        text
    <--  p2        text
    form grid_display .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM                = SY-REPID
       I_CALLBACK_PF_STATUS_SET          = 'SET_PO_PF_STATUS'
        I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
        IS_LAYOUT                         = I_LAYOUT
        IT_FIELDCAT                       = FIELDCATALOG[]
        IT_EVENTS                         = I_EVENT[]
      TABLES
        t_outtab                          = IT_FINAL.
    endform.                    " grid_display

    *& Report  YSDBALV1
    REPORT  YSDBALV1.
    tables: ekko , ekpo .
    type-pools: slis .
    Table for Display Header
    data:i_header type slis_t_listheader with header line.
    *Fieldcat Declaration
    data:fieldcatalog type slis_T_fieldcat_alv WITH HEADER LINE.
    *Table of Events
    data:i_event type slis_t_event with header line ,
         wa_event type line of slis_t_event.
    For Layout
    data:i_layout type slis_layout_alv .
    data: text(30) .
    *Internal Table Declaration
    data: begin of it_final occurs 0 ,
    ebeln like ekko-ebeln , "Purchasing Document No.
    bedat like ekko-bedat , "Purchasing Document Date
    matnr like ekpo-matnr , "Material No.
    netwr like ekpo-netwr , "Net Order Value in PO Currancy
    meins like ekpo-meins , "UOM
    chk(1) ,
    light(1) ,
    change like ekpo-menge ,
    end of it_final .
    **select option Declaration
    selection-screen begin of block block.
    select-options: s_ebeln for ekko-ebeln .
    selection-screen end of block block .
    selection-screen begin of block block1 .
    parameters:grid radiobutton group r .
    parameters:list radiobutton group r .
    selection-screen end of block block1 .
    at selection screen
    at selection-screen .
    select single * from ekko where ebeln in s_ebeln .
    if sy-subrc <> 0 .
    message e000(8I) WITH 'No Data Exists' .
    endif .
    start-of-selection .
    if grid = 'X' .
    perform get_data .
    perform event using i_event[] .
    perform field using fieldcatalog[] .
    perform layout using i_layout .
    perform grid_display .
    endif .
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    form get_data .
    *DATA Retrieval from tables
    SELECT EKKO~EBELN
    EKKO~BEDAT
    EKPO~EBELP
    EKPO~MATNR
    EKPO~NETWR
    EKPO~MEINS
    EKPO~MENGE
    EKPO~BPRME
    INTO CORRESPONDING FIELDS OF table IT_FINAL
    FROM EKKO INNER JOIN EKPO ON EKKOEBELN = EKPOEBELN
    WHERE EKKO~EBELN IN S_EBELN.
    APPEND IT_FINAL.
    endform. " get_data
    *Getting the Event for Top of Page display.
    *& Form event
    text
    -->P_I_event[] text
    form event using p_i_event type slis_t_event.
    clear p_i_event .
    refresh p_i_event .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
    I_LIST_TYPE = 0
    IMPORTING
    ET_EVENTS = p_i_event.
    EXCEPTIONS
    LIST_TYPE_WRONG = 1
    OTHERS = 2.
    read table p_i_event with key name = slis_ev_top_of_page into wa_event.
    if sy-subrc = 0.
    move 'TOP_OF_PAGE_PO' to i_event-form.
    modify p_i_event from i_event index sy-tabix transporting form.
    endif.
    clear i_event.
    endform. " event
    *Display Top-of –Page Details and Logo
    form top_of_page_po .
    clear i_header .
    refresh i_header .
    write sy-datum to text.
    i_header-typ = 'H'.
    i_header-info = 'PURCHASE OREDER DETAILS'.
    append i_header.
    *Logo Display
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    it_list_commentary = i_header[]
    I_LOGO = 'ENJOYSAP_LOGO'.
    endform .
    *Field Catalog Append
    *& Form field
    text
    -->P_fieldCATALOG[] text
    form field using p_fieldcatalog type slis_t_fieldcat_alv.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'EBELN'.
    fieldcatalog-seltext_m = 'Purchase Order No'.
    fieldcatalog-col_pos = 1.
    append fieldcatalog .
    clear fieldcatalog.
    fieldcatalog-fieldname = 'BEDAT'.
    fieldcatalog-seltext_m = 'PO Date'.
    fieldcatalog-col_pos = 2.
    append fieldcatalog .
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'Material No'.
    fieldcatalog-col_pos = 4.
    fieldcatalog-outputlen = 20.
    append fieldcatalog .
    clear fieldcatalog.
    fieldcatalog-fieldname = 'NETWR'.
    fieldcatalog-seltext_m = 'Net Value '.
    fieldcatalog-col_pos = 5.
    fieldcatalog-outputlen = 20.
    fieldcatalog-do_sum = 'X'.
    append fieldcatalog .
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Units'.
    fieldcatalog-col_pos = 6.
    fieldcatalog-outputlen = 4.
    append fieldcatalog .
    clear fieldcatalog.
    endform. " field
    *& Form layout
    text
    form layout using p_i_layout TYPE SLIS_LAYOUT_ALV .
    i_layout-zebra = 'X'.
    i_layout-lights_fieldname = 'LIGHT'.
    i_layout-lights_tabname = 'IT_FINAL'.
    i_layout-box_fieldname = 'CHK'.
    i_layout-box_tabname = 'IT_FINAL'.
    i_layout-edit = ' '.
    endform.
    *To display Buttons in the MENU BAR if needed
    FORM SET_PO_PF_STATUS USING P_I_EXTAB TYPE
    SLIS_T_EXTAB.
    SET PF-STATUS 'MENUPO'.
    ENDFORM.
    *Event for Interactive display of ALV report
    form USER_COMMAND using r_ucomm like sy-ucomm
    rs_selfield type slis_selfield .
    if r_ucomm = '&IC1'.
    READ TABLE IT_FINAL index rs_selfield-tabindex.
    set parameter id 'VL1' field it_final-ebeln.
    call transaction 'ME23N'.
    endif.
    endform .
    *Parameters of FM REUSE_ALV_GRID_DISPLAY
    *& Form grid_display
    text
    --> p1 text
    <-- p2 text
    form grid_display .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = 'SET_PO_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    IS_LAYOUT = I_LAYOUT
    IT_FIELDCAT = FIELDCATALOG[]
    IT_EVENTS = I_EVENT[]
    TABLES
    t_outtab = IT_FINAL.
    endform. " grid_display
    Regards,
    Rusidar S.

  • Complete data not displayed in Report

    Hi forum,
    I have a cube based on data source 0FI_AR_4,which is updated via an ODS.I have created a query for ageging analysis.The query uses Referrence number ( invoice number) to display the receivables of various customers and number of days from due date.
    To my surprise many invoice numbers are not being displayed in the query, but when i restrict the query to the invoice numbers which are not being displayed the report generated is able to display all the doccuments.
    I have checked the data in the cube and all the invoice numbers are flowing well fro R/3.
    My only way of saying thanks to the people who solve the issue or provide helpful answers is by assigining points.
    Regds
    Suhel

    hello
    This is simple problem
    The result the query fetches is not able to display in the number of cells provided in the excel sheet
    So when you restrict the data, the query is able to show all the data fetched by accomadating in the columns available in the excel.
    Here in your case , there are not enough columns in the excel sheet to display all data
    Regards
    N Ganesh

  • Text data is not displaying at Report level for an Infoobject Item name

    Hi All,
    Texts data is maintained at Info object level but text information is not displaying at Report level for an object.  I have set the property at query level as "Text", but at report level it is displaying key values of the object, not displaying texts information.  This problem occured in QA(Quality) system but not replicated in Production system.  I have checked all properties at backend and query level and compared the same between QA and Production system didn't find any difference.
    Please suggest what might be the cause: at report level it is displaying key values instead of the textual information even text data is mainintained at backend.  In production it is displaying textal data for the IO.
    Thanks in advance.

    Hi All,
    Thanks for your valuable information.  I have changed the setting under Advanced tab as "Master data" for Access type for results values, but didn't solved the problem still it showing key information for the IO.
    In Production system the report displaying texts information for the IO, but in QA its displaying key information. The problem exits only in QA, its working fine in DEv and Production.
    As per my understanding might be the issue with Patches will be checking with Basis team on the same.
    Please suggest if you have any alternatives to fix the issue.

  • Problems with the report export in PDF format

    Hi All,
    I am new to this forum.
    I'm developing a web application that uses Java Reporting Component (JRC) to display crystal reports.
    I have three problem:
    1) I want, after entering the filters in a jsp, to print a report in PDF format (WORD) without opening it
    with Adobe Reader (Microsoft Word). The class of API JRC used for export is ReportExportControl.
    2) I want to print multiple reports one after the other to reduce the time (possibly joining two or more reports into a single PDF)
    3) I want to insert, in the jsp page filters, the number of pages to print from the same report (without
    opening it with Adobe Reader (Microsoft Word))
    Can anyone help me? or can give a simple java code to do the same.
    Thanks in advance.

    Hi, this works for me in 4.6B:
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
            BIN_FILESIZE            =
               filename                = i_pfad
               filetype                = 'BIN'
       IMPORTING
            FILELENGTH              =
          TABLES
                data_tab                = i_att_cont
          EXCEPTIONS
               file_write_error        = 1
               no_batch                = 2
               gui_refuse_filetransfer = 3
               invalid_type            = 4
               OTHERS                  = 5.
      IF sy-subrc <> 0.
        MESSAGE i000(zv) WITH 'Problem mit PDF Darstellung'.
      ENDIF.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = spoolnr.
      CALL FUNCTION 'WS_EXECUTE'
           EXPORTING
                document           = ' '
                commandline        = i_pfad
                program            = 'AcroRd32.exe'
           EXCEPTIONS
                frontend_error     = 1
                no_batch           = 2
                prog_not_found     = 3
                illegal_option     = 4
                gui_refuse_execute = 5
                OTHERS             = 6.
      IF sy-subrc <> 0.
        MESSAGE i000(zv) WITH 'Acrobat Reader nicht gefunden!'.
      ENDIF.

  • Field symbol has not yet been defined-ALV Grid Display in Report

    Hi all,
              Iam calling a Function module for ALV grid display in Report programming. Its throwing the Error message Field Symbol has not yet defined. Can any one suggest what i have to do regarding it?

    Hi,
    <li> This is problem with fieldcatalog.
    <li> Check field names or table name in small letters in quotes while building fieldcatalog internal table
    <li> Check the fieldcatalog internal table , whether it has same fields as in data table which is shown using GRID_DISPLAY function module.
    Thanks
    Venkat.O

  • Can not display BI report in Web ui

    I created reporting profile with both bi and interactive reporting active and assigned to the business role functional profile
    I gave the BI connection client in the report that I wanted. When I select the report in webu ui, it's taking me to a sign on pad. I assume this for BI sign on pad and When i enter sign on, it's not taking me any where.
    This just a standard report in CRM My top 5 quotations. All necessary steps in basic bi connection, basic sales analytics are done too
    How does the the connection between BI and crm works?
    Please advise

    Hi Experts,
    We are using Webiu 2007 with BI 7. 
    We linked our sandbox to RWT system to test the report output. In my CRS, I have source system RWT defined and the same way in BI also we have assigned CRS to link these systems together. It is my understanding that when we select the report, we are just calling the from BI into CRM.  I have done the following steps in CRM
    1) Created reporting profile in CRM analytics as both BI and CRM interactive reporting activated
    2) Assigned this reporting profile to business role
    3) I selected My-Top-5 quotation report and gave the BI system in display  bi reports
    4) I can see the report on webui.
    Problem: When I selected the report,  a logon pad appears and I enter RWT user id and password, it's doing nothing.  But, I have another user who is logging in for the first time got an error "Error loading template "OTPLB_OCRM_QUTO_Q0001_1 notification number BRAIN276". When the same new user tried to login second or third time, it's not showing the error and nothing is happening when we enter userid and pass word.  But, we can logon to GUI RWT.
    We tried to pull a query view report and web template reports see if we can display data. The BI team gave me couple of info objects keys. 
    1) I created the report with object key and type as one for 3.x template and one for 3.x query view
    2) Created logical links for these two reports and selected these two reports in business role. Now the reports are showing in webui
    3) When I select any of these, it taking to a blank screen without any logon screen. 
    BW team says that these reports are running with data in their system.
    Can someone please help?

  • Internal error when try to display Interactive Report

    Hello Gurus
    I'm facing problem with displaying Interactive Reports in Web GUI (CRM 2007). When I try to open existing report or new created one, I see on the display area error "Load failed, Internal error" (no other system errors)
    I think all configuration is done well, I have checked it by reports: Z_OLTP_CONFIG_CHECK and Z_OLTP_CONFIG_CHECK_BI, and except error DataSource /CRMBW/BOOL_TEXT is not active, everything is ok.
    By the way - how can active this data source, while I can't find it anywhere, even in repository (RSA5)?
    I thought maybe problem is with my browser or Flash player, but other functionalities uses flash work good (ie. key figures).
    Any hints?
    Best regards
    Lukasz

    Hi Łukasz ,
    the answer: CRM Interactive Reporting- "Load failed, Internal error"
    Pzdr,
    Mateusz

  • Problem calling a report from a form

    Hello,
    i thought about 5 hours what causes this. but i didn't found a solution..
    [http://img188.imageshack.us/i/67205607.jpg/]
    in when-button-pressed i have:
    DECLARE
    report_id REPORT_OBJECT;
    report_job_id VARCHAR2(200);
    rep_status VARCHAR2(200);
    JOB_NUMBER number;
    server_name VARCHAR2(200) := 'roger';
    BEGIN
    /* Check to see if forms application is WEB deployed */
    IF get_application_property(user_interface) = 'WEB' THEN
         report_id:= FIND_REPORT_OBJECT('report104');
         /* Set Report parameters given WEB deployment */
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER , server_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
         /* DESFORMAT could be HTML, HTMLCSS or PDF here*/
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
         /* Run the report */
         report_job_id := RUN_REPORT_OBJECT(report_id);
         /* Check the report status */
         rep_status:=REPORT_OBJECT_STATUS(report_job_id);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(report_job_id);
         END LOOP;
         IF rep_status='FINISHED' THEN
         message('REPORT WAS CORRECTLY RUN');
         /* Display the report output in the client browser */
         JOB_NUMBER := length(server_name) + 2;
         WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'||substr(report_job_id,JOB_NUMBER)||'?server=' || server_name ||'&param_cls='||to_number(:control.lst_clase));
         /* If report has failed display message to user */
         ELSE
              message('REPORT FAILED WITH STATUS: '||rep_status, no_acknowledge);
         END IF;
    ELSE
         /* Else if forms application is Client-Server deployed */
         /* Set Report parameters given Client-Server deployment */
         report_id:= FIND_REPORT_OBJECT('report104');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER ,'');
         /* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
         /* Destype SCREEN or PREVIEW can be used here */
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,SCREEN);
         /* Run the report */
         report_job_id := RUN_REPORT_OBJECT(report_id);
    END IF;
    END;report104 is the name of the repord added in the Reports node (in Forms).
    in the left window from the image, i checked for the value of parameter param_cls, and it's ok (16).
    when i run the report from the Reports, i see all the repors (that table), but when i run from forms, i got just the headers of the table, the rest is invisible. i don't know why happens this..
    :control.lst_clase returns a char, so i convert that char to a number, and that's the parameter passed from Forms.
    Please help me..
    edit: i saw in Reports that there are two buttons: Run Web Layout and Run Paper Layout. from the Forms, i wanna run the web layout
    Thanks
    Edited by: Roger22 on 22.06.2009 18:24

    finally solved. there was a problem at passing parameters
    this is the code
    DECLARE
    report_id REPORT_OBJECT;
    report_job_id VARCHAR2(200);
    rep_status VARCHAR2(200);
    JOB_NUMBER number;
    server_name VARCHAR2(200) := 'roger';
    rep_url varchar2(500);
    BEGIN
    /* Check to see if forms application is WEB deployed */
    IF get_application_property(user_interface) = 'WEB' THEN
         report_id:= FIND_REPORT_OBJECT('report107');
         /* Set Report parameters given WEB deployment */
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER , server_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
         /* DESFORMAT could be HTML, HTMLCSS or PDF here*/
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'HTML');
         /* Run the report */
         report_job_id := RUN_REPORT_OBJECT(report_id);
         /* Check the report status */
         rep_status:=REPORT_OBJECT_STATUS(report_job_id);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(report_job_id);
         END LOOP;
         IF rep_status='FINISHED' THEN
         message('REPORT WAS CORRECTLY RUN');
         /* Display the report output in the client browser */
         JOB_NUMBER := length(server_name) + 2;
         rep_url:='/reports/rwservlet?report=D:\Oracle\product\10.2.0\DevSuiteHome_1\reports\ORAR.jsp'
         ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string)
         ||'&desformat=htmlcss'
         ||'&destype=cache'
         ||'&paramform=yes'
         ||'&getjobid'||substr(report_job_id,JOB_NUMBER)
         ||'&param_cls='||to_char(:control.lst_clase)
         ||'&param_ansc='||to_char(:control.lst_an)
         ||'&param_sem='||to_char(:control.text_item26);
         WEB.SHOW_DOCUMENT (rep_url,'_blank');
         /* If report has failed display message to user */
         ELSE
              message('REPORT FAILED WITH STATUS: '||rep_status, no_acknowledge);
         END IF;
    ELSE
         /* Else if forms application is Client-Server deployed */
         /* Set Report parameters given Client-Server deployment */
         report_id:= FIND_REPORT_OBJECT('report107');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER ,'');
         /* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
         /* Destype SCREEN or PREVIEW can be used here */
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,SCREEN);
         /* Run the report */
         report_job_id := RUN_REPORT_OBJECT(report_id);
    END IF;
    END;but the report is running in Paper Layout. i wanna run in Web Layout (in Reports Builder there are two buttons, Paper Layout and Web Layout). from forms how can i run the report in Web Layout?
    Regards,

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • How to display a report in CrystalReportViewer when report is a Shortcut

    Hello,
    In BusinessObjects Enterprise XI R2, we have a shortcut to a report since we don't want to give a particular group of users access to the original folder. However, my objective is to display the "shortcut" report in a .NET web application.
    What I'm running into seems to basically be permissions errors when setting the ReportSource of the CrystalReportViewer to the ID of the shortcut. In InfoView, the same user can click the shortcut and the report comes up with no problems.
    So my question is how do I display this report in my application's viewer and still honor the privs of the shortcut, and of not the original report?
    Partial code listing...
    ' load the report
    Dim reportId As String = Me.SessionState.ReportId
    myReportViewer.ReportSource = MyInfoStoreManager.GetReportSource(myEnterpriseSession, reportId)
    myReportViewer.EnterpriseLogon = myEnterpriseSession
    The relevant code in the GetReportSource method is below...
    ' retrieve the report from BOXI Infostore
    Dim objReportFactoryService As EnterpriseService = myEnterpriseSession.GetService("PSReportFactory")
    Dim objFactory As Viewing.PSReportFactory = CType(objReportFactoryService.Interface, Viewing.PSReportFactory)
    Dim objReportSource As ISCRReportSource
    objReportSource = objFactory.OpenReportSource(intReportId)
    Return objReportSource
    Thanks,
    Horus

    Since you're using XI Release 2, there'd be limited options.  XI 3.x allow for greater control of rights inheritance, so you can specify no-view rights for the folder, but view rights for the contents of the folder.
    So with XI Release 2, since you can't control inheritance, you'd restrict rights to the parent folder, but give each report within specific rights tailored to the User or UserGroup.  If you have lots of reports, the rights admin overhead may be problematic, since you'd need to manage them per-object.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • HT1766 trying to back up iphone to icloud

    I keep trying to manually back up my iphone to icloud but it starts then it says could not be completed- can anyone help? My iphone has never been backed up.

  • ABAP 2004s Trial Version 7 NSP Missing Modules (MM/PP/SD/WM/IM/FI/CO)

    I have installed the trial ABAP version from a disc I got with a purchased book but do not have the main components of SAP for me to work on. I would like to work on modules such as PP/MM/SD but have no business modules available. Is there somewhere

  • Wldeploy ant task hangs at [ServerConnectionImpl.close():332] : Closing DM

    Hi All I am trying to deploy\undeploy a WAR file on weblogic server 10.3.5 using ANT wldeploy task, but no matter what i do it always hangs at the below and doesn't complete (although deployment and undeployment is successful) [wldeploy] [BasicOperat

  • HERES THE FIX FOR MAC USERS!

    Ok so I finally found the answers. Looks like this gentlemen Mike.M knows whats up - Very easy fix. http://forums.adobe.com/thread/1385969?tstart=0

  • Type conversions

    i am tring to convert a char to a string but im not sure how to do it. I have a constructor with two string parameters 'pounds' & 'pence'. If the pounds string begins with a zero ie."0", then i want to remove it so that the first character is the sec