Skip to Content

How to get BEx query result in Java?

Hi All,

I am new to BEx, so am sorry if this is very basic question.

My question is, is there a way to get BEx query result in Java? We have a requirement to download data into excel format defined by the customer which can not be achived through standard report. Please help.

Thanks

Chinthan

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2012 at 09:17 AM

    Hi,

    Yes you can get the query result from Java. But you need java stack. Please check the note:

    917950.

    Configuration Steps:

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?QuickLink=index

    Once you done configuration BW and EP. You can directly execute the query in java and download the

    data into excel with default SAP delieverd template(0analysis_pattern).

    Thanks,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2012 at 09:17 AM

    Hi,

    You can run the query either directly from Query Designer or from transaction RSRT2 using the

    button 'Java web'.

    This will give you the query result in Java.

    Also you use create web-template using the Web Application Designer and include your query

    there.

    In Web Application Designer you have options to include buttons for Excel export, PDF export.

    Web-template created using Web Application Designer 7.0 runs in Java and gives output in Java

    web.

    You can export your result also in excel or PDF.

    Regards,

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2012 at 09:23 AM

    Hi,

    Your BW system should have to be in BI Release 7.x , then only you can run queries in Java web.

    You must also have installed Java stack.

    Please also check following note.

    917950 SAP NetWeaver 2004s: Setting Up BEx Web

    805344 How URLs are generated automatically in BW

    Regards,

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 24, 2012 at 12:47 PM

    Hello Chinthan,

    Yes, for this firstly you need to have Java Stack. then you need to have Java stack (portal) configured/integrated to ABAP (BW) with help of Note 917950.

    After the integration of BW and JAVA, please check whether the configuration is correct with Note 937697.

    Once this is all done, you can run the report in Java either through Backend ie TX RSRT or using the

    BEX Frontend tools.

    Regards,

    arvind

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.