Run a BW Report(Query) from R/3

Hi All,
Is there really a way to run a BW Report report from R/3? I have come across a lot of articles explaining ways to convert an R/3 report to BW and so on. But have never heard about doing it vice-versa.
My scenario, to be exact, is to run a BW report from R/3 as a scheduled background job.
Please share what you all know.
Thanks,
Mahesh M.S.

Thank you very much for your valuable help, i checked your suggestion and looks great. But i need to pass 3 parameters from an ABAP to the wad query report.
How can i pass the parameters to the web template???
another issue: My WAS (Web Application Server 6.20) is not public, is currently working for a local area network.
The access to this report is from outside of the office, so we need to access this through the PORTAL.

Similar Messages

  • Problem to run the Crystal report inside from SAP B1 based on SQL views.

    Hello,
    I have a problem to run my Crystal report inside from SAP B1 which is based on SQL views.And the SQL views are stored in a separate database in SQL server.The error which i am getting is saying the the tablename does not exist.What i need to do in order to sort this problem.
    Great if somebody can help me to sort out this so that i can run my report based on SQL views stored on separate database other than SAP databases inside from SAP B1.
    Edited by: rozenagrawal on Apr 19, 2011 11:51 AM

    Try using a SQL synonym in your company database for the views outside the company database. I don't know if SBO will let you get away with it, but its worth a shot.
    If your company database is MyCompany and you have a view called MyView in Views database, assuming the view belongs to schema dbo, and you want the synonym to belong to dbo schema in your company database, run this:
    Use MyCompany
    go
    create synonym dbo.OutsiderView for
    Views.dbo.MyView
    go
    select * from OutsiderView
    The select statement should return the contents of MyView in the Views database while you are connected to your MyCompany database.
    For more info, see the Books Online for MSSQL on topic synonym.
    You will need to change your CR options to include displaying synonyms along with tables, views, etc. You may also need to grant select to B1 users.
    Edited by: Cindy Lange on Apr 21, 2011 4:00 PM

  • What is the best practice for running a long report/query against an active database?

    We are using SQL Server 2012 EE but currently do not have the option to run queries on a R/O mirror though that is my long term goal. I am concerned I may still run into the below issue in that scenario as well since the mirror would also be updating data I
    am querying.
    I have a view that joins across several tables from two databases and is used by an invoicing program on existing data. Three of these tables are also actively updated by ongoing transactions. Running a report that used this view did not use to be a problem
    but now our database is getting larger and we have run into some timeout problems for the live transactions coming in.
    First the report query was timing out so I set command timeout to 0 and reran the query which pegged all 4 CPUs 100% for 90 minutes and so I finally killed it. Strangely there were no problems with active transactions during that time so I'm wondering if the
    query was really running doing anything useful or somehow spinning and waiting. I reviewed the view and found a field I was joining on that was not indexed so created an index on that field, reran the report, which then finished in three minutes and all the
    CPUs were busy but not at all pegged out. Same data queried both times. I figured problem solved. Of course later, my boss ran a similar invoice report, with the same amount of data, and our live transactions started timing out 100% while his query was running.
    I did not get a chance to see the CPU usage during that time.
    I looked at the execution plan of the underlying view and added the suggested index but that did not help. When I run the just the view at SQL Server it does not seem to cause any problems and finished in a couple seconds. Perhaps something else going on in
    the reporting tool using the view.
    My main question is - Given I have to use the live and active database, what is the proper way to run a long R/O query/report so that active transactions can still continue to update
    tables that I am querying? sp_who2 did show transactions being blocked so I guess a long query accessing the tables blocks live transactions accessing those same tables, but certainly I'm not the only one doing this. I
    am considering adding "with (nolock)" but am hoping there is a better standard practice as that clause can return dirty data and I understand why. Thx, Dave
    Thanks, Dave
    Dave

    Hello
    You can change the DB isolation level to Read uncommitted
    http://technet.microsoft.com/en-us/library/ms378149(v=sql.110).aspx
    or use WITH (NOLOCK)
    I do use NOLOCK option for the dirty reads to avoid locks on the tables
    Javier Villegas |
    @javier_vill | http://sql-javier-villegas.blogspot.com/
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

  • How do I reference columns in a report query from another report query?

    In Apex 3.1 it is possible to generate a report on more than one query. I have read that these queries can be correlated, but I cannot find how in the documentation.
    I go the Shared Components and create a new Report Query:
    select * from dept
    Then I click Add Query and I add:
    select * from emp
    How do I correlate these two queries (I want to join emp.deptno to dept.deptno) and have a nice hierarchicle XML-file.
    Is it possible in Apex 3.1?
    Dik Dral

    Dik,
    This type of query can't be build. The two queries are independent, you can't reference values in the first query from the second query. However you can reference page and application items - which won't help you all that much with this scenario though. You could also try combining the two queries into one, and then take care of the proper presentation in your template.
    Regards,
    Marc

  • How to run a MS Access Query from Servlet

    Is there a way to execute an MS Access query from a servlet. I have a query that is doing an INSERT into the database. I tried to code the servlet to directly do the query itself, but it keeps locking the database and hanging. I would appreciate any help.
    Thanks,
    Justin
    [email protected]

    r u refering to the query saved inthe MSACCESS, if so then it may not be possible, bcoz it is not a pure RDBMS. otherwise the u can do it as inthe above mention thread.

  • Is it possible to run 2 different reports SEPARATELY from a single query?

    Dear All,
    The title to my previous thread seems to be inaccurate and misleading.
    To encourage people to read it, I am giving it a more appropriate Title.
    Please do not reply on this thread, but refer to the original one.
    Thanks
    Leon Lai
    Here's the link:
    Is it possible to combine 2 different reports in a single Query?

    Dear All,
    The title to my previous thread seems to be inaccurate and misleading.
    To encourage people to read it, I am giving it a more appropriate Title.
    Please do not reply on this thread, but refer to the original one.
    Thanks
    Leon Lai
    Here's the link:
    Is it possible to combine 2 different reports in a single Query?

  • Running an arbitrary User Query from a menu

    Hello all,
    Is it possible in SBO2007 to create a custom menu that would run a user query, analogously to:
    Reports -> Financials -> Accounting -> Locate Journal Transaction by Amount Range?
    Thanks in advance,
    Anton

    Edward Neveux:
    Beyond that if you want to physically add something to the Main Menu > Modules tab ... you would need to use the SDK.
    With SDK I can only think of the following:
    1) Creata a menu
    2) In the event handler access the desired query by menu UID from  Tools > Queries -> ..., and
    3) Call the Click() method of that menu.
    Isn't there an easier (more automatic) way?
    Thanks in advance,
    Anton

  • Change Reports query from Form

    Hi,
    Can I use PL/SQL in a Form to modify or add to the Report's query in runtime?
    i.e
    If a Text Item in a form was left blank in then I would like to modify the WHERE clause
    in the Report to remove one of the parameter defined.
    in Report's query
    WHERE a.myfield >= :p_1 and a.myfield <= :p_2
    become
    WHERE a.myfield >= :p_1
    if the Text Item in form (for p_2) was left blank.
    Any help would be greatful.
    Many Thanks,
    Buntoro

    Hi,
    you can use lexical parameter to do this thing
    It's better if you change your query to
    select * from emp where &where_clause
    here,
    where_clause is a parameter with some default value. U must give some default value to it.
    ans then pass this parameter from form..
    hope it will help you...
    ...

  • Running a crystal reports viewer from forms

    Greetings,
    I am using Oracle Forms 10g!!
    I have a form that is used to invoke a crystal report viewer using the HOST command. The viewer has the ability to pass in a id and password. When I try to run it I get:
    Logon failed.
    Details: IM003:Specified driver could not be loaded due to system error 998 (Oracle in Oracle_HOME)
    The report runs fine otherwise.
    Regards,
    Bill Chadbourne

    I have the following in my WHEN-BUTTON-PRESSED trigger:
    CLIENT_HOST('cmd /c "C:\Program Files\Jeff-Net Report Runner Viewer\JNRRE.EXE" jnreport=H:\OC\Computer Services\Oracle Database\DFACrystalReports\EPA_PTS\COST_RECOVER.RPT jnid=rs_ray jnpassword=rs_ray') ;
    When I click the button I receive:
    Logon failed.
    Details: IM003:Specified driver could not be loaded due to system error 998 (Oracle in Oracle_HOME)
    If I change the trigger text to:
    CLIENT_HOST(' cmd /c "C:\Program Files\Jeff-Net Report Runner Viewer\JNRRE.EXE jnreport=H:\OC\Computer Services\Oracle Database\DFACrystalReports\EPA_PTS\COST_RECOVER.RPT jnid=rs_ray jnpassword=rs_ray" ') ;
    (From the CMD window) 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
    I would rather not use a .bat file, if possible.
    Regards,
    Bill Chadbourne

  • Error while Activating / running Bex queries/reports

    Hello
    I have following ERRORs while activating / running BEx reports/queries.
    1. While Activating BEx reports, I keel getting following ERRORS
    Object directory entry R3TR ELEM E341OIR6G715GUMGN0MRXP3MA does not exist
    Error when activating element BX7FOOKQB4588RROCBTC2YVZN
    BEx transport request 'BIDK901352' is not available or not suitable
    2. While running the BEx report/query in Bex Analyzer, I'm getting ERROR in entering the parameters, its NOT allowing / giving me option to select the parameters, for example for 0COSTCENTER, it is NOT displaying list costcenters to select before I can RUN that particular report.
    3. How can I trouble shoot ERRORs related to BEx and Portal connectivity.
    4. How would I setup the Variants for a Bex query/report ? Are these Variants for per user basis / per report basis. Can I have each variant for particular users OR all users must select their own variant each time when they RUN the report ? 
    Thanks, Sorry I have asked multiple questions, in jst one thread.
    BI

    Goto SE03 -->Search for Objects in Requests/Tasks  option , select the object type and execute it will give all the transports it has collected before ..
    Also you can use transport connection in RSA1 and select the query and find out all the objects in query locked by what request etc ..
    Thanks,
    Ravi

  • Function Returning SQL in BI Publisher Report Query

    I have a report that is based on a SQL Query (PL/SQL Function body returning SQL query). The code is below. I am now trying to create a PDF version of the report using BI Publisher in APEX. When I try to build the Report Query shared component I get a syntax error when entering this code. Does anyone know if it is possible to create a Report Query from a SQL Query (PL/SQL Function body returning SQL query) and if so, how?
    v_sql varchar2(4000);
    begin
    select apexim.exec_summ_bymonth_sql ('D', :p260_time_frame, 12, nvl(:p260_population_sel, 'All'), nvl(:p260_region_sel, 'All'), nvl(:p260_oper_state_sel, 'All'))
    into v_sql
    from dual;
    return(v_sql);
    end;.

    Thanks for the suggestion Simon.
    I just created a view based on the 46-column SELECT statement from dual above and then set "SELECT * FROM myview" as the Source Query.
    Unfortunately I get exactly the same error.
    Thanks,
    Andy

  • It is possible to execute a SQL query from OMBPlus?

    We have some simple SQL scripts we'd like to be able to incorporate into our existing TCL scripts, instead of having to run them outside of OMBPlus in sqlplus. Is is possible to run a SQL SELECT query from OMBPlus and/or TCL? And get a result set back to iterate through?
    Thanks,
    Jim C.

    You can execute SQLPlus from OMB or just get down and use JDBC to execute the SQL, see others posts on forum such as below;
    How to run SQL from OMB+
    Cheers
    David

  • 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

  • Run SBO report directly from SDK

    Hi, is there a way to run an SBO report (for example Service Contracts) directly from SDK? The report should be given the necessary parameters too.
    I know that i can call Service Contracts form, simulate a query to find the appropriate record and then simulate a click on print preview button. This way it will undoubtedly work.
    But I would prefer opening the print preview directly, without the need of opening another form, that slows down the whole process. Is there a way to do this?

    Tamas,
    There is currently not an object via the SDK to directly run a report.  You would have to use the work around that you mentioned.
    Eddy

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

Maybe you are looking for

  • How do I transfer GB files with Real Tracks to Ext. HD?

    When I try to transfer files that have real tracks in them to my external harddrive, Copy freezes. It freezes when it tries to copy something like "recording #15. aif" I'm guessing because it can't find that file? Any ideas? Also...this may be relate

  • PDF file cannot be opened

    I cannot open pdf, I get an error: "There was an error opening this document. The file is damaged and could not be repaired." Please help with opening .pdf file.

  • Where is stored cache? (5.1.7)

    Where the safari stores all data of cache? Safari vesrion 5.1.7. ? I buy a safari cache viewer app and in that app I need to set a path to the cache file... where it is? Thank you very much

  • Dialog Programming : Input value

    Hi Experts, I have programmed a Dialog programe. In my input Screen i have a field called 'New Project'. ( PROJ-PSPID) The user must not be able to enter value directly into this field but must always be able to select it from the F4 HElp. I'm using

  • [SOLVED] Larch Installation from LiveCD

    Hej! Today I finally succesfully created a LiveCD from a running Arch System. Because I want to migrate my installation to another partition and of course to check out whether the livecd is functional I tried to install my customized archlinux to hdd