Returning Current Information against Historical Rows

Hi - Noob question,
I am trying to write a holiday report in OBIEE, the problem I'm having is that the Supervisor displayed by the report is the supervisor at the time of the holiday rather than the current supervisor.  Is there a way (without updating the RPD) to issue an SQL as a column to do something along the lines of:
SELECT "Supervisor"."Supervisor Name" FROM "Human Resources - Workforce Profile" WHERE "Employee"."Employee Number" = "1234567" AND "Time"."Date" = CURRENT_DATE;
thank you

Hi Adrian,
Got it. In that case how about some other writing a custom logical sql that would return the current supervisor (You could get this simply by creating a new analysis and copying that sql) and performing a full outer join with your required analysis.
I know it's gonna be a bit messy, but I see some light with this approach
Dhar

Similar Messages

  • Flashback query: Historical rows not always returned

    Hello all,
    I have a problem using flashback queries, like e.g.
    SELECT id, description, versions_starttime, versions_operation, versions_xid FROM testtable VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE
    The point is, that the historical rows are returned only for a certain period of time. Executing the above query after a certain period of time will result in returning only the current rows in the table (having versions_xxx columns returned as NULL).
    Do you have any ideas how I can fix it so I can always access the historical rows?
    Is it possible to use flashback queries to implement a complete history mechanism (including restore of rows) ?
    Many thanks in advance and best regards,
    Martin

    michaels2 wrote:
    In 11g we now have the option of total recall with this technique.But unfortunately it's not that easy with the current implementation. I wrote a blogpost some time ago about this exact topic: http://rwijk.blogspot.com/2007/11/setting-up-journaling-using-flashback.html
    Regards,
    Rob.

  • Creating TREE REPORT with CHECKBOX against each row

    Hi Friends,
    I need to create a <b>TREE REPORT with  CHECK BOX</b> against each row. when the user selects a row and clicks on a custom button then those should get populated into an internal table. <b>This is HIGH priority</b> one and I have tried my best but couldnt find any solution. Please advise me some sol.
    thanks in advance for your valuable time and help.
    Regards
    srithan
    Message edited by me for easyness
            Reddy

    Hi
    Following code is to add checkboxes in ALV tree:
    FORM add_root_request USING pls_data_ TYPE csg_gs_outtab_p_key__l_is_sub_node_ TYPE c
    CHANGING pl_carrid_key._node = nodes->add_node( related_node = p_key
    relationship = cl_gui_column_tree=>relat_last_child ).
    ... §0.2 if information should be displayed at
    the hierarchy column set the carrid as text for this node
    text = p_ls_data-object.
    node->set_text( text ).
    ... §0.3 set the data for the nes node
    node->set_data_row( p_ls_data ).
    item = node->get_hierarchy_item( ).
    item = node->get_item( 'FCHECKBOX' ). "FCHECKBOX is my radio button field in internal table which I am using to populate the ALV
    item->set_type( if_salv_c_item_type=>checkbox ).
    pl_carrid_key = node->get_key( )._
    CATCH cx_salv_msg.
    ENDFORM_._Following code is for handling checbox_change event
    PERFORM application_action_events.
    FORM application_action_events .
    data: lr_events type ref to cl_salv_events_tree.
    *data gr_events type ref to lcl_handle_events.
    lr_events = gr_tree->get_event( ).
    create object gr_events.
    set handler gr_events->check for lr_events.
    set handler gr_events->on_link_click for lr_events.
    set handler gr_events->on_before_user_command for lr_events.
    set handler gr_events->on_after_user_command for lr_events.
    set handler gr_events->on_keypress for lr_events.
    endform. " application_action_events----
    CLASS lcl_handle_events DEFINITION.
    PUBLIC SECTION.
    METHODS:
    check FOR EVENT checkbox_change OF cl_salv_events_tree IMPORTING node_key columnname checked. "Here node_key is the row number
    ENDCLASS. "lcl_handle_events DEFINITION
    CLASS lcl_handle_events IMPLEMENTATION
    §4.2 implement the events for handling the events of cl_salv_table
    CLASS lcl_handle_events IMPLEMENTATION_._
    METHOD check_._
    WRITE 'hello'_._
    DATA lwa_modify_check_ TYPE REF TO csg_gs_outtab.
    node_key = node_key - 1_._
    READ TABLE csg_gt_list INDEX node_key REFERENCE INTO lwa_modify_check._
    if columnname = 'FCHECKBOX'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->fcheckbox =_ ' '_._
    ELSE_._
    lwa_modify_check->fcheckbox =_ 'X'_._
    ENDIF_._
    ENDIF_._
    if columnname = 'CHECKBOX_READ'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->checkbox_read =_ ' '_._
    ELSE_._
    lwa_modify_check->checkbox_read =_ 'X'_._
    ENDIF_._
    ENDIF_._
    *MODIFY TABLE csg_gt_list from l_wa_modify_check.
    flag_test = flag_test + 1_._
    ENDMETHOD_._ "check
    ENDCLASS_._ "lcl_handle_events IMPLEMENTATION
    Please give me reward points

  • Return Cell information in a Table

    Hi,
    I have a table component with 5 rows and 6 colums and the only item i can select is a position or row.
    Is there any way i can return the information of a particular cell. Or is there any other component that can fetch me the same funcionality? I have data in the table and i have underlined them to show them as links. When users choose a particular cell i want the particular link to open.
    Regards
    Ji

    Hi,
    Are Row6.ph2 and Row7.Cell3 numeric fields ?
    It seems that you're using Javascript. In this case, you should access the value of a field using rawValue (ie Row6.ph2.rawValue).
    You also need to give a relative (this.parent ...) or absolute path (xfa.resolveNode("form.table.Row7")) to access Row6 and Row7, for example :
    this.rawValue=(Number(this.parent.Row6.ph2.rawValue) + Number(this.parent.Row7.Cell3.rawValue));
    if Row6 and Row7 are in the same subform as the total field.
    After testing the script quickly, it seems that if you put the rest of the script in the layoutReady event, it works fine.
    if (this.rawValue <8) {
         this.presence = "hidden";
    } else {
         this.rawValue = this.rawValue - 8;
         this.presence = "visible";
    I don't really know why it doesn't work in the calculate event, there is no error in the javascript console ...
    Anyway, be careful with the layoutReady event though, because if you have a really big form and a lot of script in this event, this could slow the execution / display of your form.
    Regards,
    Thomas

  • DB Update - How to Return the Number of Affected Rows?

    I created a DB Adapter that updates a record. I'd like to know if there is a way to return the affected number of rows. Currently, the DB Adapter Wizard seems not to create a return for the generated XSD.
    Thanks,
    Mark

    > Is it by somehow possible to use some custom query
    for this and use the 'returning'-clause to get the
    results back from the DB-adapter. On these results
    you can do some counts.
    Thanks for your reply.
    I have given a thought to that option too, however the issue is that, in order to use returning clause you have to use a temporary SQL variable which I believe can not be used unless we use a PL/SQL block (Please correct me, if I am wrong).
    I wanted to get away with the option of re-querying the 'SELECT' or a PL/SQL Block. Any suggestions?
    Thanks & regards

  • Plotting Current Value Against Normative Limits

    My application requires me to plot current values against time whilst showing what is normal for the identical time-of-day and day-of-week.  I've got a floating column chart where each column represents a bounded set of normative values.  The columns appear with a linear graph to indicate today's value over time.  You can view that at
    http://www.mdrsesco.biz/ngbl/ngbl.html.  However, I am informed that the attached JPEG of a plot would be better.  Is that possible to code in mxml?  Thanks.

    1) "Powered by Jive Software" ....
    2) 我看看有没有机会通过什么渠道反映这个问题..

  • Print information from a row - Report Builder 3.0 - printer button option?

    Does Report Builder have any way of printing information from a row selection onto a page, rather than the whole report?  I don't think it has a print button option when you create the report? 

    Hi KittyCat101,
    According to your description, you want to select some particular rows when printing the report. Just as you said, there is no such feature in Reporting Services.
    To work around this issue, we can create a parameter with the key field value in the report. Then we can print the particular rows based on the selection in the parameter. For more details, please see:
    Create a multiple parameter named filter in the report.
    Specify Available Values and Default Values from the dataset key field which is acted as filter when printing the report.
    Add a filter as below in the tablix:
    Expression: [Key field]
    Operator: In
    Value: [@filter]
    When we render the report in report builder, it displays all data. While we can select the particular rows in the drop-down list when we want to print the report.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I have a used mac computer. I want to sync and update my iphone. Currently itunes tells me that my iphone is connected to a different itunes account. How do I make itunes sync and update my phone without deleting all the current information on my phone?

    I have a used mac computer. I want to sync and update my iphone. Currently itunes tells me that my iphone is connected to a different itunes account and will sync, but delete everything from my phone. How do I make itunes sync and update my phone without deleting all the current information on my phone?

    Iphone will sync with one and only one cpomptuer at a time.  Syncing to another will erase the current content and replace with content from the new computer.  This is the design of the  iphone.
    It will erase the content when you sync.
    Why not update from the comptuer with which you normally sync?

  • How can I remove my company's iCloud Contacts account from a former employee's iPhone and have the current information removed as well?

    How can I remove my company’s iCloud Contacts account from a former employee's iPhone and have the current information removed from their iPhone at the same time as well? Will just changing the iCloud password be enough? Our company shares an iCloud account for convenience but when someone leaves we don't want the information to stay on their iPhone.

    Changing the password would only block them from accessing the iCloud information.  They would still have access to the local copy on thier phone.  To delete the local information, you would need to go to Settings>iCloud on the phone, tap Delete Account, then choose Delete from My iPhone.  (This only deletes the iCloud account and data from the phone, not from iCloud.)  This, obviously, must be done during the exit process as it requires access to the phone.

  • Public API/Interface name to import the payment information against invoice

    Hi,
    I want to get the Oracle supported Public API/Interface name to import the payment information against invoices(because there is a need to importing payment data against closed invoices from 11.5.5 to R12). Since I am not getting any standard oracle supported method, I am using the API AP_PAY_INVOICE_PKG.AP_PAY_INVOICE but while running it I am getting the following error:-
    Payment API Error =ORA-20001: APP-SQLAP-10000: ORA-28115: policy with check option violation
    occurred in
    AP_AIP_TABLE_HANDLER_PKG.Insert_Row <-AP_PAY_INVOICE_PKG.ap_pay_insert_invoice_payments<-AP_PAY_INVOICE_PKG.ap_pay_invoice<-.
    Regards,

    The below query will meet your requirement, but payment amount won't matches with some cases see below .
    1) Check Payment/EFT Payment for more than one invoice we will pay that time invoice amount is
    not equal to payment amount, Payment amount is greater than Invoice Amount.  This will be controlled in Report level.
    if you develop report using this query, there you can control this issue.
    SELECT aia.vendor_id, aps.vendor_name, aia.invoice_id, aia.invoice_num,
           aia.invoice_date, aia.invoice_currency_code, aia.payment_currency_code,
           aia.invoice_amount, aia.amount_paid, aia.payment_method_lookup_code,
           aia.payment_method_code, aia.SOURCE, aia.invoice_type_lookup_code,
           aia.voucher_num, aca.amount payment, aca.bank_account_name,
           aca.check_id, aca.check_number, aca.currency_code,
           aca.payment_method_lookup_code, aipa.accrual_posted_flag,
           aipa.cash_posted_flag, aipa.posted_flag
      FROM ap_invoices_all aia,
           ap_checks_all aca,
           ap_invoice_payments_all aipa,
           ap_suppliers aps
    WHERE aia.invoice_id = aipa.invoice_id
       AND aca.check_id = aipa.check_id
       AND aia.vendor_id = aps.vendor_id
    if it's meet your requirement pls check the Correct/Helpful Answer for your question.
    you can modify this query here and there as per your required fields.
    Thanks
    Hari

  • Goods Return to Store against Process Order

    Hi,
    Tell me how to do Goods Return to Store against Process Order
    For E.g.
    Process Order X having Material M1 with Requirement Qty 100 Kg as per BOM specification and Issue Qty using COR6 is also 100 Kg but due to less Consumption 20 Kg is required to be returned to store
    So how to have effect of returned 20 KG against Process Order
    Note : I have used MB1C option for Goods Receipt but it won't make any effect in Process Order
    i.e. Requirement Qty  -   100 KG
         Withdrawn Qty     -    100 KG
    But in MMBE it shows 20 KG after receipt from MB1C
    Kunal

    Hi Vivek,
    I tried as per your given direction but it won't worked
    What I required is for E.g.
    Process Order No 11111
    Material No           Mat-A   
    Batch No              Bat-A
    Storage Loc          PM01
    Requirement Qty which is coming from BOM                        120 KG
    Withdrawl Qty either using COR6 or MB1A (261 mov type)     120 KG
    Consider that Process Order is already confirmed and due to some reason All the materials issued against Process Order has to be returned to Store for another Process Order
    When I used MB1A and entered movement type 262 with storage location PM01 then click on To Order Button to enter Reference : Order and click on Tick Button
    It then displayed only those materials which is not yet issued and required to be issued and automatically Movement Type changed to 261
    Please guide
    Kunal

  • Web Service to Validate login information against LDAP

    Hi Fourms,
    I'm creating a web service that will validate login information against Active Directory Server. I'm starting with just validating the user, given a user name and password.
    Right now all I have is the host name, the port number, username and password. I want to use socket connection and use it as a jar file in the application or a jdbc connection to LDAP and authenticate the user.
    Please help!
    Thanks!
    Thanks,
    Sunny1890
    Edited by: Sunny1890 on Mar 20, 2009 9:01 PM
    Edited by: Sunny1890 on Mar 20, 2009 11:24 PM
    Edited by: Sunny1890 on Mar 20, 2009 11:26 PM

    Actually I don't know the right method to invoke a web service. As I posted here they also give SOAP request / response envelop.
    SOAP request / response envelop
    POST /uszip.asmx HTTP/1.1
    Host: www.webservicex.net
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://www.webserviceX.NET/GetInfoByZIP"
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetInfoByZIP xmlns="http://www.webserviceX.NET">
          <USZip>string</USZip>
        </GetInfoByZIP>
      </soap:Body>
    </soap:Envelope>
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetInfoByZIPResponse xmlns="http://www.webserviceX.NET">
          <GetInfoByZIPResult>xml</GetInfoByZIPResult>
        </GetInfoByZIPResponse>
      </soap:Body>
    </soap:Envelope>I just need to make a client to call this WS to get xml doc tree. I don't know static and dynamic invocation, which is the easiest method to go...
    Do I need to study AXIS or any other API to call it, kindly recommend. I just need a client. Do I need to go with these SOAP envelops or I need WSDL to call WS methods?
    Your guidance is valuable for me.
    Very Thanks
    Tahir

  • How to write JSP that returns current time(AJAX)

    how to make jsp returns current system time in response
    i am using the following code
    test.jsp
    <%@page pageEncoding="UTF-8" import="java.util.Date" import="java.util.*" import="java.lang.*"%>
    <%
    out = response.getWriter();
    out.println(System.currentTimeMillis());
    %>where as i am following an .ASP file working well with code
    test.asp
    <%
    response.expires=-1
    response.write(time)
    %>

    Chkeck this out
    Ajax_Time.htm
    <html>
    <body>
    <script type="text/javascript">
    function ajaxFunction()
    var xmlHttp;
    try
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    catch (e)
    // Internet Explorer
    try
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    catch (e)
    try
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    catch (e)
    alert("Your browser does not support AJAX!");
    return false;
    xmlHttp.onreadystatechange=function()
    if(xmlHttp.readyState==4)
    document.myForm.time.value=xmlHttp.responseText;
    xmlHttp.open("GET","time.jsp",true);
    xmlHttp.send(null);
    </script>
    <form name="myForm">
    Name: <input type="text"
    onkeyup="ajaxFunction();" name="username" />
    Time: <input type="text" name="time" />
    </form>
    </body>
    </html>
    time.jsp
    <%@ page import="java.text.*,java.util.*" session="false"%>
    <%!
    DateFormat fmt = new SimpleDateFormat("hh:mm:ss aa");
    String now = fmt.format(new Date());
    %>
    The time is <%= now %>

  • Import CSV Is Incorrect - Misinterprets RETURN within Strings as New Row

    When importing a CSV file into Numbers 3.0.1, it produces bad results, because it interprets RETURNs within strings as new rows, when it should ignore them.
    How can this be worked around?

    If the CSV is properly formatted and the strings that have the carriage return(s) are enclosed in quotes, it works fine  (at least it does for me). If the strings do not have quotes around them, the returns should be interpreted as a new row.
    The workaround would be to somehow get quotes around those strings before importing into Numbers. I'm not sure how to do that except manually in a text editor or for the app that created the CSV to format it correctly.

  • BAPI_MDPROVIDER_GET_HIERARCHIES returns incomplete information

    Has anyone encountered this issue ?
    BAPI_MDPROVIDER_GET_HIERARCHIES returns incomplete information for
    field HRY_NAM.
    According to SAP documentation HRY_NAM field of HIERARCHIES table
    should contain hierarchy name uniquely identified with name, version,
    key day. This field, 41 characters long, consists of the
    following components: hienm30, version3, dateto8. This is stated
    quite unambiguously in all versions of the documentation.
    Any help much appreciated,

    Please do not start duplicate threads.
    properties returned by BAPI_MDPROVIDER_GET_PROPERTIES

