Query through bc4j

I have a bc4j view object querying 4 tables. The same query running in, say, sqlplus can produce some 5000 results. But tested through the application module, I can not get any row (no error message). Is it reasonable, or anything might be incorrect here?
Thanks,
Song

Thanks Steven!
I found that there was an error in the view link I used to approach the view. That being fixed, now the view works fine.
Thanks for your attention and prompt reply.
Song

Similar Messages

  • Error  while executing query through rsrt

    hello experts,
    I am facing following error while executing one HR query through rsrt.
    "System error in program SAPLRRI2 and form REP_ASSIGN_INITIAL_OPT-01- (see long text) "
    while executing query through rsrt it automatically goes to debug mode, coming out of debug mode i get the screan showing above error message.
    What would be an issue?
    Regards,
    Nirav
    Edited by: Nirav Shah on Apr 21, 2008 8:19 AM

    Hi ramesh,
    I havent kept any execlusion selection. Though i saw long text, it is like this:
    "Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
      Notification Number BRAIN 299 "
    Regards,
    Nirav

  • SPARQL query through Jena adaptor not work when string literals used

    Hi,
    When I executed the following SPARQL query through Oracle Jena adaptor:
    SELECT ?personHasFirstName WHERE
    {?personHasFirstName foaf:firstName ?name . }
    I got the expected results.
    However it won't return anything when I narrowed the query to match a particular name like below:
    SELECT ?personHasFirstName WHERE
    {?personHasFirstName foaf:firstName \"Julie\" . }
    I also tried the Filter approach:
    SELECT ?personHasFirstName WHERE {?personHasFirstName foaf:firstName ?name . FILTER (?name =\"Julie\") }
    It still doesn't return any results.
    I saw from the release notes about the bug dealing with "\". My guess is that the above behavior is caused by that bug. What is the suggested way to walk-around this? Thanks,
    Weihua

    Could you please try this? It works as expected on my machine.
    GraphOracleSem graph = new GraphOracleSem( oracle, modelName);
    ModelOracleSem model = new ModelOracleSem(graph);
    Node sub = Node.createURI("http://test.com/employee123");
    Node pre = Node.createURI("http://xmlns.com/foaf/0.1/firstName");
    Node obj = Node.createLiteral("Julie");
    graph.add(Triple.create(sub, pre, obj));
    String queryString =
    " PREFIX foaf: <http://xmlns.com/foaf/0.1/> " +
    "SELECT ?person WHERE { ?person foaf:firstName \"Julie\" . } ";
    QueryExecution qexec = QueryExecutionFactory.create(
    QueryFactory.create(queryString), model);
    try {
    ResultSet results = qexec.execSelect();
    while (results.hasNext()) {
    QuerySolution soln = results.nextSolution();
    psOut.println("runQuery: soln " + soln);
    finally {
    if (qexec != null)
    qexec.close();
    output snippet:
    runQuery: soln ( ?person = <http://test.com/employee123> )

  • Getting SQL*Net more data from client waits when running a query through web based interface

    Hi, you all,
    We are having this weird behavior when running query through web based interface, we get a lot of "SQL*Net more data from client" waits, the OEM indicates that the current wait event is SQL*Net more data from client
    It's just a very simple query wich invokes a db link.
    When I execute the same query on any PL/SQL tool like toad or sql developer it works fine, but that query inside an application executed through a web based interface, it hangs for ever.
    Where can I start looking for the problem.
    We are working on a 3 Node RAC 11gr2, both databases are on the same RAC.
    Thanks.

    Hi ,
    we managed to reproduce the case in test environment, below are the steps:
    1)have 2 databases on different machines, will call the first one local, the other one remote.
    2)in the local database create:
    a - DBLink to remote database.
    b - read data from remote database(we simply used select count(*) from dummy_table )
    c - insert data into a table on the local database
    d - terminate the connection between the 2 databases (disconnect either machine from the network)
    e - commit on local database.
    what we noticed was the following:
    1)when the local database is disconnected from the network(the machine is not connected to any network at the moment): almost immediately throws an error, and issuing the following:
    select * from dba_2pc_pending;we found some data .
    2) when the remote database was disconnected(the local database is still connected to the network):
    after 7-8 seconds an error is thrown, and issuing the following:
    select * from dba_2pc_pending;did not return any data.
    since this is pretty similar to our case ,we concluded that it's a network issue.
    is this the correct behavior ?
    as a temporary solution till the network issue is fixed ,we did the following:
    1) changed the call of the remote procedure to calling a local procedure that calls the remote procedure.
    2) added pragma autonomous_transaction to the local procedure.
    3) at the end of the local procedure rollback the autonomous transaction.
    it seems that since the global transaction does not use the DBLink database does not issue a 2PC commit.
    this works in my cases since the DBLink is only issed to read data.

  • How to implement  post-query in bc4j or JClient

    How to implement post-query in bc4j or JClient ?
    Does any one know if I want to select some data from other table after every populate record,
    like someing doing in post-query of Oralce Forms?
    where and how to do this ?

    If yout need post-query for filling descriptive colums (eg. department name in emploees) you should build a view object which includes the descriptive colums by joining the relevent tables

  • Transport of infoset Query through Report RSAQR3TR

    Dear Hcm Gurus
    I have created query through sq01 and change functional area sq02 as per requirement in this query
    i have created additional fields in infoset in which i also assigned abap field code on newly created  data fields
    i also assigned new data fields to relavent field group as well
    but when i export and import as per mentioned procedures , additional data field are not imported in target client
    i have follow steps as mentioned
    Step 1
    Run RSAQR3TR in 'old' system. Select EXPORT and specify the objects to be transported. (System includes these in an automatically created transport request)
    Step 2.
    Release this transport and request it be transported to 'new' system. (This results in the entries being populated in transport table AQTDB in 'new' system).
    Step 3.
    Run RSAQR3TR in 'new' system. Select IMPORT and tick the Overwrite checkbox. Specify the transport number in the field labelled 'dataset with imports'.
    Kindly guide me urgently that how additional fields are transported in target client
    Regards
    Barket Ali Zafar
    SAP HCM Consultant
    Siemens Pakistan
    +92-0300-5521524

    yes
    but my question is ? that additional data field defineds in functional area /infoset are not importing ?
    Kindly guide me urgently

  • "Error #2032" while trying to import BEx query through SAP Netweaver BW connection in Dasboard

    Hi Team,
    BO server version: 4.1 SP3 Edge edition
    Dasboard Version: 4.1 SP3
    BI Version: NW 7.4 SP7 (ABAP only)
    We are getting Error #2032 while trying to import BEx query through SAP
    Netweaver BW connection in dasboard Xcelsius.
    Please suggest to sovle this error.
    Regards,
    Vinay Shrimali

    There are several notes about this error - please see http://service.sap.com/sap/support/notes/1856691
    http://service.sap.com/sap/support/notes/1801130

  • Junk characters displayed when viewing BEx query through WAD

    Hello,
    I am trying to display the results of a web report containing a BEx query through the "Execute in the Browser" option in WAD. But, junk Chinese characters keep showing up in the display. Also, if I try the same with one of the older web reports, they display fine. But, the moment I make a copy of these and execute without any modifications, the junk characters show up again.
    I tried executing through RSRT and there my report works perfectly. So, what could be going wrong or am I missing something?
    Thanks in advance!
    Menaz

    Thanks Emma.
    We figured it was related to the Unicode charset while I was going through the source code. I don't think there is any permanent fix yet. But, I followed the posting below and am trying to temporarily fix the error:
    Web Application Designer Appearing in Unicode (UTF-8)
    Thank you!

  • Execute Query through Variable

    I want to execute query through variable in Oracle Developer
    sql_text varchar(1000);
    sql_text:='select some query';
    How to execute this query text stored in sql_text variable?
    Regards,

    If your query returns only one row, you can use:
    EXECUTE IMMEDIATE sqltext INTO <list of into variables> USING <list of input bind variables>.
    If you query returns more than one row, you must open a cursor:
    - either with DBMS_SQL package
    - or declare a REF CURSOR and use OPEN ,FETCH, CLOSE:
    c REF CURSOR;
    OPEN c FOR sqltext;
    FETCH c INTO <list of into variables>;
    CLOSE c

  • Cannot open Query through BEX

    Hi all,
    I am on BW 3.5.
    I have a wierd problem when I try to open a query through BEx;
    as the variable entry screen comes up after I have selected a query, I can see the last opened workbook behind it.
    Then after I continue with the query putting in whatever options, the workbook opens.
    If I refresh, it tries to refresh the workbook, and there is no sign of the query.
    If I log on using a collegues user, BEx works as normal so, it must be down to the user settings or authorisations!!!
    Has anyone experienced this before.
    Thanks,
    Shane.

    Hi Suraj,
    If you want to execue your query, you can use the bex analyzer.
    If you are opening the query from query designer 3.x query in 7.0 fronend, it will get upgraded and then cannot be reveted.
    In your case this automatic migration might be havng some issues, owing to complexities.
    Please recheck.
    -Vikram

  • CRM 2011: Creating SQL Query through MSCRM

    I have been asked to create some kind of query through SQL to find all open opportunities that have an activity record associated to that opportunity.
    Is this something that can be done through SQL? If so how do I join these two tables together?
    Thanks in advance

    You can do this in SQL, though you can also easily access this directly in CRM using Advanced Find.
    When accessing data via SQL, the supported route is to use the filtered views, rather than querying the tables directly. Each entity has an associated filtered view, for example the opportunity entity has a filtered view called FilteredOpportunity.
    You can join opportunities to activities using the regaridngobjectid field on the ActivityPointer entity
    select * from FilteredOpportunity o join FilteredActivityPointer a on o.opportunityid = a.regardingobjectid
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Start Saved Query through menuitem

    HI,
    I have saved different queries, stored in the "queries manager". But saved queries are only accessible through that queries manager. It is also possible to define a formatted search behind an EditText control.
    What I need is startup a saved query through code, by catching the button click event on a form or by catching a click event on an item in the modules menu. Are saved queries accessible through code?
    Has anyone done this before and tell me how I can do this?
    Thanks in advance
    Eddy

    Eddy,
    Maybe you'll find the following snippets useful.
    Just make sure that the name of your query is unique in the Menus -collection.
    HTH
    Juha
    -- snip ---
    SBOLaunchQuery("TheNameOfMyQuery")     
    -- snip ---
    Public Sub SBOLaunchQuery(ByVal strQueryName As String)
              Dim mnuitem As SAPbouiCOM.MenuItem
              mnuitem = GetMenuItemByTitle(strQueryName, SBOApplication.Menus)
              SBOApplication.ActivateMenuItem(mnuitem.UID)
         End Sub
    -- snip ---
         Public Function GetMenuItemByTitle(ByVal strTitle As String, ByVal mnus As SAPbouiCOM.Menus) As SAPbouiCOM.MenuItem
              Dim mnuitem As SAPbouiCOM.MenuItem
              Dim mnuitem2 As SAPbouiCOM.MenuItem
              On Error GoTo EndFunction
              If mnus.Count = 0 Then Exit Function
              On Error GoTo 0
              For Each mnuitem In mnus
                   With mnuitem
                        If .String = strTitle Then
                             GetMenuItemByTitle = mnuitem
                             Exit Function
                        Else
                             If .Type = SAPbouiCOM.BoMenuType.mt_POPUP Then
                                  mnuitem2 = GetMenuItemByTitle(strTitle, .SubMenus)
                                  If Not mnuitem2 Is Nothing Then
                                       Return mnuitem2
                                  End If
                             End If
                        End If
                   End With
              Next mnuitem
    EndFunction:
         End Function
    -- snip ---

  • Hyperlink query through UDF

    Hi experts,
    I d like to know if it's posiible to hyperlink a Sap B1 query through a UDF ? an if it's possible, how ?
    I have already set up the UDF but I dont know which adress I have to put in, in order to make open my query.
    Thanks in adavance for your anwer.
    Cordialement
    Sébastien TABORE

    Hi Sebastian
    If you're wanting to create a file from this query, then you could use the EFM format definition Add-on. This uses a 3 step wizard to create the file in a specified location.
    Regards
    Svend

  • Query Through Alerts Managments For Due AMount

    Dear All
    Hoew to create Query through Alerts Managments for due amount after completion of Due date of AR Invoice
    Edited by: tjoshi1982 on Aug 26, 2010 2:16 PM

    Dear tjoshi1982,
    May I ask you why you need this query?
    In SAP Business One there is the opportunity to use the Dunning Wizard. If the information regarding the dunning information for every customer are set, when the Dunning Wizard runs it will tell inform which customer is late and which document s/he has not paid yet.
    Please, let me know if this alternative is interesting for you and if not, please let me know why you need this query.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Identifying Technical name of a query through a portal link

    Hi,
    If from a portal link I see a BW report, how can I know its technical name so that I can access it in BEx to see the query definition. The title on the portal appears not to be helping.
    Thanks

    In the future, please do not post the same question more than once:
    Identifying Technical name of a query through a portal link
    Thanks!

