VC and SAP Query

<u><b>System Landscape</b></u>
NW Sneak Preview Java Edition with EP 6.0 (from SDN)
VC 6.0, Patch 5
R/3 Enterprise 4.7 extension set 200 (WAS 6.20)
<u><b>Scenario</b></u>
Utilize the BI Kit in VC and use SAP Query from a backend R/3 system to generate VC content.
<i>(From what I have understood, the BI Kit does not necessarily need BW and can work with a R/3 source)</i>
<u><b>Questions</b></u>
(a) Is the assumption correct that the BI Kit can use the SAP Query as a backend to generate content in VC (without a BW system in the landscape)?
(b) Do I need to install the BI UDI SP stack with the EP in NetWeaver Sneak Preview ?
(c) What type of systems do I need in the EP ? If I try the "New System" wizard, I do not get an option to connect to a "BI" system. nevertheless, if i try "new from PAR", i have a an option to use "com.sap.portal.systems.BIUDI". Can you help me with the parameters for a PAR - "com.sap.portal.systems.BIUDI" ?
any other tips / experiences of working with SAP Query and VC are most welcome.
Regards, Parag.
Note: I have tried a R/3 system connection and the RFCs are visible in VC

Thanks a ton Mario, your hints helped me in arriving at the configuration.
For the sake of completeness, I am listing the steps that led me to a successful config.
1. Download the BW 3.5 SR1 installation guide from service marketplace
2. Goto section 6 and perform the steps highlighted for BI Query Connector. Note that if you dont assign a value for the parameter "SERVERGROUP", the default is PUBLIC. So if you have a server with only SPACE (like I had), please do enter "SPACE" for this property.
3. Edit the services file on the Windows Server and add an entry for your SAP server. For example, my server SID is DEV, hence I inserted the following entry in the service file: sapmsDEV 3600/tcp
This step is necessary for JCo to work.
4. Stop and Re-start the BI Query service (using the Visual Administrator)
5. Test the connection with the following URL - http://<host>:<port>/TSapq/servlet/TestSapq
This should list you the queries in the SAP system
6. Open EP (I logged in as admin) and add the system as described in Step 4, section 2.2 of the VC installation guide.
7. Add permission for "everyone" group to this system
8. Login to EP with another userid, perform user mapping (personalize option)
9. Start VC storyboard, login to EP with the other userid (not admin), use Data Service or BI Query Wizard to retreive the queries.
Why did I have to use another userid ?
Well, this was because the connection test did not work for me with the admin user, nor was I able to retrieve the queries in VC. Dont know why this didnt work.
Message was edited by: Parag Jain