Maybe you are looking for

  • How to Remove the 'Bookmarks Toolbar' menu item in Firefox 8?

    I have Firefox 8 on my Windows 7 machine, and I'm trying to get rid of the 'Bookmarks Toolbar' Menu Item. I'd found a way, way back, to do that in an earlier version of Firefox on my XP PC, but I couldn't find anything on the web on how to do this in

  • Questions about forms users once the form is completed

    I am on a Macintosh platform, OX 10.5 (Leopard), using Adobe Acrobat Professional that came with CS3 (version 8 I believe - I am not in front of that computer at the moment). I have creted a few forms in LifeCycle, but now my boss wants this to be co

  • This is not the logical system of controlling area 2000

    Hi,   While creating Activity type / price planning in kp26....i am getting the the information like... "This is not the logical system of controlling area 2000"..   but i am using the company code 3000 which is assigned to the controlling area 2000.

  • Adf Javascript code to complete an input date field

    Hey guys, I have an adf input date field <af:inputDate value="#{MyBean.date}"> <af:clientListener method="onEnterDate" type="keyPress"/> </af:inputDate> I want to implement a javascript function that completes the date field, means: when the user ent

  • Zen Vision M static sounding while playi

    I have a 30gb Zen Vision M and I love the heck out of this thing! I've always been devoted to Creative like a fanboy. I've had a few problems with my Micros(plural, at least 2, both broke cause I'm clumsy) and my original MuVo. Anyways, I've dropped