Maybe you are looking for

  • Bluetooth Speakerphone with Voice Dial?

    Hi All, Because the iPhone does not support voice dialing, I am looking for a speakerphone that does it by itself. I have found the Parrot Minikit Slim, which attaches to the visor, and downloads the contacts from the phone. Then all I have to do is

  • Search on the custom field in Product doesn't work

    Hello everyone! Lately I was configuring additional custom field for product header and succeed. Then I wanted to add this field as a search criteria for product search and I followed help on help.sap.com and note 1026956. Here are the steps I did: 1

  • Is there a way to increase the refresh rate of the Worklist portlet?=10GR3

    BPM 6.x used to refresh the worklist a lot faster. Is there a setting (in Studio and in Server) for 10GR3 that can increase the refresh rate... Did not find it in workspace.properties file... Anywhere else to look for it?

  • I have a problem with Dell 2407WFP

    i just bought dell 24" lcd conecting with my macpro now with 7300GT. the problem is... display doesnt match with sound. the lcd is late about 1 frame when i watch DVD,,,i edit movie stuff...i just play quicktime movie...whenever.. i can feel it. so i

  • How can I get rid of green pixelation on a re-exported video?

    I recently finished a film that ended on the 18-minute mark. When the film was done, I deleted everything except the finished video file to save space. I had to use this finished video file to cut a 15-minute version of the film for a festival next w