Query regarding previous data....

Hi BCS experts,
My client went live on sem bcs 2007/AUG by executing monitor. But due to some reasons they stopped using sem bcs for the following months till date. Now I am working on project and I would like to make the system to run in production in 2008/Nov with new requirements.
By changing the consolidation group with current month of production and newly uploading Trail Balances into production I want to run the monitor as I am going live on 2008/Nov.
If I run cons monitor I have a doubt that system prompts for last year data and carry forwards of old data.
But I want to delete the old data and clean the system for not prompting it while running the tasks at Nov/2008 and making the system as it I am going live in nov/2008.
Any one can assist.

Hi and welcome to SDN!
There some ways to clean up your database:
1. Use inversion in the Cons monitor - you have to do it in each period - low risk - much work - big database after cleanup because of keeping all original and inversing documents.
2. Use the Cons workbench -- there is an option to delete reported (uploaded) data, additional financial data and documents - low risk- much work - big database after cleanup because of keeping all original and inversing documents.
3. Delete data from the totals cube and the Document ODS/DSO (in BW - RSA1 t-code) - risky (if you are not friend to BW it's better to invite the BW's friend to do it) - the minimal work - absolutely empty database -- Probably you'll have to delete also data from all cubes and ODS/DSO in your db.

Similar Messages

  • Query regarding the data type for fetcing records from multiple ODS tables

    hey guys;
    i have a query regarding the data type for fetcing records from multiple ODS tables.
    if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
    can any one help with some suggestion.

    Hi Mudit,
    One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
    AS is used to rename the column name when data is being selected from your DB.
    So, the query  Select ename as empname from emptable will return the data with column name as empname.
    Regards,
    Bhavesh

  • QUERY REGARDING INFINITY DATA EXTENSION

    Im having Bt Infinity installed on thursday and I want to have Hub in the room upstairs where the pc is located.My master socket is downstairs in the hall. Im very confused after reading some entries on this forum. Is their a charge for installing the data extension kit or is it part of the free install ?? http://bt.custhelp.com/app/answers/detail/a_id/965​2   The information on this link seems to suggest their is a fee for any internal wiring work undertaken (data or telephone extensions). Is their any of the mods who can give me a definitive yes or no regarding a charge for this. Thanks

    I had Infinity installed last week with a similar setup to what you describe. The OR guy made the existing extension socket upstairs the master and the downstairs socket which was the master an extension. He used a spare pair of cores in the existing extension cable to do this so no additional wiring as such was required. Everything works just as it should.

  • Query regarding BO Data services installation

    I am in process of installing BO data services on Unix(AIX) system. I need to install DATA SERVICES XI 3.2 SP3. For this I have downloaded the installables and patches from marketplace. We have following queries:
    1. On installation of the data services can we directly apply SP3 patch1 or we need to install SP1, SP2 and SP3 first.
    2. How to check the version of SP installed. I have applied SP3 patch1 but I am not able to check the same.
    3. During installation, I have skipped the step of creating the repository as I need to do it later using repoman, can this be a reason of that I am not able to upgrade SP for this?
    Any pointers on this would be helpful.

    check the JobServer log in the %LINK_DIR%\log\<JobServerName>\server_eventlog_<date>.log file
    look for the following entry
    Sending notification to <inet:ip-address:port number> here ip-address is the ip-address of the Designer machine, try to ping from the job server machine on that ip or try to do a telnet
    telnet <ip-address>  <port number>
    what is the status of JobServer on Designer?
    where is you DI webServer installed? on the same machine as Designer ? or on the JobServer machine

  • Query Regarding Displaying Data

    Hi ,
    I have one table tblugatewaycdr.
    table having cdr records.
    invoice number      callednumber      date     accountedcost
    200900006438.00     96614727373.00     1-Jun-09     6
    200900006438.00     96614727373.00     1-Jun-09     - 6
    200900006438.00     96614727373.00     1-Jun-09     - 1310
    200900006438.00     96614727373.00     1-Jun-09     1310
    200900006438.00     96614727373.00     1-Jun-09     -1310
    200900006438.00     96614727373.00     1-Jun-09     38
    200900006438.00     96614727373.00     1-Jun-09     38
    200900006438.00     96614727373.00 1-Jun-09     -38
    Now i have to take only one positive and one nagative value accountedcost.(in pair +6 and -6, 1310 and -1310)
    kindy provide me appropriate solution

    Is that not just a case of selecting DISTINCT values?
    If you're after something more then perhaps you'd better explain in more detail.
    Also, when you paste code or data put the tag {noformat}{noformat} before _and_ after it so that it maintains it's format on the forum.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Getting data in a query on last date of all previous months

    Dear Experts,
    I need your help with a query.
    I am trying to create a query which when run should pick the number of Open Sales Order on the last date of all the previous months from the start of company.
    I could create the query for fetching the required data on last day of the previous month, say today is 25th June 2014, so my query only fetches data for May 31st 2014 but I need data for all previous month, May 31st 2014, April 30th 2014, March 31st 2014 & so on.
    Please advise how to achieve this is SQL query.
    Thanks & regards,
    Nitin

    Hi,
    Try this:
    Select *
    from(
    SELECT T0.[DocNum] as #,t0.cardcode as C, t0.docdate
    FROM ORDR T0
    WHERE T0.[DocStatus] = 'o' and T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0)),10) OR T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-2,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-3,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-4,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-5,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-6,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-7,0)),10)
    group by t0.cardcode,docdate,T0.[DocNum]) S
    pivot
    (count(#) for c in([cvt01],[cvt02],[cvt03],[cvt04],[cvt05],[cvt06],[cvt07],[cvt08],[cvt12])) P
    Note: Replace Cvt01,02...with your customer code.
    Thanks & Regards,
    Nagarajan

  • Sql query to fetch data based on date conditons

    Hi All,
    We have to schedule a script that runs at 1:00 AM from Monday to Friday.
    The script will run a  sql query  ,that will fetch the data from sql database 2008 based on the below conditions.
    Case 1: If date = current Date then retrieve the data of the previous Date.
    Case 2: If date = Monday then retrieve the entries of Friday ,Saturday and Sunday.
    Please help us on how we can achieve this.
    Thanks

    Hi,
    Are you asking about Patrick's
    solution?
    If so I highly recommend NOT to use this solution. PLease read LMU92's
    and
    Visakh16's responses.
    Why not to use it?
    1. This solution is not deterministic!
    A deterministic algorithm is an algorithm which, given a particular input, will always produce the same output. This solution give different values for different setting! It is depending for example on "SET LANGUAGE" value
    As mentioned above if you try to use any other languge then English then this query will not work since you will never get the value "Sunday"
    2. Moreover! Even if you are using "SET LANGUAGE 'English'" then this
    solution depend on "SET DATEFIRST" and only take into consideration that the value can be 1 or 7, using any other value you will get that @weekendDateMod is null!
    What can you use?
    let's test some value first to get the solution yourself. We know that we don't care about "SET LANGUAGE" since I will not use any language dependency but we need to examine "SET DATEFIRST". Try to change the value from 1 to 7 and check
    the value of this query
    SET DATEFIRST 1 -- Change this value from 1 to 7!
    DECLARE @Sunday DATE = '2014-08-03' -- This is Sunday
    DECLARE @Munday DATE = '2014-08-04' -- This is Munday
    SELECT DATEPART(DW,@Sunday),DATEPART(DW,@Munday), @@DATEFIRST
    Can you see the behavior ?
    The results are hidden here (select the text and you will see them)
    DATEFIRST___Sunday_______Monday
    1___________7___________1
    2___________6___________7
    3___________5___________6
    4___________4___________5
    5___________3___________4
    6___________2___________3
    7___________1___________2
    assuming you did the exercise above yourself, then  you can now think now what is the filter that you need...
    You can use a filter on those two parameters together using "where DATEPART... and @@DATEFIRST...) or using one combine check. Can you think how?
    Notice that this value is always 2 on Monday! Regarding our setting
    (DATEPART(DW,@CurrentDate) + @@DATEFIRST) % 7
    Please Don't Go Down Before YOu Understand!
    Now we can go to the solution
    * I really hope that you read all and did the small exercise yourself! You can not become a developer by copy answers, and this is the reason that from the start I only gave you tha way and not the final query!
    DECLARE @CurrentDate DATE = '2007-08-20' -- This is only for testing since you should use the function GETDATE() instead
    DECLARE @MinDateToFilter DATE
    SET @MinDateToFilter = CASE
    WHEN ((DATEPART(DW,@CurrentDate) + @@DATEFIRST) % 7) = 2 THEN DATEADD(DAY,-4,@CurrentDate)
    ELSE DATEADD(DAY,-1,@CurrentDate)
    END
    SELECT *
    FROM sales.salesOrderHeader
    WHERE orderDate > @MinDateToFilter
    I hope this was useful :-)
    [Personal Site] [Blog] [Facebook]

  • Store Previous Data in Materialized Views

    Hello All,
    Thanks in Advance for sharing knowledge.We have a materialized view and using Oracle 10g.
    Is there any way we can store previous data as well as have new data in the materialized view.
    I mean it would have old as well as new data.
    Regards
    Rahul

    Thanks for your prompt reply.I am not looking for flashback query.
    Actually i have to send the data to user and materialized view would only most recent data after refresh,but i would like to have the previous data before refresh and new data after refresh.
    Regards
    Rahul

  • Previous date

    hi to all,
    help me in this issue
    how to  calcuæate  previous date
    thanks in advance
    kiran kuamr

    Hi Kiran,
    if u want to calculate the last date using a fm
    then
    check
    RS_VARI_V_TODAY_X
    in here
    S OP   LOW    HIGH    
    I LT     1-     0   
    low -1 will keep u for the previous date (yesterday's date)
    low -2 will give date of two days before .
    regards,
    Vijay.
    kindly close the thread if ur query is over .
    u did not mention if ur looking for a factory calender date
    if this is the case then
    RS_VARI_V_TODAY_XWD
    put sign = 'C' and proceed same as above .
    Message was edited by: Vijay

  • Issue in clearing of previous data of screen cl_gui_docking_container= free

    Hi All,
    My program displays an idoc list(screen 100). Then if user selects any row in the method
    gets the index no and details of that idoc are displayed in another screen(screen 200) .
    Then control returns to this screen again. Now if user selects any row from idoc list (screen 100) then data is displayed along with data from previous screen .
    In PBO of screen 200 : some code is :
    create object go_docking
              exporting
                dynnr     = '200'
                extension = 65
                side      = cl_gui_docking_container=>dock_at_top.
            create object go_grid_detail
              exporting
                i_parent = go_docking.
    some code
    create object go_custom_cont
              exporting
                container_name = 'DISPLAY_IDOC_CONTENT_200'.
            create object go_grid_detail
              exporting
                i_parent = go_custom_cont.
    some more code
    call method go_grid_detail->set_table_for_first_display
              exporting
                is_layout            = gs_layout
                it_toolbar_excluding = lt_exclude
              changing
                it_fieldcatalog      = fieldcatalog1
    create object go_docking
                exporting
                  dynnr     = '200'
                  extension = 65
                  side      = cl_gui_docking_container=>dock_at_bottom.
              create object go_grid_detail
                exporting
                  i_parent = go_docking.
    In PAI of 200 screen i have used :
    some code      
    free go_grid_detail.
          free go_custom_cont.
          go_docking->free( ).  free go_docking.
    After freeing all data and on call of screen 200 from screen 100 still it shows data from which was there previously on screen 200.
    How can clear all previous data . Even i have free the docking still not working .
    Kindly please help.

    Hi,
    if go_grid_detail is type ref to cl_gui_alv_grid, call go_grid_detail->free( ) before container->free( ).
    Regards,
    Clemens

  • Opening stock will be the closing stock of previous date

    Hi All,
    Good day. I am developing an ALV report that will show opening stock(LABST) as well as closing stock(Calculated) for a range of date and materials. Problem here is that from MARD table I am getting only the last opening stock, because it has no common date field with MSEG table. So, I have to calculate the opening stock as the closing stock of previous date. How can I calculate this? Is there any FM to get the opening stock ?
    Date          Material            Opening St       Closing St
    27.03.2009     2100002          91.000          191.00
    28.03.2009     2100002          191.000          123.00
    29.03.2009     2100002          123.000          103.00
    With regards,
    Tripod.
    Edited by: Tripod on Aug 23, 2011 12:13 PM

    Try not only to use MARD and MKPF/MSEG but also MARDH which contains closing stock of period preceding periods where movements happened. (ie. there is a record for May if a movement happened in June, and none for June if there was no movement in July, and no record exists for August as this is current period) - First look for MARD, MARDH records; and then only read MKPF/MSEG from last MARDH record found. (created back to 4.5A - [Material Master (Industry/Retail): Enhancements to Period Closing|http://help.sap.com/saphelp_45b/helpdata/en/35/b0e7ef87a62488e10000009b38f9b7/content.htm])
    Regards,
    Raymond

  • Query regarding updation thru a Procedure

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru my Java application.
    The submit procedure saves the XML data in the database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
    I would like to display the new row with the new elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru
    my Java application.
    The submit procedure saves the XML data in the
    database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by
    adding new elements to the same row.This row now
    contains additional XML elements.
    I would like to display the new row with the new
    elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with
    the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
    Khurram

  • Data driven subscription query returns no data

    We have a data driven subscription on SSRS 2008 R2. The columns in the query are tied to one or more parameters of the report. When we run the subscription and if the query does not return any rows, I was hoping that the subscription will not start; however,
    instead, to my surprise, I got error stating..."Parameter XYZ value can't be null". How to avoid this error and keep subscription from running in this situation? 
    Example: I have a report that required employeeID as a parameter. I have a query (step 3: data driven subscription) that fetches employee ID based on some criteria. If there is no row returned by the query; It throws error on report stating "Parameter
    EmployeeID can't be null."
    Nehal Jain

    Hello Nehal -
    Try adding a UNION ALL to your parameter dataset query like
    UNION ALL SELECT NULL AS EmployeeID , ..
    Just check accordingly. I ll revert again based on this , got a priority now.
    Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • How to get Item-Code wise stock quantity and value for a previous date

    Dear Sir,
    As per the government legal requirement , we are required to furnish a list for items having stock as on a date ( date is not the current date but it is some past date)  and  in the list we need to provide material wise stock quantity and value .
    We can generate a list  for the current date , but do not know how to get it for a previous date .
    We request you to kindly guide us about such a list .
    With Thanks and Regards
    Sonia Agarwal

    hi,
    might be this reports will be help full for your requirement.
    MMBE
    MB53
    MB52
    MB5M
    MB5B
    MB5T
    MBLB
    MBBS
    MB54
    ME56
    Thanking you

Maybe you are looking for

  • Bridge CS6 not starring properly anymore

    Running Mavericks 10.9.2 Apple pushed out a camera raw update and ever since, Bridge CS6  has not been the same. If I open a set of rated .CR2 raws into BR the stars don't carry over unless I manually select and apply the stars in Camera Raw. And whe

  • Problem when WSDL changes for a Web Service Reference

    Hi I have a Web Service Reference that is accessed by several reports and processes within APEX. The problem that I am experiencing is that, when the Web Service changes, as it has been doing quite often due to development, I can find no way of updat

  • What's in Service Upadte #2???

    all, It looks like there is a new service pack for CQ 5.5 in the package share.  Does any know (or point me to the documentation) as to what's included in the service packs - both from a bug fix and enhancement perspective? Thanks

  • Can I purchase CS6 apps if I opt out of the Creative Cloud membership?

    Q. Is it possible to purchase CS6 products after the CC apps have been released if I opt out of Creative Cloud membership? A. Yes. CS6 products can still be purchased on Adobe.com Note: Creative Cloud members are able to install both CC and CS6 apps

  • Set the Permission on existing share.

    net share Testfolder="D:\Program Files\Testfolder" /grant:Administrators`,Full /grant:$kozos`,Read /grant:$kozos`,Change When i execute the above command, it creates the new share and set the permissions on the share. But if a share already exists, t