Bex Query in ABAP report

Can i call a BEx query in ABAP report and display in ALV grid. if so please give me the syntax.
Thanks
Akila.R

Look at the FM "RSDRI_INFOPROV_READ".
With this you can read data into a internal table of your program.
With this FM, you can do a selective read and select only the key figures and characteristics that you wish to read in your ABAP.
I am not ure, if you can call a BEx report in your ABAP. But with what I mentioned here, you can acheive what you want.
Ravi Thothadri

Similar Messages

  • RWI 00200 Error while scheduling the Bex Query based Webi report

    Dear All,
    I am facing the below error while scheduling the Bex Query based Webi report.
    Error:RWI 00200
    We are using BO XI 4.0 Sp05.
    Please advise

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • Getting Java error while connect BEx query to WebI report (SAP BI4.0 )

    Not able to connect BEx query to WebI report (SAP BI4.0 ) . Below is the error I get while creating a new BEx connection to BOBJ WebI report .
    Please find the below error and help me ,
    "Select a BW Bex query window box "  displayed "Nothing to display " and server error as mentioned below
    Java.uti.concurrent.executionException: Com.sap.sl.sdk.repository.service.repositor******
    at Java.uti.concurrent.futuretask (Unknown source )
    at java.swing.swing.timer.fireactionperformed(Unknown source )
    at java.awt.event.invocationEvent.dispatch(Unknown Source)
    Thanks ,
    Pradeep Gorpadu

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • Conversion from query to ABAP report

    Hi,
    I have already a query (report), displaying some data.working perfectly.
    now i want to convert that Query to ABAP report, with same selection screen and functionality?
    Is there any process for conversion or i have to create just like a normal report and writing the code....
    Thanks in advance,
    fractal

    There is no standard conversion available as such, but you can find out the Query Report name and then copy that to another program and make your changes. But it is preferable to just write it from the start as queries are notorious for their select statements.
    I don't know why you intend to write a report even though your query is working, but if you want to do it, write your own program. You can always keep the same selection screen.
    Regards,
    Srinivas

  • ABAP query vs ABAP report

    Hi Experts,
       I have a question regarding ABAP query  and report.
      what is the difference between ABAP query and ABAP report  ?
      will the query be more efficient than abap report ?
      Is there a standard SAP report that could replace a query?
    Thanks in advance,
    Manoj

    Hi,
    A report is a piece of logic that you write in (this case) in a programming language (ABAP). It uses the syntax of the normal commands of the PL.
    ABAP Query is a higher level tool, that reduces or eliminates the need to "program" in the PL, and rather uses more intuitive, graphic tools, to basically get the same results.
    Generally speaking, if the reporting needs are simple and standard, it is easy and feasible to use the query. The more complex the logic gets, the more you'll probably need to use programming.
    Regards,
    Mario

  • How to call a Bex query in ABAP

    Hi,buddies:
        Any body try to run a Bex query in ABAP and then get the result in text file etc...??
    Martin Xie

    Hello,
      Call this transaction in BW : RSCRM_BAPI.
    Download Query result in file format.
    This transaction is absulote.
    I hope it helps.
    Kishore

  • BEX Query to ABAP Transaction Code

    Hi,
    RRI from BEX Query to ABAP Transaction Code When I Right clivk and select GOTO on my Delivery order
    say 120012 It shd directly go into tht particular DO The transaction code is vl33n
    but when i give ABAP Transaction as reciever object it only goes to the initial screen of query where we manually need to give the DO Number It does not show the DO 120012 directly
    thx,
    amar

    Hi Amar
    Try doing Assigning Infoobject to R/3 field in Assignment details RSBBS transaction:
    Check below thread for explaination
    Re: RRI -  Selection was not Restrcited
    Ravi

  • ABAP Query and ABAP Report

    Hi,
    1.What is the difference between ABAP Query and ABAP report?
    2.What are the advantages of LSMW over BDC?
    Regards,
    Ajit

    Hi,
    Please read the rules of engagement before you post.
    Step 1: Finding An Answer
    Rule number one: Try to find the answer first. There are tons of resources out there, show that you have tried to find the answer. A question that shows that the person is willing to try and help themselves is more likely to be answered than one which simply demands information. Tell us what you have done to try and solve the problem yourself - often we can learn from that too!
    Search the forums, the articles, the blog posts and the Frequently Asked Questions (FAQ) in the Wiki for your topic.

  • How to migrate SAP Bex Query to BO report

    Hi All,
    I want to migrate some of the reports from Bex Query to SAP BO.
    Will you suggest me what are the best ways to do this,Whether there are any tools to do this??
    Regards,
    Shiva Kumar G.C

    Hi,
    When you say migrate do you mean to use BOBJ for reporting?
    If your answer is yes then other questions come into picture.
    What type of reports you have in SAP- Adhoc, WAD, Formatted etc?
    BusinessObjects is combination of some tools.
    WebI is a web base tool and mostly used for Adhoc. You will have to create a Universe on the top of your Bex Query and then WebI Document (WebI Report)
    Crystal Reports is used for formatted reporting. You will create connection on the base of your requirement. You can create a Universe or make a direct connection with your InfoProvider and then create your reports. Use MDX functionality to create Reports.
    Crystal Xcelsius is used for dash board reporting.
    And if your answer is no to above question and you want to migrate your reports to BOBJ like and upgrade without recreating the reports then it is not possible.
    Regards,
    Bashir Awan

  • BEx Query via ABAP Programm (without Querydesigner) ???

    hello friends,
    is there anybody who knows a solution to gernerate a BEx Query without using the BEx Querydesigner, with ABAP coding, only!? I´m looking for a solution, whre f.e. the customer selected character, keyfigures and selections in an external applikation (maybe ms excel) and from there an ABAP programm takes the information and generate a BEx Query?
    I´m not sure if these considerations could be come reality, but maybe there is a solution, or some ideas and input from your side!?
    thx...

    hi anass,
    thx for your reply. Yes i know this feature, but this isn´t a solution for my tasks. Becaus I need a "regular" query at the end of the process, which i can implement in an WAD template. and on top I need the queries for BW IP planning applications, so the tool must generate planning queries with input ready cells.
    I think these facts and many many side effects like variables, hierachies, structuredefinions and so on, will destroy my "dreams" of such a 'query-generating-tool'. probably a very easy query will be a problem for automatic generation, because there are many sap tables where the queryinformation will be stored, with id references, and so on...
    br david

  • Execute Bex query from ABAP

    Hi,
    I am using the method mentioned by Durairaj (@  /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i )
    to execute queries from ABAP.
    When I try to execute a query with characteristics in rows and if the characteristics name is large then i get a dump:
    'Field symbol has not yet been assigned'
    @ <l_field> = wa_set-chavl .
    I tried the same for another cahracteristic of lesser length and it works fine.
    Initially the chara name was like:
    <8 letter dim name>__<7 letter chara name >
    when i used a dim name with lesser no of letters:
    <7 letter dim name>__<6 letter chara name >
    It works fine.
    is there any restricition on the lenght of characteristics ?
    Thanks,
    Message was edited by:
            Rithesh Vijayakrishnan

    Matthias,
    I have tried to use this method before, but with the follow URL:
    /SAP/BC/WebDynpro/SAP/YWEBTEMPLATE_TEST/bi_template_page.htm?&varn1=0pcalmon&varv1=200901&varn2=0p_cocd&varv2=b047&url=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex
    didn't work as I image.
    Do I have to transform this url before execute the method?
    Tnks for your patience.

  • Whether any Standard Bex query for MIS report of PP in BW

    Dear All,
    Please let me know , Whether any Standard Bex query is available for  MIS report of PP in BW.
    Thanks
    Regards,
    Sai.

    Dear All,
    Please let me know , Whether any Standard Bex query is available for  MIS report of PP in BW.
    Thanks
    Regards,
    Sai.

  • Performance Issue Executing a BEx Query in Crystal Report E 4.0

    Dear Forum
    I'm working for a customer with big performance issue Executing a BEx Query in Crystal via transient universe.
    When query is executed directly against BW via RSRT query returns results in under 2 seconds.
    When executed in crystal, without the use of subreports multiple executions (calls to BICS_GET_RESULTS) are seen. Runtimes are as long as 60 seconds.
    The Bex query is based on a multiprovider without ODS.
    The RFC trace shows BICS connection problems, CS as BICS_PROV_GET_INITIAL_STATE takes a lot of time.
    I checked the note 1399816 - Task name - prefix - RSDRP_EXECUTE_AT_QUERY_DISP, and itu2019s not applicable because the customer has the BI 7.01 SP 8 and it has already
                domain RSDR0_TASKNAME_LONG in package RSDRC with the
                description: 'BW Data Manager: Task name - 32 characters', data
                type: CHAR; No. Characters: 32, decimal digits: 0
                data element RSDR0_TASKNAME_LONG in package RSDRC with the
                description 'BW Data Manager: Task name - 32 characters' and the
                previously created domain.
    as described on the message
    Could you suggest me something to check, please?
    Thanks en advance
    Regards
    Rosa

    Hi,
    It would be great if you would quote the ADAPT and tell the audience when it is targetted for a fix.
    Generally speaking, CR for Enteprise  isn't as performant as WebI,  because uptake was rather slow .. so i'm of the opinion that there is improvements to be gained.   So please work with Support via OSS.
    My onlt recommendations can be :
    - Patch up to P2.12 in bi 4.0
    -  Define more default values on the Bex query variables.
    - Implement this note in the BW 1593802    Performance optimization when loading query views 
    Regards,
    H

  • Can a BEx query meet this reporting need ?

    Data in the cube
    Fiscal Period Vendor Amount
    2008012    V1        10$
    2009001    V1        1$
    2009002    V1        4$
    Results if I use exception aggregation to define Total Amount :
    Fiscal Period Vendor Amount  Total Amount
    2008012    V1        10$         10$
    2009001    V1        1$           11$
    2009002    V1        4$           15$
    But when I keep filter on 2009001 it shows :
    Actual results
    Fiscal Period Vendor Amount  Total Amount
    2009001    V1        1$           1$
    How can I set the query to actually show :
    Expected Results
    Fiscal Period Vendor Amount  Total Amount
    2009001    V1        1$           11$

    Hi Samuel,
    In that case, try this solution. I havent tried it, So not sure will work or not...
    Suppose you give the 0FISCPER selection range as 01.2009 to 02.2009. Write a customer exit variable (say, ZV_FPER) which will give you the "LOW" value of the range, i.e., 01.2009.
    in the report, create one more column (Say, PREV_AMT) which has the Amount keyfigure, and restriction 0FISCPER < ZV_FPER. Also put that as Constant Selection which is very important.
    now in the report, create a formula column which will have the formula as AMOUNT + PREV_AMT.
    Now this formula will give you the desired result, I guess. Pls try and let us know...
    Regards,
    BIJESH
    I Put the selection as 0FISCPER <= ZV_FPER before. It should be 0FISCPER < ZV_FPER. Corrected. Thanks...
    Edited by: Bijesh Krishnan on Oct 9, 2009 4:12 PM

  • Median function in BEx query based webi report

    Hi Experts,
              I have a requirement to have a median function in a chart in my webi report. I'm using BO 4.0 SP2 Fix pack 2.9 and using IDT connection to connect BEx queries. I have 3 dimension objects in X axis and Median as y axis. When i'm calculating median, it need to have the child dimension aslo be part of the chart. but my requirement the child dimension should not be in the chart.
    Example: i have Region, Country and state dimensions as X axis, and Median of sales revenue by city as y axis.
    In my chart, i should not include city. So i have written the formula like "Median(Sales revenue) Forall(City) in (Region;Country; state)" and i tried all the combinations of this.
    When i'm including the city object its working fine, but when removint it, its not. Please help me in this.
    Thanks.

    Hi Suman,
    thanks aigain for your reply!
    I have tried your proposal before you have posted it.
    In my special case the following if/else statement works successfully:
    CKF = calculated key figure
    Formula1 = (CKF1 == 0) * 0 + (CKF1 <> 0) * CKF2
    In my case the CKF2 is the result value from "Incoming Order value" - "Turnover"
    So I had to define a separate Formula (1:1 equals to CKF2) and then I was able to set "*CKF2" in the statement.
    The statement CKF2 = (CKF1 == 0) * 0 + CKF2 is not possible (because it´s not possible to calculate from CKF2 itself).
    Now it works
    Best regards,
    Michael

