Web Reports in SAP

HI,
How to Write Web Reports in SAP

HI,
Try this code:
REPORT  zwebreport                              .
   TABLES:spfli.
   DATA:qstring LIKE w3query OCCURS 10 WITH HEADER LINE,  
        myhtml LIKE w3html OCCURS 10 WITH HEADER LINE,    
        mymime LIKE w3mime OCCURS 10 WITH HEADER LINE.
  DATA:funct(100).
START-OF-SELECTION.
GET spfli.
REFRESH qstring.
qstring-name = 'CARRIED'.qstring-value = spfli-carrid.
APPEND qstring.
qstring-name = 'CONNID'.qstring-value = spfli-connid.
APPEND qstring.
WRITE:/'o' HOTSPOT COLOR = 5,
      spfli-carrid,
      spfli-connid,
      spfli-cityfrom,
      spfli-cityto.
CALL FUNCTION 'WWW_SET_URL'  
EXPORTING   
     offset              = 0    
     length              = 1    
     func                = 'secondary_list' 
TABLES  
     query_string        = qstring 
EXCEPTIONS  
     invalid_table       = 1   
     OTHERS              = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE:/ 'error in that line'.
   ENDIF. END-OF-SELECTION.
AT LINE-SELECTION.
IF sy-cucol = 2.
CALL FUNCTION 'WWW_GET_URL'
IMPORTING   
   func               = funct
TABLES  
   query_string       = qstring           .
