Segment Count updated date shows a future date

Hi all,
When the cursor is moved on the Segment's count it shows future date as 'Updated Date'.
It's happening for the fresh update count of any Segment/Segment Tree in the application. When the cursor is moved on the counts of any segment which was updated in the past show correct date.
We tried doing a fresh 'Update Counts' and saving the Segment, still when the cursor moved on the count it shows a future date as updated date.
Web server and Analytics server system dates are set to correct date.
But in the Marketing Administration tool sessions show correct dates.
Any quick update/help is greatly appreciated.
Thanks in advance.

with
data_table as
(select 'A' task,date '2013-12-01' started,date '2013-12-05' ended from dual union all
select 'B',date '2013-12-03',date '2013-12-04' from dual union all
select 'C',date '2013-12-04',date '2013-12-05' from dual union all
select 'D',date '2013-12-06',date '2013-12-07' from dual
date_periods as
(select date '2013-12-01' started,date '2013-12-03' ended from dual union all
select date '2013-12-03',date '2013-12-04' from dual union all
select date '2013-12-04',date '2013-12-05' from dual union all
select date '2013-12-06',date '2013-12-07' from dual
select to_char(p.started,'yyyy-mm-dd') "Start",
       to_char(p.ended,'yyyy-mm-dd') "End",
       count(*) "Count",
       '('||listagg(t.task,',') within group (order by t.task)||')' "(Jobs)"
  from date_periods p
       left outer join
       data_table t
    on greatest(t.started,p.started) < least(t.ended,p.ended)
group by p.started,p.ended
order by p.started
Start
End
Count
(Jobs)
2013-12-01
2013-12-03
1
(A)
2013-12-03
2013-12-04
2
(A,B)
2013-12-04
2013-12-05
2
(A,C)
2013-12-06
2013-12-07
1
(D)
Regards
Etbin

Similar Messages

  • System Message Shows in  Future Date

    Dear Experts,
    In Our SAP BI System , The System Message SM21 shows in Current & future date both problem messages
    SAP Server OS and SAP BI Application Time and date both are in sync
    The BI system which is connected to ECC PRD also having a sync
    Remote monitoring are not configured in this system,
    System Log: Local Analysis of GEEPASBIPRD                  2
    Date : 22.12.2010
    Time     Type Nr  Clt User         TCode Priority Grp N Text
    10:02:54 DIA  001 350 GPKWTHOFI03                 BY  E Invalid parameter ObjTooLar
    10:04:07 DIA  001 350 GPKWTHOFI03                 BY  E Invalid parameter ObjTooLar
                       System Log: Local Analysis of GEEPASBIPRD                  3
    Date : 02.01.2201
    Time     Type Nr  Clt User         TCode Priority Grp N Text
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:90           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    20:20:90           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    40:20:81           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    71:31:41           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    71:31:41           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    90:20:84           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
                       System Log: Local Analysis of GEEPASBIPRD                  4
    Date : 03.01.2201
    Time     Type Nr  Clt User         TCode Priority Grp N Text
    00:20:85           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
    00:20:85           35  BIWREMOTE                  hB  Y Missng:TSL1TE,hBY):154 EXE
                      System Log: Local Analysis of GEEPASBIPRD
              C o n t e n t s
    Content            Page         Start          End
    Selection criteria   1
                         2  22.12.2010 10:02:54 22.12.2010 10:04:07
                         3  02.01.2201 20:20:84 02.01.2201 90:20:84
                         4  03.01.2201 00:20:85 03.01.2201 00:20:90
                         5  02.01.3201 01:23:65 02.01.3201 90:40:42
                         6  03.01.3201 00:40:41 03.01.3201 11:62:24
                         7  02.01.4201 01:22:30 02.01.4201 90:40:42
                         8  03.01.4201 00:40:41 03.01.4201 11:62:24
                         9  02.01.7201 11:42:21 02.01.7201 31:71:95
                        10  02.01.9201 01:22:30 02.01.9201 81:41:10
                        11  03.01.9201 00:95:23 03.01.9201 11:11:94
                        12  02.01.A201 01:22:30 02.01.A201 81:41:10
                        13  03.01.A201 00:95:23 03.01.A201 11:62:24
                        14  02.01.E201 11:24:13 02.01.E201 71:50:52
                        15  02.01.I201 01:22:30 02.01.I201 81:41:10
                        16  03.01.I201 00:95:23 03.01.I201 11:62:24
                        17  02.01.R201 01:22:30 02.01.R201 81:41:10
                        18  03.01.R201 00:95:23 03.01.R201 11:62:24
    Contents            19
    Thanks
    Jai

    Hi Thahir,
    I deleted the SLOG and Restarted the system now its not showing the future date,
    Issue resolved.
    Thanks ,
    Jai

  • Inserting/Updating data pertaining to future or past

    I am considering to use OWM to implement several lookup tables that need to keep track of data versions over time.
    One of the requirements of the application is the capability to insert or update data at any point in time, but this data should only (automatically) be available for lookup at some future point in time.
    Similarly, I need the capability to insert/update data with an effective date at some point in time in the past.
    Is it possible to make data effective from some point in the future or past with OWM ?

    The current 9.2.0.3.0 release of Workspace Manager includes support for Valid Time.
    After enableversioning a table with the Valid Time option, you will be able to insert/update rows that are associated with a particular valid time range. A procedure, setValidTime, can be used to specify the interval for which rows are effectively inserted, updated, and deleted. This date interval can also be used to limit which rows are returned from a select query.
    The documentation for the 9.2.0.3.0 release includes all the additional information pertaining to valid time support.
    Ben

  • To show Last Update Date(Date datatype) as per User Preferred TimeZone

    VO RuleSetVO.xml has a timestamp attribute LastUpdateDate.In UI,this VO is shown in table format and the last update date is shown in date format and there is QBE filter enabled on it.
    As there is a QBE enabled on last update date and our filltering view criteria requires a date attribute,we have made use of a transient date datatype attribute LastUpdateDateQBE which gets the value from the LastUpdateDate in VOrowImpl and LastUpdateDateQBE (date attribute) is shown in UI.
    Now,we have a requiement to show the date in UI in user preferred time zone instead of DB server timezone.
    Any pointers to the solution??
    Note:
    1.LastUpdateDateQBE is a date attribute,cannot use <timeZone="#{applCorePrefs.UPTZ}"/> as this doesnt hold good on date attribute
    2.There might be differences between the DB server timezone and the timezeone in which the database records are stored i.e both might not be in sync always.
    Jdev and ADF information:
    ade:[ amujahed_rupaug08 ] [amujahed@indl64066 fusionapps]$ jdev getJdevAdfLabelInformation
    Primary == FUSIONAPPS_PT.11.1.1_LINUX.X64_110807.0800.S (Primary Product for the view)
    Primary depends on FMWTOOLS == FMWTOOLS_11.1.1.5.0_GENERIC_110505.0801
    FMWTOOLS depends on label == JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    The above label originated from base label == JDEVADF_MAIN_GENERIC_090903.1833.5483

    I would have to think that someone on the fusion apps team has already dealt with something like this - why not ask your peers instead of a public forum (we don't know all the ins-and-outs of fusion apps and any utility methods that may be available for you)
    John

  • Query to showed all level of BOM details, sort by create/update date

    Hi expert,
    I need a query to display all the level of BOM and can be sort by create / update date.
    The display of query should be as below:
    A (1st level) Parent BOM
    B (2nd level) Child BOM 1
    B (2nd level) Child BOM 2
    C (3rd level)  Child BOM 2 - 1
    C (3rd level)  Child BOM 2 - 2
    B (2nd level) Child BOM 3
    B (2nd level) Child BOM 4
    Below is the BOM  query that can only display up to 2nd level and cannot sort by date.
    Can someone please help to modify or there is a better query?
    Thanks
    Declare @BOMDetails table(TreeType Nvarchar(MAX),PItem NVARCHAR(Max),PName NVARCHAR(MAX),CItem  NVARCHAR(Max),CName NVARCHAR(MAX),[Quantity] Numeric(18,2),[UoM] NVARCHAR(MAX),[WareHouse] NVARCHAR(MAX),[IssuMethod] NVARCHAR(MAX),[PriceList] NVARCHAR(MAX))
    INSERT Into @BOMDetails
    SELECT T1.TreeType ,T0.Father AS [Parent Code], T2.ItemName AS [Parent Description], T0.Code AS [Child Code],
    T1.ItemName AS [Child Description], T0.Quantity ,T0.Uom ,T0.Warehouse ,T0.IssueMthd,T0.PriceList  
    FROM ITT1 T0 INNER JOIN OITM T1 ON T0.Code = T1.ItemCode
                 INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    Union All
    SELECT ' ',T0.Father as [Parent Code], T2.ItemName AS [Parent Description], ' ', ' ', 0, ' ',' ',' ' , 0 FROM ITT1 T0 INNER JOIN OITM T1
    ON T0.Code = T1.ItemCode INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    Group By T0.Father,T2.ItemName
    ORDER BY T0.Father,t0.Code
    update @BOMDetails set PItem='' ,PName='' where TreeType='N' or TreeType='P'
    Select PItem as[Parent Code] ,PName as [Parent Description],CItem as [Child Code],CName as [Child Description],Quantity,UoM,IssuMethod ,PriceList    from @BOMDetails

    Hi,
    Try this query and modify as per your requirement:
    SELECT
    T0.[Father] as
    'Assembly',T0.[code] as 'Component1', t10.[ItemName]
    'Description1',T1.[Code] as 'Component2', t11.[ItemName]
    'Description2', T2.[Code] as 'Component3', t12.[ItemName]
    'Description3', T3.[Code] as 'Component4', t13.[ItemName]
    'Description4',T4.[Code] as 'Component5', t14.[ItemName]
    'Description5', T5.[Code] as 'Component6', t15.[ItemName]
    'Description6'
    FROM
    ITT1 T0 LEFT OUTER
    JOIN ITT1 T1 on T0.Code = T1.Father LEFT OUTER JOIN ITT1 T2 on
    T1.Code = T2.Father LEFT OUTER JOIN ITT1 T3 on T2.Code = T3.Father
    LEFT OUTER JOIN ITT1 T4 on T3.Code = T4.Father LEFT OUTER JOIN ITT1
    T5 on T4.Code = T5.Father LEFT OUTER JOIN ITT1 T6 on T5.Code =
    T6.Father left outer join oitm t20 on t0.father = t20.itemcode left
    outer join oitm t10 on t0.code = t10.itemcode left outer join oitm
    t11 on t1.code = t11.itemcode left outer join oitm t12 on t2.code =
    t12.itemcode left outer join oitm t13 on t3.code = t13.itemcode left
    outer join oitm t14 on t4.code = t14.itemcode left outer join oitm
    t15 on t5.code = t15.itemcode
    Thanks & Regards,
    Nagarajan

  • Parent action activity task flow does not show updated data

    Hi,
    I am using bounded task flows in my application.
    Task Flow A has to view activites - X and Y.
    In Y - I have another task flow B,within which I have a region to update data in the VO.
    After I update the data, I need to navigate back to activity X in task flow A.
    So I have used a parent action activity.But the latest data is not being displayed on X.
    Can you please let me know how I can deal with this.
    Thanks,
    Malathy.

    Hi,
    I have created a invoke action executable on the Page Def of Activity X.
    I have set the refresh as ifNeeded and RefreshCondition as ${!adfFacesContext.postback}.
    Do I need to do it somewhere else?
    Also will check about the parameter.
    Thanks,
    Malathy.

  • Viewing the updated date in Address Book

    Does anybody know a consistent way to view the "updated date" on an Address Book card if you have lengthy notes for every contact?
    In Apple's desire to keep things beautiful instead of functional, they have placed a very light "updated date" status in the lower right-hand corner of each contact card in the Address Book.
    However, if you have lengthy notes for that contact, you CAN'T SEE the updated date at all, because the notes obscure the updated date! The ONLY way that we have been able to figure out how to see the updated date is to select all of our notes for the card, CUT the notes to our clipboard, look at the updated date, and then PASTE the notes back into the contact card again.
    Ridiculous, right?!
    Any ideas on this? ALSO -- while we're on the topic -- does anybody know of a way to show the updated TIME in conjunction with the date?
    Thanks,
    Scott

    Does anybody know a consistent way to view the "updated date" on an Address Book card if you have lengthy notes for every contact?
    Other than expanding the size of the Address Book window, there is no way to accomplish that.
    does anybody know of a way to show the updated TIME in conjunction with the date?
    That cannot be done at the present time, though it's possible that Apple may add that feature or option in the future.
    Mulder

  • Cannot update data from DSO to Cube with further update in process chain

    Hi Guys,
                  This is the message am getting when am trying to update to cube by process further update with process chain.Process fails at further update with the following below message.
    However at DSO level i can see the data mart status but no request at cube level.
    Error Message:
    Cannot update request REQU_D57WAP7Z2WAI1CG5Y5OQ5W7JR in data target
        Message no. RSM1523
    Diagnosis
        System checks show that request REQU_D57WAP7Z2WAI1CG5Y5OQ5W7JR cannot be
        updated to a data target.
        The system checked whether
        o   request REQU_D57WAP7Z2WAI1CG5Y5OQ5W7JR is already in the data target
        o   the data target has active update rules for the InfoSource
        o   the data target was selected for updating
        o   locks exist
        o   for a DataStore object as a data target, that the request was
            updated in the correct order, if the DataStore object stipulates
    When i check the monitor screen under status tab it says "A caller 01, 02 or equal to or greater than 20 contains an error meesage" and under details tab "Data Package 1 : arrived in BW ; Processing : Data packet not yet processed "
    Regards,
    Krishna.
    Edited by: krishna Krishna on Mar 4, 2009 6:37 PM

    Hi
    It seems you used infopack when you select update data inot datatarget then system prompts you a infopack.That's the infopack which is generated by system being used in process chain variant to update data into datatarget.
    Create new infopack/ DTP manually then use that infoapck/DTP on the process chain variant then try.
    Chandu.

  • Vendor ID, Last Update Date, Invoice Details - Query

    For each Supplier, we would like to know the vendor ID, vendor number, vendor name, vendor site code, Created Date, Last Update Date, last invoice date, last payment date, total number of invoices and total $ amount of invoices for each supplier.
    1) How do i find the last payment date and supplier catagory?
    2) As i have to use sum(invoice_amount), count(invoice_amount), max(payment_date) which point to 3 different tables, i am not sure how to use "group by" based on the Vendor_id alone while i select lot of fields from different table. Could you please help me with this?
    3) Please help me to get this query fixed.

    1) You can get last_payment_date by joining vendor_id to ap_invoices_all and the joining invoice_id with ap_invoice_payments_all to get the max accounting_date (i.e. last payment date)
    2) You are partially right. Invoice_amount and invoice_count are from the same table so you have to join 2 tables. Best way is to do a select in the select.
    e.g SELECT   pv.vendor_name, COUNT (1), SUM (invoice_amount), pv.vendor_id,
             (SELECT MAX (aipa.accounting_date)
                FROM ap_invoice_payments_all aipa, ap_invoices_all aia2
               WHERE aia2.vendor_id = pv.vendor_id
                 AND aia2.invoice_id = aipa.invoice_id) latest_payment
        FROM ap_invoices_all aia, po_vendors pv
       WHERE aia.vendor_id = pv.vendor_id
    GROUP BY pv.vendor_name, pv.vendor_idSandeep Gandhi

  • How to trigger pop-up window in report and update data base from report

    Hi All,
    I have a requirement, in a report output list to trigger a pop up window with some rejection codes corresponding to each sales order when i select from the output list. Also i need to update data base by selecting one of the rejection code in the pop-up window list for that sales order. Can any one please let me know how to achive this.
    Also, i have check boxes for each record in the output list. Also, i have added one more check box as "Select All'. When select 'Sleect All' check box , all check boxes need to be checked, how to achieve this. PLease let me know.
    Thanks in advance.
    Regards,
    Rajesh

    Hi check this code of editable ALV report... I updated the data base with the changes made..in the editable ALV
    *& Report ZJAY_EDIT_ALV
    REPORT zjay_edit_alv.
    * TYPE-POOLS *
    TYPE-POOLS: slis.
    * INTERNAL TABLES/WORK AREAS/VARIABLES
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
    i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
    w_field TYPE slis_fieldcat_alv,
    p_table LIKE dd02l-tabname,
    dy_table TYPE REF TO data,
    dy_tab TYPE REF TO data,
    dy_line TYPE REF TO data.
    * FIELD-SYMBOLS *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
    <dyn_wa> TYPE ANY,
    <dyn_field> TYPE ANY,
    <dyn_tab_temp> TYPE STANDARD TABLE.
    * SELECTION SCREEN *
    PARAMETERS: tabname(30) TYPE c DEFAULT 'MARA',
    lines(5) TYPE n DEFAULT 7.
    * START-OF-SELECTION *
    START-OF-SELECTION.
    * Storing table name
    p_table = tabname.
    * Create internal table dynamically with the stucture of table name
    * entered in the selection screen
    CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_table->* TO <dyn_table>.
    IF sy-subrc <> 0.
    MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
    LEAVE TO LIST-PROCESSING.
    ENDIF.
    * Create workarea for the table
    CREATE DATA dy_line LIKE LINE OF <dyn_table>.
    ASSIGN dy_line->* TO <dyn_wa>.
    * Create another temp. table
    CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_tab->* TO <dyn_tab_temp>.
    SORT i_fieldcat BY col_pos.
    * Select data from table
    SELECT * FROM (p_table)
    INTO TABLE <dyn_table>
    UP TO lines ROWS.
    REFRESH <dyn_tab_temp>.
    * Display report
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'SET_PF_STATUS'
    TABLES
    t_outtab = <dyn_table>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *& Form SET_PF_STATUS
    * Setting custom PF-Status
    * -->RT_EXTAB Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZSTANDARD'. "copy it from SALV func group standard
    ENDFORM. "SET_PF_STATUS
    *& Form user_command
    * Handling custom function codes
    * -->R_UCOMM Function code value
    * -->RS_SELFIELD Info. of cursor position in ALV
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    * Local data declaration
    DATA: li_tab TYPE REF TO data,
    l_line TYPE REF TO data.
    * Local field-symbols
    FIELD-SYMBOLS:<l_tab> TYPE table,
    <l_wa> TYPE ANY.
    * Create table
    CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN li_tab->* TO <l_tab>.
    * Create workarea
    CREATE DATA l_line LIKE LINE OF <l_tab>.
    ASSIGN l_line->* TO <l_wa>.
    CASE r_ucomm.
    * When a record is selected
    WHEN '&IC1'.
    * Read the selected record
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
    rs_selfield-tabindex.
    IF sy-subrc = 0.
    * Store the record in an internal table
    APPEND <dyn_wa> TO <l_tab>.
    * Fetch the field catalog info
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = p_table
    CHANGING
    ct_fieldcat = i_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Make all the fields input enabled except key fields
    w_field-input = 'X'.
    MODIFY i_fieldcat FROM w_field TRANSPORTING input
    WHERE key IS INITIAL.
    ENDIF.
    * Display the record for editing purpose
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    it_fieldcat = i_fieldcat
    i_screen_start_column = 10
    i_screen_start_line = 15
    i_screen_end_column = 200
    i_screen_end_line = 20
    TABLES
    t_outtab = <l_tab>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    * Read the modified data
    READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
    * If the record is changed then track its index no.
    * and populate it in an internal table for future
    * action
    IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
    <dyn_wa> = <l_wa>.
    i_index = rs_selfield-tabindex.
    APPEND i_index.
    ENDIF.
    ENDIF.
    ENDIF.
    * When save button is pressed
    WHEN 'SAVE'.
    * Sort the index table
    SORT i_index.
    * Delete all duplicate records
    DELETE ADJACENT DUPLICATES FROM i_index.
    LOOP AT i_index.
    * Find out the changes in the internal table
    * and populate these changes in another internal table
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
    IF sy-subrc = 0.
    APPEND <dyn_wa> TO <dyn_tab_temp>.
    ENDIF.
    ENDLOOP.
    * Lock the table
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Modify the database table with these changes
    MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
    REFRESH <dyn_tab_temp>.
    * Unlock the table
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table.
    ENDIF.
    ENDCASE.
    rs_selfield-refresh = 'X'.
    ENDFORM. "user_command

  • Need to automatically display update date and user in update form field

    Hi all,
    Hopefully someone can help me with this... I am using dreamweaver cs4 and php/mysql.  I have a database table that will be updated by 1-5 different people at random times.  I have everything set up and working, as far as the update function, delete function, add new, etc.  In my update form the last two fields are Last Updated and Last Updated By.  There are fields in the table called 'last_updated' (formatted in PHPmyadmin as timestamp) and 'last_updated_by'.  But how do I get them to update on their own?  Right now it is showing the first entry into the field which I did in the PHPmyadmin table, but it is not updating automatically.  It would be a nice field to have so that we know who has worked on the table and when it was last updated, without the user manually typing that in, which I am sure they would forget to do.  By the way, users will login to this with a username and password before editing the records.
    This is the code for the last row in the update form with those two fields.  It is pulling the fields from the database table, but they do not update automatically...
    <tr>
              <th class="blackfont" scope="row">
                <div align="right">
                  <label for="last_updated">Last Updated Date:</label></div>
              </th>
              <td colspan="3" class="blackfont"><input name="last_updated" type="text" id="last_updated" tabindex="47" value="<?php echo $row_getMember['last_updated']; ?>" size="15" />
                <label for="last_updated_by">Last Updated By:</label>
                <input name="last_updated_by" type="text" id="last_updated_by"tabindex="48" value="<?php echo $row_getMember['last_updated_by']; ?>" size="15" /></td>
    </tr>
    Thanks!
    Kathy

    Here is all the code the the Admin Login page...
    <?php session_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/TherapyPetsTemplate2.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>TPGC Administrative Login Page</title>
    <!-- InstanceEndEditable -->
    <link href="css/twoColFixLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="JavascriptFiles/mootools.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body {
    background-color: #FFF;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 25px;
    margin-right: 25px;
    background-image: url(Images/images-2.jpg);
    background-repeat: repeat;
    .twoColFixLtHdr #container #webstunning_video_player {
    margin-top: 15px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    -->
    </style>
    <script src="ajxmenu.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body,td,th {
    color: #FFF;
    font-size: 100%;
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    .Italic {
    font-style: italic;
    -->
    </style><link rel="stylesheet" href="ajxmenu1.css" type="text/css" />
    <script src="ajxmenu1.js" type="text/javascript"></script>
    <link rel="stylesheet" href="ajxmenu2.css" type="text/css" />
    <script src="ajxmenu2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="ajxmenu4.css" type="text/css" />
    <script src="ajxmenu4.js" type="text/javascript"></script>
    <!-- InstanceBeginEditable name="head" -->
    <script language='JavaScript' type='text/javascript' src='HDWRegistrationAndLogin/validatescripts.js.php'></script>
    <!-- InstanceEndEditable -->
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28303973-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
    <div id="header">
    <!-- end #header -->
    </div>
    <div class="AJXCSSMenuScYdSZA"><!-- AJXFILE:../ajxmenu4.css -->
    <ul>
    <li><a href="Index.html">Home</a></li>
    <li><a class="ajxsub" href="AboutUs.html">About Us</a>
      <ul>
       <li><a href="AboutUs.html">About Our Group</a></li>
       <li><a href="Board%20of%20Directors.html">Board of Directors</a></li>
       <li><a href="ServicesWeProvide.html">Services We Provide</a></li>
       <li><a href="TPGCintheNews.html">TPGC in the News</a></li>
      </ul>
    </li>
    <li><a href="Facilities.html">Facilities</a></li>
    <li><a class="ajxsub" href="GetStarted.html">Get Involved</a>
      <ul>
       <li><a href="DoesYourPetHaveWhatItTakes.html">Does Your Pet Have What it Takes?</a></li>
       <li><a class="ajxsub" href="GetStarted.html">Get Started</a>
        <ul>
         <li><a href="Training.html">Training</a></li>
         <li><a href="Testing.html">Testing</a></li>
        </ul>
       </li>
      </ul>
    </li>
    <li><a class="ajxsub" href="HowYouCanHelp.html">How You Can Help</a>
      <ul>
       <li><a href="HowYouCanHelp.html">Ways to Help</a></li>
       <li><a href="DonorsList.html">Our Donors and Sponsors</a></li>
      </ul>
    </li>
    <li><a class="ajxsub" href="MemberProfiles.html">Happy Tales</a>
      <ul>
       <li><a href="MemberProfiles.html">Member Profiles</a></li>
       <li><a href="MemberStories.html">Member Stories</a></li>
       <li><a href="Testimonials.html">Testimonials</a></li>
       <li><a href="PhotoGalleries.html">Photo Gallery</a></li>
      </ul>
    </li>
    <li><a href="FAQs.html">FAQs</a></li>
    <li><a href="Links.html">Links</a></li>
    <li><a href="Form-ContactUs.html">Contact Us</a></li>
    <li><a class="ajxsub" href="#">Login</a>
      <ul>
       <li><a href="MemberLogin.php">Member Login</a></li>
       <li><a href="BoardLogin.php">Board Login</a></li>
       <li><a href="AdminLogin.php">Admin Login</a></li>
      </ul>
    </li>
    </ul>
    <br />
    </div>
    <div id="sidebar1">
       <div>
        <div align="center">
        <br />
    <br />
    <div id="Events">
    <br />
    <div class="EventsHeading" id="EventsHeading">Upcoming Events</div>
    <br />
    <span class="EventsText">
          <!--Date-->
          </span>
          <span class="EventsDate">March 11th</span>
          <span class="EventsText">
    <!--Event Name-->      Members Meeting
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    <strong class="MemberPageItemFont">CANCELLED! </strong></span>
    <br />   
    <span class="EventsDate">March 25th</span>
          <span class="EventsText">
    <!--Event Name-->Testing
    <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    12-3 pm   At Bethesda North Hospital. Please contact <a href="mailto:[email protected]?Subject=Sign up for Testing March 25th">Elaine Waxler</a> to sign up for testing, or <a href="mailto:[email protected]?Subject=Question about Testing March 25th">Glenna Mockbee</a> for more details.</span>
    <br />
          <span class="EventsDate">April 15th</span>
          <span class="EventsText">
    <!--Event Name-->      Board Meeting
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    12-3 pm   At Bethesda North Hospital. Please contact <a href="mailto:[email protected]?Subject=Delta Testing Question">Glenna Mockbee</a> for details.</span>
    <br />
          <span class="EventsDate">May 20th</span>
          <span class="EventsText">
    <!--Event Name-->      Member Luncheon
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    10-4 pm   At Bethesda North Hospital. More details to come.</span>
    <br />
    </div>
        </div>
        <br />
          <hr align="center" width="200" />
          <div align="center"><a href="http://www.facebook.com/pages/Therapy-Pets-of-Greater-Cincinnati/324108054289534?skip_nax_ wizard=true#!/pages/Therapy-Pets-of-Greater-Cincinnati/324108054289534?sk=wall" target="_blank"><img src="Images/Facebook.jpg" alt="Facebook" width="144" height="44" border="0" /></a><br />
            <br />
          </div>
          <hr align="center" width="200" />
          <div align="center">
          <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="TB844UZWVAUVU"><br />
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    <br />
            <br />
    <hr align="center" width="200" />
    <!-- InstanceBeginEditable name="SideBar" -->
        <div>
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
    <br />
    <br />
        </div>
        <!-- InstanceEndEditable --><br />
      <br />
      <br />
          </div>
    </div>
    </div>
    <!-- InstanceBeginEditable name="MainContent" -->
    <div id="mainContent">
    <span class="GreenHeadingH2">Admin Login</span>
      <br />
      <br />
      <br />
      <br />
    <div align="center"> 
      <p><span class="UnderConstructionFont"><em><strong>***UNDER CONSTRUCTION - PLEASE DO NOT USE YET!</strong></em></span>***</p>
      <p> </p>
      <p><span class="UnderConstructionFont"><em>Please login to manage TPGC lists and information.</em></span><em></em></p>
      <p> </p>
      <p>
    <?php if (!$_SESSION["logged_3"]) { ?>
      </p>
      <form id="hdwlogin" name="hdwlogin" method="post" action="http://www.therapypetsofgreatercincinnati.org/AdminPage.php" onsubmit="return HDW_verify_Login(this)">
        <div id="hdwdivlogin">Enter your username:<br />
          <input type="text" name="username" id="username" />
          <br />
          Enter your password:<br />
          <input type="password" name="password" id="password" />
        </div>
        <div id="hdwdivILMP" style="display:none;"> Enter your email:<br />
          <input type="text" name="hdwILMPemail" id="hdwILMPemail" />
          <br />
          <input type="button" onclick="javascript:HDW_submitILMP()" value="Submit" />
          <a href="javascript:HDW_showLogin()">Login Again</a></div>
        <input type="hidden" name="hdwtable" id="hdwtable" value="3" />
        <input type="hidden" name="hdwokurl" id="hdwokurl" value="http://www.therapypetsofgreatercincinnati.org/AdminPage.php" />
        <br />
        <div id="hdwdivLink" >
          <p>
            <input type="submit" name="subbtn" id="subbtn" value="Submit" />
            </p>
          <p><a href="javascript:HDW_showILMP()">I lost my password</a></p>
        </div>
      </form>
      <p>
        <?php } else { ?>
        Logged as <?php echo $_SESSION["logged_username"]; ?>.
        <br />
      <br />
      <a href="javascript:HDW_logout()">Click here to logout</a>.
      <?php } ?>
      </p>
      <p> </p>
       <p><span class="Caption">To change your password, contact <a href="mailto:[email protected]?Subject=Change my TPGC board password">webmaster</a></span><br />
    </div>
    </div>
    <!-- InstanceEndEditable --><br />
    <br class="clearfloat" />
    <div id="footer">
        <p><img src="Images/x-knead[1].gif" width="98" height="47" align="absmiddle" />        Copyright 2012 Therapy Pets of Greater Cincinnati, a 501(c)(3) organization     Last Updated
          <!-- #BeginDate format:Am3 -->02/25/2012<!-- #EndDate -->           Website by <a href="mailto:[email protected]?Subject=Question or Comment for Webmaster">Kathy McRoberts</a>        <img src="Images/terrier15.gif" width="63" height="60" align="absmiddle" />
          <!-- end #footer -->
          <br />
        </p>
    </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>

  • Sort all the Records in Data manager based on Update Date

    How to sort the reocrds in Data Manager based on Date or something ?
    And also I have three records for a same customer in ( for three different company codes ) and when I search for this customer with the Customer number then it is showing three records , but when I search with Update Date then no records are fetched ...what is the reason ?

    If you make a field as type "Time Stamp" in your data model using the MDM Console, make sure that the option Sort Index is set to Normal.  If this is the case, whenever a record is updated in the repository, the date will be updated.  If the sort index is normal, then MDM will allow you to sort the records based on the date and time by which they were updated.  You can do this by finding your time stamp field in the MDM data manager and clicking on it.  If there is an up and down arrow next to the name of your field, it means it can be sorted.  Also, to answer your other question, you can definitely search based on date.  Use the Free-Form Search on the left hand side of the data manager at the bottom of the screen.  Simply select a date, and it will show you all the records updated on that date.

  • Process Chain : Read PSA and Update Data Target in BI 7.0

    Hello Experts,
    In my Process Chain I have a variant Execute Infopackage to load the data only into PSA. then I have next variant as *Read PSA and Update Data Target*. my data target was a Master Data table Hierarchy
    In the variant " Read PSA and Update Data Target". the selection Parameters were
    PSA.Table : 0GLACCEXT_T011_HIER_BA1
    Selection Object Type : same Infopackage in Varaint Execute Infopackage
    the Error message was Variant doesnot contain a valid combination request/data target
    I checked the PSA-Table using RSA1OLD Transaction then I find four PSA Tables:
    0GLACCEXT_T011_HIER_BA1
    0GLACCEXT_T011_HIER_BA2
    0GLACCEXT_T011_HIER_BA3
    0GLACCEXT_T011_HIER_BA4
    All the requests are linked to PSA Table *0GLACCEXT_T011_HIER_BA4*.
    I can't understand why there exists four PSA Tables?
    I try to link the PSA-table 0GLACCEXT_T011_HIER_BA4 in the variant *Read PSA and Update Data Target and try to save it it raises short dump.
    If I select 0GLACCEXT_T011_HIER_BA1 in the varaint I shouldn't face any problems.?
    but the process chain raises an Error message Variant doesnot contain a valid combination request/data target with this variant.
    How shall I handle this issue?
    Please carify me the issues as soon as possible.
    thanks in advance
    Regards
    sailekha

    Hello,
    In the Variant Read PSA and Update Data Target I have to select  the PSA Tabelle Name from the preselection list in the System it shows me all the four PSA Tables that I mentioned.
    I can select any one of them. So I trieed with all the four PSA Tables in the list but I can selct only the XXXX......BA1 table  then only I can save and  include it in the PC. If I select the remaining tables BA2, BA3, BA4.........while I try to save the Variant it raises short dump.
    I checked the PSA using the Transaction  RSA1OLD under PSA...... I find 4 PSA Tables( I don't know whether they are PSA Tables or not but in the Variant it states that they are PSA Tables) in which all the requests are attached to BA4. only.
    I observed that ony for Hierarchies I find four PSA tables for remaining one only one PSA table was available.
    I totally confused how to handle this situation. any suggestions......... please help me to resolve this problem.
    Thanks & Regards

  • Need help in UPDATE data in SQL Query

    Hi all,
    I am trying to update data in the sql table as per below screenshot but couldn't able to do it. Can anyone help to update the data as I mention in screenshot.Appreciate you help.Thanks.
    Yellow highlighted columns are source
    Green highlighted columns are target
    Colored data should be update as per source data in sql table.Data is not static as it might have more rows to update and query should be bit dynamic.
    Maruthi...

    You have already asked this question once. You did not get any good answers, because you the information you gave was insufficient. And I'm afraid that the information is still in sufficient.
    Or more exactly, from the example you have given, the answer is: can't be done. And the reason it can't be done, is as I explained in response to you first thread: there is no information in the data to from which we can deduce that Clorox Company
    should be under "Week 1-1,K.B,F". The fact that rows are listed in a certain order in the screenshoot is of no importance, because a table is an unordered object.
    But you said in another post that you have a timestamp column. Maybe that column is usable - maybe it is not. But at least it is a key that you have more columns that the ones you show.
    The best way to get help with this type of problems is to post:
    1) CREATE TABLE statement for your table(s).
    2) INSERT statements with sample data.
    3) The desired result given the sample.
    4) A short description of the actual buisness problem you are trying to solve.
    5) Which version of SQL Server you are using.
    This makes it easy to copy and paste into a query window to develop a tested solution. Screenshots with an insufficient amount of data is not going to help you very much.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to get new and updated data into LO Excel in Xcelsius

    Dear Experts,
    I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
    To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
    When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
    I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
    My Question & Doubts:
    1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
    2) Is there any option to automate this process.
    Regards,
    PRK.

    Hi,
    Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
    Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
    You are using the Live Office  so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
    For more information please check the below document for in-depth idea on the design pattern.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
    Kindly revert for more clarification!!!
    --SumanT

Maybe you are looking for