Maybe you are looking for

  • Help about EL/JSTL usage

    Hello, When we declare any bean on jsp using jsp:useBean i read that we can use that bean either in scriptlets or in expressions on jsp. Im not clear about the same when we create any variable using JSTL like <c:set var="jspBean" value="myname"/> as

  • Kde 4 apps in kde 3.5

    Most distros now offer kde 3.5 with apps like ark, kate, kpdf, ktorreent replaced with apps from kde4. I am using kdemod and checked there site but you have to remove kde3 in order to use it. There are PKGBUILDS in AUR. How do I use these to replace

  • My Backup Failed! files are there but iPhoto won't open!

    had all my media (photos, music) on an external since the libraries wouldn't fit on my internal hardrive of my MacBook Pro.  it totally failed, so my brother was able to get all the files and file folders onto a different external.  However, iPhoto k

  • Resizing objects and groups in CS4 - different from CS3

    Hi all, In CS3 I used to be able to resize objects or groups of objects by just using the solid select tool and just grabbing a corner or side of the object and resizing it.  That doesn't work in CS4.  Doing the same thing only moves the image around

  • Too many KeyEvents with AWTEventListener

    I am using the AWTEventListener to record all keystrokes in my program. I have got this running fine on java 1.4, but when i run it on java 1.3 it starts behaving oddly. I am capturing a number of events (KeyEvent, MouseEvent, FocusEvent etc...) but