IF sy-subrc NE 1.
CALL FUNCTION funct
TABLES
query_string = qstring
html = myhtml
mime = mymime.
IF sy-subrc = 1.
WRITE'error'.
ENDIF.
ENDIF.
ENDIF.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Integration of WEBI report in SAP Enterprise portal

    Hi Colleagues,
    I want to create my adhco report using WEBI and want to publish it to SAP NW Enterprise portal .
    While creating the i view in the EP i dint find any option in i view template in order to create an i view for WEBI report .
    However there is an option to choose crystal report as a template while creating an i view but nothing for WEBI and Xcelsius as such. So how can we embedd our Xcelsius and WEBI report in SAP Enterprise portal .
    Is there any option to intergate the SAP NW Enterprise portal and BO Portal .
    Kindly sugest.
    Vibhav.

    You should be using opendocument links if using EP. with opendocument the URL contains all the pertinent info.
    refer to chapter 8 of the SAP Integration kit guide for more info.
    Post in the webi, general, or check out the outher documents link in the forum sticky post for the latest opendocument doc.
    Regards,
    Tim

  • How to create Webi Reports with SAP BW Objects

    Hi,
    I have no knowledge on creating webi reports with SAP BW Objects like (InfoCube, DSO, MultiProvider, Infoview, MasterData Infoobject).
    As per my understanding Webi reports can be developed with universe which is created on BEx Queries or OLAP BAPI interface, unfortunately i don't have BEx App installed. So, i have to create OLAP universe in this case.
    Here my question is can we create universe with all the available BW objects like InfoCube, DSO, MultiProvider, Infoview, MasterData Infoobject.
    Please, Can anyone suggest a solution
    Thanks,
    Siva
    Edited by: siva@chinni on Apr 25, 2010 4:45 PM

    Hi,
    Yes we can create WebI on the top of SAP Objects - InfoCube, DSO, Characteristics etc...
    But we have to keep in mind that for WebI we must create Universe.
    When we create universe we make direct connection with SAP Objects but we get less functionality - such Calculated Key Figures, Restricted Key Figures, formulas etc. Now you have to achieve all these missing components at Universe Level and at WebI level.
    If you are creating your universe on the top of DSO and InfoObject then make sure they set for reporting.
    There are some online documentation which tells that what functionality you can achieve.
    Check the following document to have a bird's eye view.
    [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/100369a7-033e-2c10-94a4-f254f8578153?quicklink=index&overridelayout=true]
    There is another document in PPT which I could  not find online. It is very helpful document. It is:
    II. SAP BusinessObjects BI Solutions XI 3.1 and SAP NetWeaver BW 7 Current risks, approach, and mitigating strategies for Client Partners, License Sales, and Consulting Delivery Managers
    Partner Enablement Seminar
    Regards,
    Bashir Awan

  • How to connect Webi Report into SAP Portal?

    Dear Gurus,
    i would like to connect Webi Report into SAP Portal.
    Could you please give me the steps to follow to acheive that requirement or send me some documents?
    Thanks

    Please check the wiki below.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofBOEXI3.1intotheSAPEnterprisePortal+7.x

  • LOVs not working in Webi Report for SAP BO 4.1 SP 2 Patch 3

    Hello ,
    I have developed reports and universes in SAP BO 4.0 SP 5 and i have migrated those reports to higher version of BO which is 4.1 SP2 Patch 3.
    My universe is working fine with LOVs but when i run the webi report , the LOVs arent working.
    have anyone facing the same issue. any idea why the LOVs arent working on higher version.?

    Hi Victor,
    The List of values we will assign in universe in order to get filtered data works on universe query panel
    but the same objects when i am using in report(webi report) , the List of values are not working .i.e
    they are not getting displayed in webi report.
    for ex: i have country object having country names as LOVs and state objects having state names as LOVs . Now when i select Country value , the LOVs of state objects should get filtered and shows only states which belongs to country .
    the above logic is not working in webi report , i am only able to select country and when i go for state, the state names do not get filtered.
    please let me know why this is happening in the SP2 patch 3 version and its working fine for SP2  , but the chrome issue gets solved after applying patch 3 and not if we only upgrade to SP2.
    the webi reports are not working in chrome browser if we using SAP B04.1 SP2 and lower version
    but the LOVs are not working in SAP BO 4.1 SP 2 patch 1, 2,3.
    kindly help me with the issue

  • Error While Run the WebI Report on SAP BW Query

    Hi
    I have build the universe on SAP BW Query . I built the same universe on the SAP BW DEV and SAP BW Test
    When I tried to run the WEBI Report on the Universe which is built on the SAP BW Test
    WebI Report is prompting for the below values
    Calendar Year
    Profit Center
    Profit Center Hierarchy
    Version.
    Here I can see the List of values for the Calendar Year and Profit Center. Its giving me below error when I look  for list of values for the  Profit Center and Profit  Center Hierarchy.
    u2018Database error: [SOFA Driver] : The operation completed successfully.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
    My Questions:
    1.     Why I am getting this error. Because of authentication or configurations set on the Profit Center and Profit Center Hierarchy objects? If so , please let me know what I need to set?
    When I tried to run the same WEBI Report  on universe which build on  SAP BW Dev Query. I can see list of values for the Calendar Year, Version, Profit Center, Profit Center Hierarchy.
    But when I selected the values and tried to run the report. I got below error.
    u2018Query 1 - P&L Structure Monthly_Devtst
    Database error: [SOFA Driver] : The MDX query SELECT NON EMPTY HIERARCHIZE( {[Measures].[4CEX5LZ5571LCZHJBK0L0360P],[Measures].[4CEX5MM6Q2UPWV3VT27LU9261]} )  DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS , NON EMPTY HIERARCHIZE(  { [0CALMONTH].[LEVEL00].MEMBERS }  )  DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON ROWS FROM [ZFIGLPCBM/ZZFIGLPCBM04_Q011] SAP VARIABLES [!V000001] INCLUDING =[0PROFIT_CTR                   1000HCICONS08] [!V000002] INCLUDING =2 [!V000003] INCLUDING =2008 [!V000004] INCLUDING =000 failed to execute with the error Value "0000000002" for variable "Profit Center" is invalid. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
    My Questions :
    1.     What is this error? Please suggest the solution to run the report successfully.
    Also I am attaching Print Screens of  DEV and Test  reports Prompts and Errors.
    Here I am using Business Objects XI R2 SP4
    I am sorry if I confused you with elaborated explanation, I have very less knowledge of BO and SAP BW .. 
    Please help me with your valuable suggestions.
    Thanks,
    Anitha

    Hi Ingo,
    - the BI Query in the Test system is running correct and all the variables do work ?
         Yes, BI Query is working fine in the Test System and I can see all the variables too
    In BI Query I can see values for  Calendar Year, Version, Profit Center, Profit Center Hierarchy
    - the Universe has all the variables ?
      Yes, Universe has all the variables.
    - do you see values in the Web Intelligence prompts when you run the report ? 
       No,
       I can only see values for the Calendar Year & Version  in the Web Intelligence Prompt.
    When I try to see values for the Profit Center & Profit Center Hierarchy in the Web Intelligence Prompt, its showing below error.
    u2018Database error: [SOFA Driver] : The operation completed successfully.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
    I can send you the Print Screens of Prompts & Errors, but i don't know how to attach the file here.
    Thanks,
    Anitha

  • Webi Report on SAP BW/BI

    Hi All,
    We are on SAP BO BI 3.1 and I am required to create Webi Report on our SAP BW/BI system with BEx Query and InfoCube as source.
    I need some Guidance and/or Material to help me achieve my task.
    I tried finding things on scn but I was NOT successful. Even searching on Google and YouTube did not help.
    How to create connection BICS, QAAWS, How to create Universe and then
    What steps to follow when u creating WebiReport on BEx and What steps to follow when u creating WebiReport on InfoCube etc etc.
    Thanx in Advance
    NoVice.

    Hi,
    For more information on BO 3.1 connectivity with BW refer attached BO 3.1 Using SAP BW in Universe Designer guide.You will get fair idea on BO/BW integration and different options.
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_designer_en.pdf
    You can create universe on info cube or Bex Query.But you will get the advantages if you will create universe on top of BEx query as all RKF's, CFK's, Conditions,  Exceptions will be automatically converted in the universe.At the same time if you will create universe on top of cube then you need to create objects in the universe and creating objects in the universe is difficult.
    Amit

  • Error in MDDataSetBW.GetCellData for WebI report on SAP BW

    Hello All,
    I am getting below error when running a WebI report (BOBJ XI SP3) on top of a universe built on a SAP BW BEx Query (SAP BW 7.01 Level 0007).
    "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData.  Please enter a valid value for characteristic ZPRODCODE.. (WIS 10901)"
    I observed that
    1. Error is coming only with more number of restrictions in selection criteria.Without those selections ( as they are optional prompts ) data is coming properly with all 950 records.  So as mentioned in old threads huge data is not an issue here
    2. Error is coming only when data is not available in cube for the given selection criteria after taking long time.
    Any idea why error is coming instead of report throwing No Data to retreive.
    Vamsi Ch

    Hi,
    There are couple of threads around this issue. Go through the below links and hope you might get the proper info.
    error MDDataSetBW.GetCellData
    Error in MDDataSetBW.GetCellData (WIS 10901)
    Webi throwing error MDDataSetBW.GetCellData
    Re: Error in MDDataSetBW.GetCellData
    -Noor.

  • Error in Creating a WebI Report on SAP Source using Rich client in BOxi 3.1

    Hi
    I tried to create a webi report using rich client on sap source. I get a error message " A Database error occured. the Database text is 'unable to connect to SAP BW server name and password is incorrect(repeat logon) (WIS 10901) .
    SAP Integration kit installed
    BO XI 3.1 is installed on windows server 2003
    Application server - Tomcat 5.5 server.
    Any configuration or sap files/folders should be added?
    how can I move forward to solve it ?
    Thanks!
    J.M Raj

    Hi
    Ya I used SAP authentication - then also get same error.
    Connections are created with username, password to access SAP Source
    Thanks!
    J>M>Raj
    Edited by: John Milton on Jun 25, 2009 10:03 AM

  • WebI report on SAP Mobile BI for iOS that contains a chart with element linking issue

    Hi gurus. I have the following issue:
    I have element linking based filters on my chart # 1 to filter values on chart # 2.  It worked fine on Ipad. And it worked fine on BI Launch Pad.
    But after some time I check my webi report and it stopped working on IPAD.
    Filters are not shown on the graph.
    However it still works fine on BI LaunchPad
    Have you faced this issue before?
    Using: BI mobile 5.1.12
    Before, example:
    After some time, I opened sap mobile and it is not showing up the filter anymore
    Now: We upgraded to SAP Bi Mobile 6.0.8.12 but issue persists.
    Could you do the test?
    Steps to reproduce:
    Create a simple Webi report with a table.
    Copy that table and paste it to the report.
    Turn the original table into a column chart
    Add element linking from the chart to table. (When user filters on the chart it should change the table as well)
    Test that the element link works in BI LaunchPad.
    Save the report to the Mobile category and test on iPad.
    Open report on iPad
    Tap chart bars. Yellow filters, that are supposed to show up, are not displayed.

    Hi Erika,
    Is this report element linking defined as 'All Objects' or 'Single Object' in Webi.
    I ask this that report element linking on 'All Objects' is not supported yet. This support is expected to come in later releases.
    However, if this is single object then it should be working. Can you verify this on latest app store build and confirm. If still it does not work for you, then please raise a support ticket for the same.
    Regards,
    Ashutosh

  • Scheduling Error occurred with WebI Reports on SAP BO Edge BI XI 3.1 STD

    Hello..
    I'm using SAP BO Edge BI XI 3.1 STD.
    When I schedule the webI Report on Infoview..
    Everytime, it failed..
    And setting the date for scheduling, it is needed to reset the data by calendar( ie. 2009. 07. 20.  -> 2009.07.20.)
    What is the reason of failing schedule in WebI report?
    I know it was a bug on BOE XI 3.1 and had fixed with FP 1.x.
    But SAP BO Edge BI XI 3.1 has no FP yet...
    How can I solve this?
    We must use the schedule on WebI reports for start production service on Aug...
    Please let me know...
    Regards..
    Edited by: Choi Min Il on Jul 21, 2009 9:18 AM

    Thans for reply...
    The error message is as follows..
    Object could not be scheduled within the specified time interval.
    Thanks...

  • Error (WIS 10901) while creating a webi report against SAP data source

    Hi,
    While creating a webi report against a universe created using Infocube/Bex query (basically SAP data source) get a error message -
    A database error occured. The database error text is: A runtime exception has occured. (License key check failed. Check that you are licensed to access SAP data sources). (WIS 10901).
    Any clues whether this is a license issue or something else?
    Thanks,
    -Purav.

    >
    George Pertea wrote:
    > Does your connection in the Universe test ok on the server if you are on Win? Did you install the Java Connector properly?
    I am having the same problem.  I checked and double checked everything, including deleting and recreating the Universe and the Connection.  No improvement.  On a whim, I deleted the hierarchy from the query on which the Universe was based, and recreated the Universe on the query without the hierarchy.  The problem went away.
    Now, the question is, why do I get the WIS 10901 error when a hierarchy is present in the query/Universe?

  • Error When Trying to Schedule Webi report using SAP authentication

    Hii,
    We are trying to Schedule Webi report in CMC for Group of Users using SAP authentication(SSO) ,While Trying this we are geting error Unable to Connect to SAP BW server Incomplete Logon Data ..(IES 10901) .
    Authorization done at BI side and Its working properly.Users are able to login into BI Launchpad and View Report as per authorization
    Some Webi reports are created using BICS connection and some  are created using Universe Design Tool (.UNV) which are migrated from BO 3.1 to BO 4.0
    Server Status:
    BO server and Client Tools-:BO 4.0 SP6
    BW System-7.01
    Please refer attach Screen Shot

    Hi Rupesh,
    Please check the below note:
    Seems issue with SNC/STS settings.
    1798197 - Schedules fails with error "Database error: Unable to connect to SAP BW server Incomplete logon data.. (IES 10901)" in BI 4.0
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…

  • How to Refer WebI Report in SAP Portal

    Hi Experts,
    I want to show one of the report created in Web Intelligence rich client  in SAP portal. I have done the SSO part and imported the par files and changed the configuration in web.xml  as per the documentation.
    Now ! I have developed the report and it is available in my local machine in UserDocs folder. How can i refer this report in SAP portal now. What r the parameters i should provide ?
    I have created the BO Iview in portal by selecting the BO Iview template, but couldn't understand what parameters to provide and how to refer my report which is there in my local machine.
    regards,
    Suresh

    Hi Ingo,
    Please check the below details which i configured.
    First step : transporting "par" files and epa files into portal.
    imported   "com.businessobjects.pct.sap_pik.epa" file in portal
             deployed  "com.businessobjects.pct.masteriview.par"  in portal
             deployed "BusinessObjectsKM.par" in portal
    Second step Created System Object and its parameters:
    Host name of Crystal Enterprise Server : almboxi31.ho.almarai.com:8080
            Path of Crystal Enterprise Server           : /SAP
            Protocal of Crystol Enterprise Server     : http
    Third step creating Iview
    Iview Template                 : Integration Kit for SAP Iview
            Viewer Application page : reportView.do
            BusinessObjects Enterprise Viewer : html_frame
            Application Parameters      : cms_name=almboxi31.ho.almarai.com:6400
           BusinessObjects Enterprise Report ID : 1665
           BusinessObjects Enterprise Report Type: id
    Are these correct ?
    Since my sap domain and BO domain are different , i made session management alert to off. 
    anything else do we need to do ?
    Regards,
    Suresh

  • Scheduling Webi reports from SAP Portal.

    is there a way to schedule webi reports from the SAP enterpirse portal.
    Toor.

    Hello Ingo,
    We also need to implement the server side trust configuration.
    I'm searching the document you are refering to but couldn't find it :
    I only found the fowllowing documents which doesn't discuss the server side trust
    BusinessObjects XI Integration Kit for SAP Installation Guide
    BusinessObjects XI Integration for SAP Solutions User's Guide
    Business Objects XI Integration Kit for SAP Release Notes
    I didn't found it there http://help.sap.com/businessobject/product_guides/boexi/en/boxi_DocMap_en.pdf
    Could you provide me the direct link please ?
    Thank you !
    Edited by: Raoul Shiro on Apr 1, 2011 10:05 AM

Maybe you are looking for

  • Is Lightroom capable of creating a photographic log?

    Is there a means to create a photographic log in Lightroom similar to the image below? I know Lightroom can take a series of selected photos and compile contact sheets (standard or using templates) and creative "photo books" that allow very limited t

  • House Accounts

    How can I create House Accounts that all Users can access irrespective of their role. Public Sharing Groups are on a User by User basis -- I need all Users to automatically fall in to the share rule. Thanks!!

  • Sudden finder freezing. menu icons not loading. slow performance

    Please help. My Powerbook has suddenly started acting strangely. After restarting the menu bar icons take around 5 minutes to load up. The airport cannot pick up any signals. The compiuter has no startup sound. The computer tends to freeze from the f

  • Archiving using PBS command in purchasing

    Hi All, If any one has worked in archiving using PBS command in purchasing. Please provide some inputs OR any documents. Ur response will be highly appreciated. Thanks. Lokesh.

  • Any good book about LabIVEW for IMAQ Vision?

    I am very new to IMAQ vision (LabVIEW). I tried to read all of the tutorial on the NI web page, but it doesn't help that much. Is there any book recommended for the beginner (LabVIEW for IMAQ)? What I have to do with IMAQ is to write a program to mea