Sending query to database request id query id process id

Hi All,
I am looking at the NQQuery.log file and found an id for the query being run in answers. Is there any way that I can grab this value from the log?
I have seen predefined variables like @{user.id}, @{user.displayName},@{system.currentTime}. Is there any variable like @{request.id} or @{query.id}?
-------------------- Sending query to database named Oracle_DB *(id: <<287163>>)*: I need to fetch the id value? Any ideas please?
Thanks
MNRK

All I need is a unique number that can be passed to a direct database request in answers and trigger a package in the database. This package will insert the data into a table. My report on the dashboard will fetch the results from the newly populated table. At the end I need to apply a filter on the report result set to only get the data for the particlar number selected first to trigger the package.
For this I thought the data base query id would be a a unique number and tried to use it. If thats not possible or hard to get, please suggest any way where I can send a unique number to trigger a package from answers and also use it in the filter condition of the report.
Thanks
MNRK

Similar Messages

  • Querying Essbase text measures via Oracle BI direct database request

    Hi,
    There is a text measure in an Essbase database. The same MDX query shows text values when executed directly in Essbase or in SmartView and numeric codes when executed via Oracle BI Direct Database Request interface.
    Is it possible to show text values in OBIEE?
    (Versions: Oracle BI 10.1.3.4 & Essbase 11.1.1.2)
    Thanks in advance and best regards

    I'm sorry if my description looks cryptic.
    There are no problems with alias tables or SmartView., I'll try to explain the problem better.
    In Essbase there is a text measure "Code" and a text list "Code_Values" which contains text values for this measure:
    1 - AA
    2 - BB
    3 - CC
    4 - DD
    Let there be an MDX query 'SELECT ON COLUMNS, [DIM1].Members ON ROWS FROM [APP].[DB]'.
    When such query is run in Essbase Administration Services Console, it returns the following table, which is the desired behaviour:
    DIM1 Code
    0100     AA
    0200     BB
    0300     CC
    0400     DD
    When it is run as a Direct Database Request in Oracle BI Answers, it returns only numeric values, but not the text values from "Code_Values":
    DIM1 Code
    0100     1
    0200     2
    0300     3
    0400     4
    So, the question is: is there any way to achieve desired behaviour using Oracle BI Answers?
    Edited by: WxD on 17.08.2009 17:42                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Connection lost but what about send Query?

    Dear All.
    Imagine that client sends query to DB server. Lets say that this will take 20 minutes for results. But suddenly client's computer lost power. What about that query, Is server going to operate?
    Could you possible explain me this process?
    Thank in advance.

    Generally, the database will continue processing the request until it tries to send results back to the client. At that point, the server process discovers that the client has died and the database session is killed.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Error while sending query result

    Hi all,
    I am working on a JDBC-XI-IDoc scenario. In my sending JDBC adapter configuration, i have given the Query SQL statement as <b>SELECT * FROM SAP_PROMOTION</b> and Update SQL statement as: <b><TEST></b>
    But when i go to adapter monitor, i am seeing an error as follws:
    <b>Error:  Sending query result failed with com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve binding for the given channelId: Binding:CID=875514bc047b3557a5b53dfb5ef4babe; - retry
      last retry interval started 10:54:09 2006-05-25
      length 60,000 secs</b>
    Can anybody help me how to solve this problem.
    Regards,
    Divija

    Divija,
    Am not sure if this is the exact cause for your problem, but would anyways suggest that you take a look at it,
    <i>classes12.zip is not compatible with JDK 1.4.</i>
    From the note : <b>831162</b>
    Oracle JDBC Driver (classes12.zip / classes12.jar) Deadlocks
    <b>Q: I have deployed the Oracle classes12.zip / classes12.jar JDBC driver as per the instructions in the XI Configuration Guide.
    Unfortunately, I frequently notice hanging database connections. A thread dump taken according to the instructions in note 710154 shows one or more blocking JDBC Sender/Reciver threads and optionally that the JVM has detected a deadlock.
    A: The Oracle classes12.zip / classes12.jar driver is compatible with Java 1.2 and Java 1.3 only, but not with Java 1.4. Please upgrade to a current driver (ojdbc14.jar), which does support the Java 1.4 JVM you are using.
    Please make sure that you remove classes12.zip / classes12.jar from aii_af_jmsproviderlib.sda prior to adding the new driver as per the instructions in the answer to question #1 above as you will get a class name collision otherwise (all JARs from aii_af_jmsproviderlib.sda are loaded into the same class loader and the driver class name of both driver versions is the same).
    Before deploying the updated driver, ensure that the new version is still compatible with your Oracle database server release. For details, please refer to the release notes provided by Oracle.</b>
    Regards,
    Bhavesh

  • Sending query result as html email

    hi,
    I have requirement to send query result as html emial to user, is there a possibility to send it?
    database is 11.2.3
    thanks,
    7Z

    Google is your friend
    http://oracle-base.com/articles/misc/email-from-oracle-plsql.php
    https://www.google.nl/search?q=send+email+oracle+database+11g

  • Error occurred while sending query result: 'java.lang.NullPointerException'

    I am doing end to end scenario from SQL server to File
    JDBC --XI -- File
    I am getting the following Error while monitoring the sender CC in RWB
    "Error occurred while sending query result: 'java.lang.NullPointerException'
    Please Help !!

    Hi,
    To see the Adapter Error log, try:
    http://<XiServerHostName>:<J2EE-Port>/MessagingSystem
    Try viewing the Audit Log for each message (Newspaper Icon)
    Regards,
    Amitabha

  • Retrieving Sender Query Details in via BADI (SMOD_RSR00004)

    Hi SDN Community,
    thanks to a posting by Jim, i have got some of the information i require from the below code.
    *     Jim Langerhuizen / July 6 2007
    *     Replace Controlling Area 1000 with hard coded values Z001 and Z002 for Report
    My question is how do i ABAP syntax to populate temporary table
    l_s_table with the I_S_RKB1D_SENDER table.  (this is found when i double click on i_thx_receiver) in the last line of code below.
    I wish to then recoginised the fields that contain.  do you know the syntax and fields:
    - Sender Query name
    - Structure element that is drilled down by the user in the query
    Thank you  in advance
    Simon
    DATA:
    l_s_thx_mapping type rsbbs_sx_map_by_exit,
    l_s_range type RRRANGESID,
    l_s_table type RSR_S_RKB1D.
    DATA:
    CompID type RSZCOMPID.
    FIELD-SYMBOLS:
    <l_sx_mapping> TYPE rsbbs_sx_mapping.
    *     Map 0CO_AREA 1000 to Z001 and Z002
    *     In the source query all profit centers are with controlling area 1000
    *     while in the target query they are split over controlling area Z001 and Z002
    read table i_thx_receiver with key fieldnm = '0CO_AREA'
    assigning <l_sx_mapping>.

    We have taken the approach of customer exit variables in the target query, and specifying variables to catch the required values via the RRI.

  • How to find out sender query by using receiver query in RRI

    Hi,
    I have do some assignment settings .I know receiver query name ,but i don't know sender query name .
    please suggest me how to find out sender query name .
    is there any table /t-code ?
    Thanks,
    EDK.....

    Hello,
    If the receiver query is web report, then goto table RSBBSQUERY and in RONAM field put the web report name.
    You will get the sender query UID in the field ELTUID.
    Now take this UID and goto table RSRREPDIR and put this UID in COMPUID and you will get the query name.
    If the reciever query is bex query then get the UUID as above from RSRREPDIR by providin the tech name and then go to table RSBBSQUERY to get the UID of the sender query.
    Regards
    Shashank

  • Passing Multiple Single Values from Sender Query to Receiver Query in RRI

    Dear All.
    We have 2 - Bex Reports ZBEX_1 & ZBEX_2
    1. In ZBEX_1 having the fileds data like the below.
    Account Doc. Number - Clearing Document --- Amount
    12345                  -  65432                --- 100
    12346                  -  54321               ---  50
    2. In ZBEX_2 having the following data.
    Account Doc.Number -- Amount
    45342                     - 10
    66666                        -  100
    65432                       -   10
    54321                      - 5
    3. I am Traying to create RRI Between ZBEX_1 & ZBEX_2 , with Sender query as ZBEX_1 and Receiver query as ZBEX_2
    If I drilldown from ZBEX_1 need to show the following output in the ZBEX_2
    Account Doc. Number  -  Amount
    65432                       -     10
    54321                      -     5
    i.e If Clearing Documnet in the ZBEX_1 is same as Account Doc. Number in ZBEX_2 those Account Doc. Numbers I have to show in the output of ZBEX_2 RRI Report.
    Both the records I have to show at a time.
    So please suggest me
    1. How to pass Multiple Single Values to Next Query using RRI
    2. How to Map Clearing Document to Account Doc. Number in RRI.
    NOTE: Account Doc. Num length is same as Clearing Document
    Please suggest me.
    Thanks & Regards,
    Kiran Manyam

    Your scenario of passing values from multiple records in Source does not suit well for RRI Jumps.
    In ZBEX_2 query, create a Replacement path variable on Clearing Document. In that Replacement path variable, use the Replacement with query option and choose the ZBEX_1 as the underlying query source.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/589b3c494d8e15e10000000a114084/frameset.htm
    When you execute ZBEX_2, what ever clearing document values that ZBEX_1 has will be passed through the replacement path variable as a filter to the ZBEX_2
    Hope it helps!
    Uday Pothireddy

  • Send query's result via SMS (BW3.0b)

    Hi
    we need to send query's results via sms.
    We're going to use reporting agent (we configured an exception in bex and created a follow up action).
    Now I can only send a SAP office message.
    In order to send a sms, could you help me to understand which are the necessary configuration?
    It is enough configure adequately users?? Is any configuration on the system needed?
    Is any additional component needed? we're working on a BW 3.0B release.
    Thanks in advance for your cooperation.
    Regards,
    Stefania Iandolo

    Hi dear,
    look here to have more info about BEx Mobile Intelligence:
    http://help.sap.com/saphelp_bw30b/helpdata/en/f1/50583cf7388362e10000000a114084/frameset.htm
    Hope it helps!
    Bye,
    Roberto

  • Sending query to third party portal from TREX Search Engine

    HI Experts,
    we need to implement normal search option in SAP portal.
    when we search any thing from portal ,
    It has to search in EP & KM and also it has to search
    windows sharepoint portal and bring the data back to SAP Portal.
    For this purpose one solution is
    1) implementing  enterpise search,
       but my client dont want to go for enterprise search(federated search).
    2) The other way
    Sending query to third party portal from TREX Search Engine
    In this way what i want is ,
    how TREX can send query to third party portal SEARCH ENGINE
    (in my case share point portal search ENGINE).
    There is no problem to search in EP & KM becuse it is default.
    To search in Micro soft Share point portal,
    TREX should pass the query to share point portal search ENGINE.
    Is there any API TO send a query to third party portal like sharepoint?
    I searched in SDN and Other sites also but i am not getting exactly what I require.
    If any one has ideas or implemented already please guide me.
    My client require searching option like this,
    we need to provide drop down box in SAP Portal with 3 options like
    1) search in Share point portal
    2) search in SAP EP & KM
    3) Search in both the portals
    please provide any code samples in case if you have.
    please help me , its urgent
    Thanks in advance.
    Regards
    Bala

    Hi Bala,
    please check the information on the KM IMS (Index Management Service) in KMC's developer guide. A connection to a 3rd party search is done from KM, then calling TREX and XY in parallel, not serially from TREX.
    Here's a paper describing this for an older KM release:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e514b57-0701-0010-3796-deb3636835fa
    Regards, Karsten

  • Regarding Sender query and receiver query

    Hi Masters
          I have one sender query and receiver query. Both queries contain G/L account.
    First I got sender query report, in this report I drill down one free charactteristics field to get correponding field sales document in receiver report.
    Is it mandatory which field i drill down in sender report should be in receiver report?
    Could you please help ?
    Thanks in Advance
    Raja.S

    I would rewrite the first one to:
    Select t.id_entity,t.id_trade_ref,p.am_stock
    from trade t,posting p
    where t.id_trade_ref = '5V973781B'
    and p.id_trade_ref = t.id_trade_ref
    This way, you really make the join between the table.
    I think the join is better because it uses less code. I do not think you will notice much performance win between one or the other, especially because it concerns only a few rows.

  • Sending Query to query template

    Hi,
    is it possible to send query from Html page to query template. for example, i create query template as IDBC server and in fixed query mode without giving any query. just blank. in page generator i mapped with iCommand. Now i want to send query from javascript by using getQueryObject. how to send it?
    -senthil

    Senthil,
    As John indicated, using the built-in query parameter [Param.x] allows you to be very dynamic in your approach, but document.APPLET.getQueryObject().setQuery('SELECT....'); would be the same thing if you just wanted to pass in the whole fixed query statement.
    I may be getting ahead of things, but I can't help but think you are heading down a bad development path by burying all of your queries in the client side script.  You can use iCommand applets as recordset objects, but they will always be client sided, not server sided like ado recordsets in asp.  I've seen far too many system integrator botched applications where the the body onload was used to trigger javascript that attempts to force queries into applets when they have not been initialized by the JRE.  By nature Query Templates themselves can be filled with [Param.x]'s but trying to develop large amounts of application content where the select statements are assembled in client side javascript can lead to all sorts of supportability issues for the customer.  Imagine a customer going to training, and understanding the basics of query templates, and then trying to reverse engineer your page with one query template called "SQLGeneric" and all of the logic buried in javascript.  He/she opens the template and all they find is a FixedQuery with [Param.1] - can you envision their confusion?  Then they look at the 1000 - 2000 lines of javascript that I've seen at times?
    Can you provide the business case as to why you would not create a simpler query template minded approach, or would want to construct the queries this way?
    Regards,
    Jeremy

  • Can anyone give me query to find  in SSHR 1) No. of Changes(Personal Info Update) Requested 2) No. of Processed Requests

    Dear Experts,
    Can anyone give me query to find  in SSHR 1) No. of Changes(Personal Info Update) Requested 2) No. of Processed Requests
    1) No. of Changes(Personal Info Update) Requested
    select COUNT(*)
      from hr_api_transactions
    where process_name like 'HR_PERSONAL_INFO_JSP_PRC'
       and creation_date between '01-JAN-2014' AND '31-DEC-2014';
    How do know whether they were processed successfully
    where to see the meaning of Status column of HR_API_TRANSACTION?
    Thanks
    Rahul

    Hi Rahul,
    For transaction status check the below query -
    select * from fnd_lookup_values
    where lookup_type like 'PQH_SS_TRANSACTION_STATUS'
    and language = 'US';
    Cheers,
    Vignesh

  • Direct Database Request - Incorrect Column Data type

    Hello All -
    hope you can help with this. I'm using the Direct Database Request in Oracle BI to send a complex query directly to our data warehouse. My problem is that the result columns containing my measures are converted to integer by Oracle BI when they should be double. The integer conversion causes decimal values to be rounded, reading to incorrect results in my reports. I've tried several tweeks to my query in an attempt to allow OBIEE to make the correct guess on the data type but nothing has worked.
    Is there a way to force OBIEE to recognize the correct data type for a column in a Direct Database Request Query?
    Thanks in advance for you help!
    Mac

    Thank you both.
    David's response was helpful from a style/readability perspective (the columns in question were complex expressions) but I had already attempted the approach and it hadn't solved the formatting issue. Nico's response solved the problem.
    Regards,
    Mac