Similar Messages

  • ABAP Reports and SAP Query

    Hi Experts,
    I have question regarding ABAP Reports, SAP Query, and Transaction with variant.  How are we securing one the above reports that we assign them through pfcg.  We can secure custom program by custom transaction or define the auth group in S_PROGRAM auth object but in this case we have to assign SA38 in production. is that correct?
    Please help me understand difference between the ABAP reports and SAP query. Is the ABAP reports same as Program or they are different.
    Thanks in advance
    Faisal
    Edited by: Faisal on Jun 30, 2009 11:06 PM

    Hi,
    1) End user security (role matrix coordinate with process team)
    This role Matrix design is most important where we can put restrictions and use SoD.
    2) Secure Table (by auth group)
    Table TDDAT and use of transaction se54 for security tables to right auth Groups. Secure s_tabu_dis, s_tabu_cli.
    3) Secure program (as you said ABAP reports are referred to Program)
    Use of table TPGP and program RSCSAUTH for assignment of groups to Program. SA38 Running of SA38 requires a minimum SUBMIT in user Action. A user having SA38 is dangerous as he/she is now enabled to run any report. Hence protection in Auth Group is needed. Verify each and every program is having authority check statement and Auth Group or not before assigning sa38. As you mentioned its best to avoid SA38 and create CUSTOM TXN for each report.
    (We should also SECURE S_DEVELOP in Production properly along with ur points. Please Note).
    4) Secure some batch jobs roles for batch job
    Secure by s_btch* objects and less access to se36.
    5) Create support roles for cutover activity during Go-live
    That is always needed. Go ahead.
    6) Emergency roles & IT roles for support
    This is very much needed as a role of Mitigation and Fire Fighting for Temporary access. Ensure to enable ur audit parameters in RZ10 (rsau* sm20,RSLG* for sm21). Give emergency access but enable audit via sm19 and get audit reports from sm20 and sm21 immediately after the use of emergency access.
    There are also other auth objects we need to be care ful which is a long list and hope every body ensures that (s_cts,a_admi,s_trans, tables ssm_cust, prgn,t000) etc and a host of others. Besh wishes. Let us know if any issue.
    Regards
    Aveek.

  • Diff. bet ABAP  and SAP Query

    HI
    Anybody can explain in detail about ABAP  and SAP Query.....
    And tell me what is the main diff. bet ABAP  and SAP Query...
    Regards
    S.Baskaran

    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly.
    Check out these links.
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    Kindly reward points by clicking the star on the left of reply,if it helps.Kindly close your previous threads if your problem is solved and reward points for helpful answers.
    Don't forget to reward if useful...

  • What is Abap Query and SAP query

    hi
    i don;t know about ABAP and SAP query . what is the different between ABAP and SAP query.. if any example is there please tell me
    thanks
    pauldharma

    Hi Dharma,
    chk these links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
    http://jelajahsap.wordpress.com/2008/01/07/an-example-of-abap-query/
    Thanks,
    Keerthi

  • Ad hoc query and Sap query

    Hi all
    What are Ad hod query and sap query? Why we use these two?
    thanks and regards
    Seenu

    in order to get the reports as per the client requiremnt
    we use the queries
    and the the data from these queries will be taken form PNP logical data based tables
    EX: in the standrad report for Absences
    the client may ask for
    PERNR   NAME    position   Department  Absence type start date Endate
    in the standrad report u can get the PERNR and Absence type and start date and end date
    but u cannot get position and department
    so we use  Queries we select the feidls from various reports and get a farmot as per the client reqiremnt
    Check SQ01  02  03 tcoeds
    u can alsoc check SQVI

  • Need knowledge on sap upgrade 4.7 to ecc 6.0 in abap reports and sap query

    please give me some ideas and useful links on sap upgrade 4.7 to ecc 6.0 in abap reports and sap query

    Hi Jaya,
    Not very clear with your question.
    Are you looking for changes in areas od ABAP reports & SAP query when we upgrade SAP from 4.7 to ECC 6.0 ??
    If the response is YES, then please refer to SAP solution browser www.sapsolutionbrowser.com
    Define source release and target release .
    You will get module wise details on new features for target release.
    Hope this helps.
    Regards,
    Deepak Kori

  • Tarnsport infoset and SAP Query

    Hi All,
    I have created infoset and SAP quesry and user group.
    When i created user group it asked me the transport request.IT has been tarnsported to dev to QA.
    But infoset and query are not moved to QA.
    It is not asking me for create transport reuest.
    Please let me know how to tarnsport infoset(SQ02) and Query(SQ01).
    Thanks

    Hi all,
    Thanks for u r reply.
    My query is in global area not in standard area.
    Any way i solved the problem but how to transport the variant.
    When i read the documentation it is saying that we have create the system variant then only we can transport.
    IS it so pleas let me know.
    Thanks,

  • PDV and SAP Query - Missing Date Params

    Hello,
    I am working on getting an SAP Query onto our MSS portal using the PDV SAPQuery template.  I want the query to report data as of 1/1/06 but cannot seem to get it to work.  I set up a variant in the system to set the dates but the iview seems to overwrite the date settings at runtime. 
    The function module that is called by this iview seems to be looking for the parameters Begin_Date and End_Date but the iview does not have any such parameters.  Are these supposed to be delivered with the template?  Is there a way to add them?  Has anyone else sucessfully implemented a time sensitive query in the PDV? 
    Thank you,
    Josh

    Hi Josh,
    I ran into the same problem.
    I cannot select any dates. When I run the query without variant, I get results valid only on the system date. If I try to use a query variant with a selected period, I get the message that no dates can be selected.
    Have you or anybody solved the problem?
    Beata

  • Report Painter and SAP Query

    Can someone explain to me output differences between the above two?
    Thanks, n point will be awarded

    Hi,
    ABAP Queries are extremely useful: they can retrieve data from tables and logical databases alike. ABAP Queries permit a ‘snapshot' of the current R/3 data.
    SAP has made it possible for R/3 users to develop queries using little, if any, ABAP code. However, knowing table and fields (data schema) and some SQL knowledge (outer-joins/inner-joins, etc.) is still required.
    ABAP Query reports are typically simple listing and totaling reports (unlike a balance sheet or an income statement requiring complex groupings – for example, a cash or revenue line consisting of several accounts on a financial statement). Such complex groupings require the query to read various tables multiple times to appropriately total and sort the accounts. For complex tasks such as this, the other R/3 tools (such as Report Painter which uses “sets” for these groupings) are better suited for reports with complex and integrated groupings.
    Thanks,
    Dishant

  • PDV and SAP Query - personalization

    Hi,
    Is it possible to change default personalization settings via properties, e.g. via "Property keeping user settings" and use them as defaults for the iview for all users?
    Best regards,
    Beata

    Hi Josh,
    I ran into the same problem.
    I cannot select any dates. When I run the query without variant, I get results valid only on the system date. If I try to use a query variant with a selected period, I get the message that no dates can be selected.
    Have you or anybody solved the problem?
    Beata

  • Executable Report VS Sap Query

    Hi  Experts,
    Let me know the Difference between Executable report and SAP Query.
    Thanks in Advance,
    Victor

    SAP Query is a tool supplied by SAP for report creation.
    Reports are programs that fetch data from database tables and display data.
    Search SDN to know more.
    Hope this helps you.

  • SAP Query, SAP Script

    please give the step by step details . SAP Script and SAP Query .

    Hi Krishna,
    <b>SAP query</b>
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20create%20sap%20query&cat=sdn_all
    <b>SAP Scripts</b>
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    Regards
    Aneesh.
    ~~The best practice is to search the forum before posting a thread.

  • Steps for creating T.code for SAP Query

    Hi Friends,
    I have developed and SAP Query through SQ01, i want to assign an T.code for that.
    What are the steps we have to do in SE93.
    Regards
    Kumar M

    Hi
    Create a report pgm with the following code & create a T.Code for this pgm in se93.
    data: gv_test type sy-repid.
    DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
          GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
          GV_RNAME TYPE AQADEF-PGNAME .
    CALL FUNCTION 'RSAQ_REPORT_NAME'
      EXPORTING
        WORKSPACE        = ''
        USERGROUP        = GV_USERGROUP
        QUERY            = GV_QUERY
    IMPORTING
       REPORTNAME       = GV_RNAME
    * For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
    gv_test = GV_RNAME.
    submit (gv_test) via selection-screen and return.

  • Adhoc Query Vs SAP query

    Hi friends,
    Is there any difference between Adhoc query and SAP query.

    ADHOC QUERY:-
    Web item that enables you to create and change ad hoc queries in a Web application. You can use the Web item Ad-hoc Query Designer in the Web Application Designer to design Web applications in which you can create or change queries.
    SAP QUERY:-
    A tool that allows users who have no knowledge of the ABAP programming language to define and execute their own reports.
    To determine the structure of reports in SAP Query, you just have to enter texts, and select fields and options. If necessary, you can edit lists using Drag&Drop and the functions in the available toolbars.
    bye
    Naveen

  • How to write ABAP Logic in SAP Query to fetch records from many Tables

    Hi Expert,
    I have one requirement, want to display all BOM (Equipment BOM, Function Location BOM and Meterial BOM) from a particular plant.
    List of tables as below:
    EQST: Equipment to BOM Link
    TPST: Link Between Functional Location and BOM
    MAST: Material to BOM Link
    STPO:BOM item
    Requirement: When user enters Plant then SAP Query should execute and fetch all BOMs (as mentioned above) from STPO Table.
    I have done so far is as follows:
    I create User Group, Infoset and SAP Query.
    While creating INFOSET, i used 4 tables (EQST,TPST,MAST & STPO) and link between then is as follows:
    STPO-STLNR ---> EQST-STLNR : Left Outer Join
    STPO-STLNR ---> TPST-STLNR : Left Outer Join
    STPO-STLNR ---> MAST-STLNR : Left Outer Join
    Now its showing all BOM from all plants though I enter one Plant value.
    Please advise me to write SAP Query and Logic to fetch all BOM from selected Plant Value.
    Thanks,
    Jay.
    Edited by: jaykrishna007 on Jul 29, 2011 11:41 AM

    Hi FCannavo,
    Thanks for your quick reply.
    See, now I changed my Infoset design.
    I added one Plant Table (T001W) and then
    T001W-WERKS--->EQST-WERKS
    T001W-WERKS--->MAST-WERKS
    T001W-WERKS--->TPST-WERKS
    and then
    EQST-STLNR--->STPO-STLNR
    MAST-STLNR--->STPO-STLNR
    TPST-STLNR--->STPO-STLNR
    on selection screen, user will enter Plant Value.
    Now its showing some records, but i dont think so i would be correct output or not, please guide me whether it is correct or not?
    Thanks,
    Jay.

Maybe you are looking for