Maybe you are looking for

  • How to load a txt file into a table

    Hi, I have a txt file 3 sample records: 25     fff     fff     2012-03-08 13:42:31.0     2012-03-15 14:58:31.0 26     ooo     ooo     null     null 27     ooo     ooo     2012-03-22 10:39:49.0     null I have problems with the nulls: my ctl is like t

  • Using OS 9 on PowerBook G4 running OSX 10.5.8

    I have a PowerBook G4 in good working order running OS 10.5.8. I am trying to migrate upward Pagemaker 7 files from a MacPlus running  OS 6.  I have Adobe InDesign 2 on my PowerBook and this should open Pagemaker 7 files.  I can put my Pagemaker 7 fi

  • How to revert to original image filenames in acr?

    Setup is Photoshop CS4 on Apple platform. ACR was used to batch rename a group of images with the option to preserve original filename in xmp activated. Due to an error when renaming, I now wish to have a few files revert to their original filename.

  • IOS5 Help - I'm at the point where I never want to own an apple product again!

    I have been trying since the day of release to update my Iphone4 and Ipad2 to IOS5... I keep getting the 3002 error message or others depending on if I'm updating or restoring! I have tried every suggestion from every forum, blog and support site and

  • Content file download failed.

    I haven't been able to find anything on this anywhere. Trying to get Windows 8.1 Update (KB2919355) to download, but it keeps failing.  I'm using WSUS 3.2 on Server 2008 R2, 156GB free space on E drive. This error has been occurring since April, but