Quarter End date for this period

Hi
I have current date, How could I get the quarter end date for this date.
for example
Jan 23 2005 - The quarter end date is Mar 31 2005.

needs testing
import java.util.Calendar;
import java.text.SimpleDateFormat;
class Testing
  public Testing()
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
    Calendar cal = Calendar.getInstance();
    cal.add(Calendar.MONTH,3-(cal.get(Calendar.MONTH)%3));
    cal.set(Calendar.DAY_OF_MONTH,0);
    System.out.println(sdf.format(cal.getTime()));
    cal.set(2005,10,15);
    cal.add(Calendar.MONTH,3-(cal.get(Calendar.MONTH)%3));
    cal.set(Calendar.DAY_OF_MONTH,0);
    System.out.println(sdf.format(cal.getTime()));
  public static void main(String[] args){new Testing();}
}

Similar Messages

  • Get start and end date for posting period (YYYYMMM format)

    In revenue recognition I'd like to have the start date and the end date of the posting period, which is in format YYYYMMM. It's field VBREVR-BDJPOPER.
    Any idea?
    I had no luck so far to find a relevant FM.
    Thanks in advance,
    Peter

    Hi,
    Use this FM To convert the date into DD.MMM.YYYY format
    <b>CONVERSION_EXIT_SDATE_OUTPUT</b>.
    Use the followiong FM To convert the date into <b>user specified</b> format
    <b>SLS_MISC_CONVERT_TO_DATE</b>     
    Rewaed if helpful.
    Regards,
    Sandhya

  • Urgent-change the end date for a existing wage type.

    Hi,
    Can u pls let us know how to change the end date for a existing wage type.
    The current end date is 30.8.2008  and we would like to change to 31.12.9999.
    Rgds,

    Use This report RPCLGV00
    The Wage Type Distribution report enables you to display wage types for several payroll periods. It does not take into consideration differences resulting from retroactive payroll. The report shows the current values (number and amount) for each wage type. The report evaluates the payroll records that are marked with update indicator ‘A’ when the report is run. Subsequent reporting runs may not give the same result if - in the intervening period - retroactive payroll has taken place for the evaluation period. The wage type distribution uses the data from the results table RT for the relevant payroll result. The employee’s organizational assignment is also evaluated from the payroll result. This data is taken from the Work Center Basic Pay table (WPBP).
    The wage type distribution offers you the following options for evaluation:
    Individual reporting for a specific personnel number or name.
    Totals evaluation without specifying a personnel number or name.
    You cannot use wage type distribution to run a report for several countries. You can only select payroll areas from one country for reporting.
    Scope of Function
    You use the following parameters to determine how the appearance of the wage type statement:
    Wage type for evaluation
    Enter all wage types that are to be evaluated. If you do not make an entry here, the system selects all wage types. Note that you can only select wage types that occur in the RT table.
    Evaluation start date
    Evaluation start date and evaluation end date define the evaluation period. Enter the year and payroll period for the start of the evaluation.
    Evaluation end date
    This parameter delimits the evaluation period. If you do not make an entry here, only the period from the period from the parameter Evaluation start date is evaluated.

  • Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"

    As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
    The installation never actually starts, it errors before then.
    It displays the same error even if I run the System Configuration Checker.
    The summary.txt for the install displays the following text:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -1554760125
      Exit facility code:            852
      Exit error code:               15939
      Exit message:                  Failed to retrieve data for this request.
      Start time:                    2014-08-15 16:49:52
      End time:                      2014-08-15 16:50:06
      Requested action:              RunRules
    Machine Properties:
      Machine name:                  servername
      Machine processor count:       8
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  Yes
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       1
      Installation location:         c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:             
      ENU:                           True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RULES:                         GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for this request.
        Data:
          HelpLink.ProdName = Microsoft SQL Server
          HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
          HelpLink.LinkId = 20476
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
            at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
            Stack:
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
    view)
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
                    at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)

        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
    Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
    Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
    of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you  remove all SQL Server components from add remove program
    I strongly recommend you to have a good look at below thread
    http://support.microsoft.com/kb/2000257/en-us
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to Calculate End-Date for a given Startdate in business hours without holidays

    Hello Experts,
    I need to create a plsql function where we need to determine end date for a task. For this, input will be only start date & number of hours allocated for that task. Based on this input we need to exclude Business hours & need to include only Business hours. and in the end we need to achieve the end date after the hour addition to the start date.
    Example : INPUT: 03-OCT-2013 12:00:00 PM /
                                  Hours Allocated 30 Hrs.
    Business Hours - 11 AM to 9 PM.
    So time starts from or Startdate is Friday 03-OCT-2013 12:00:00 PM. 
    So If I want to calculate the end-date by adding 30 hours to it, it should come WednesDay 09-OCT-2013 12:00:00 PM because I excluded Weekends & considered only business hours that is 11 am to 9 pm.
    I am not able to get any such guidance in Internet as most of the docs are having start & end date as input.
    Please help!
    Thanks in advance !!

    Hi,
    As Christ said, there's no nuilt-in Oracle function to tell whether a given DATE is a holiday or not, partially because there's so much local variation in holidays.  You can write a function like that (see http://forums.oracle.com/forums/message.jspa?messageID=3351081 ), but creating a table will be simpler and more efficient.
    I suggest creating a row for every date, whether it's a work day or not; that way, you can have variations in the schedule (e.g., schedule changes and
    partial holidays).
    CREATE TABLE  work_calendar
    (   dt  DATE       PRIMARY KEY
                       CONSTRAINT  work_calendar_dt
                           CHECK (dt = TRUNC (dt))
    ,   day_type       VARCHAR2 (8)  NOT NULL
                       CONSTRAINT  work_calendar_day_type
                           CHECK ( day_type IN ( 'HOLIDAY'
                                               , 'WEEKEND'
                                               , 'WORK DAY'
    ,   start_time     DATE
    ,   end_time       DATE
    ,   work_hours     NUMBER
    ,   work_hours_since_1970     -- or some point earlier than you'll ever need
                       NUMBER
    ,   CONSTRAINT  work_calendar_start_time
            CHECK ( TRUNC (start_time) = dt)
    ,   CONSTRAINT  work_calendar_end_time
            CHECK ( TRUNC (end_time) = dt)
    This will let you do a lot of the calculations you need without a function.

  • Failure to install SQL Server 2012 SP1 CU8/9 with a "Failed to retrieve data for this request." error

    Hi all,
    Has anyone come across SQL Server 2012 SP1 CU8/9 failing to install with a “Failed to retrieve data for this request.” error.
    The error is too generic for a useful search on web, for me at least anyway.
    Had no problems patching a whole bunch of other servers in the same environment.
    I’m no good at reading these error logs. For some reason the primary replica is referenced in the detailed log???
    The CU8/9 patch has been run by both Domain Admins and local Admin with no luck.
    We are trying to patch a secondary failover replica. (SharePoint 2013 is installed on this server.)
    This is from the summary log:
    Overall summary:
      Final   result:                    The patch installer has failed to update the shared features. To determine   the reason for failure,
    review the log files.
      Exit code   (Decimal):             -2146233088
      Exit facility   code:            19
      Exit error   code:                 5376
      Exit   message:                    Failed to retrieve data for this request.
      Start   time:                      2014-04-10 11:51:11
      End   time:                        2014-04-10 11:51:49
      Requested   action:                Patch
      Exception help link:            
    http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3412.0&EvtType=0xB2652E58%400xDC80C325&EvtType=0xB2652E58%400xDC80C325
    Machine Properties:
      Machine   name:                    VMSPDB2
      Machine processor   count:       4
      OS version:                      Future Windows Version
      OS service   pack:                
      OS   region:                       Australia
      OS   language:                     English (United States)
      OS   architecture:                 x64
      Process   architecture:          64 Bit
      OS   clustered:                    Yes
    Product features discovered:
      Product                Instance               Instance ID                     
    Feature                                    Language              
    Edition                Version         Clustered  Configured
      SQL Server   2012        MSSQLSERVER            MSSQL11.MSSQLSERVER              Database
    Engine Services                   1033                   Enterprise Edition  
    11.1.3000.0     No           Yes      
      SQL Server   2012        MSSQLSERVER          MSSQL11.MSSQLSERVER              SQL Server  
    Replication                     1033                   Enterprise
    Edition     11.1.3000.0       No           Yes      
      SQL Server   2012        MSSQLSERVER            MSSQL11.MSSQLSERVER              Full-Text
    and Semantic Extractions for Search   1033                   Enterprise Edition   11.1.3000.0       No        
    Yes        
      SQL Server   2012        MSSQLSERVER            MSSQL11.MSSQLSERVER              Data
    Quality Services                      1033                  
    Enterprise Edition   11.1.3000.0       No           Yes      
      SQL Server   2012                                                           
    Management   Tools -   Basic                   1033                  
    Enterprise Edition   11.1.3000.0       No           Yes      
      SQL Server   2012                                                           
    Management Tools - Complete                1033                   Enterprise Edition  
    11.1.3000.0       No           Yes      
      SQL Server   2012                                                           
    Client Tools Connectivity                  1033                   Enterprise Edition  
    11.1.3000.0     No           Yes      
      SQL Server   2012                                                           
    SQL Server Data   Tools                      1033                  
    Enterprise Edition   11.1.3000.0       No           Yes      
      SQL Server   2012                                                           
    Integration   Services                       1033                  
    Enterprise Edition   11.1.3000.0       No           Yes      
    Package properties:
        Description:                     Microsoft SQL Server 2012 Service Pack 1
        ProductName:                     SQL Server 2012
        Type:                            RTM
        Version:                         11
        SPLevel:                         1
      KBArticle:                       KB2931078
        KBArticleHyperlink:             
    http://support.microsoft.com/?kbid=2931078
        PatchType:                       QFE
        AssociatedHotfixBuild:         0
        Platform:                        x64
        PatchLevel:                      11.1.3412.0
        ProductVersion:                  11.1.3000.0
        GDRReservedRange:                10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0
        PackageName:                     SQLServer2012-KB2931078-x64.exe
      Installation   location:           e:\90a192411a98d1f6dc\x64\setup\
    User Input Settings:
        ACTION:                          Patch
        ALLINSTANCES:                    false
        CLUSTERPASSIVE:                  false
        CONFIGURATIONFILE:              
      ENU:                             false
        HELP:                            false
      IACCEPTSQLSERVERLICENSETERMS:    false
        INDICATEPROGRESS:                false
        INSTANCEID:                      <empty>
        INSTANCENAME:                    <empty>
        QUIET:                           false
        QUIETSIMPLE:                     false
        SQMREPORTING:                    false
        UIMODE:                          Normal
        X86:                             false
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report   file:                 The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing   the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type:   Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for   this request.
        HResult : 0x80131500
        Data:
          HelpLink.ProdName   = Microsoft SQL Server
            HelpLink.BaseHelpUrl =
    http://go.microsoft.com/fwlink
            HelpLink.LinkId = 20476
            HelpLink.EvtType =
    0xB2652E58@0xDC80C325
          DisableWatson   = true
        Stack:
            at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
            at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable   dt, Int32 level)
            at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String   machineName)
            at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String   machineName)
            at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1   machineNames, String discoveryDocRootPath, String   clusterDiscoveryDocRootPath)
            at   Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String   actionId)
            at   Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId,   TextWriter errorStream)
            at   Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter   statusStream, ISequencedAction actionToRun, ServiceContainer context)
        Inner exception type:   System.ComponentModel.Win32Exception
            Message:
                    Not   all privileges or groups referenced are assigned to the caller.
            HResult : 0x80004005
            Error : 1300
              Stack:
                    at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean   enable)
                      at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String   privilege)
                      at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer   ctx, String machineName, SqlRegistryKey
    key)
                      at   Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer   ctx, String machineName, SqlRegistryKey
    machineKey, String registryPath,   RegistryView regView, String regPath, RegistryAccess registryAccess,   Boolean& alreadyCached)
                      at   Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer   ctx, String machineName, RegistryView regView,
    String regPath, RegistryAccess   registryAccess)
                      at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String   machineName, RegistryView regView)
                      at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String   machineName)
                      at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
                      at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                      at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req,   Object ci)
                      at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object   connectionInfo, Request request)
                      at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
    And the tail of the detailed log:
    (01) 2014-04-10 11:51:29 Slp: Completed Action:   InitializeMsiExtension, returned True
    (01) 2014-04-10 11:51:30 Slp:   ----------------------------------------------------------------------
    (01) 2014-04-10 11:51:30 Slp: Running Action:   AddPackageModifierSourcesAction
    (01) 2014-04-10 11:51:30 Slp: Completed Action:   AddPackageModifierSourcesAction, returned True
    (01) 2014-04-10 11:51:30 Slp:   ----------------------------------------------------------------------
    (01) 2014-04-10 11:51:30 Slp: Running Action:   InitializeConfigAction
    (01) 2014-04-10 11:51:30 Slp: Completed Action:   InitializeConfigAction, returned True
    (01) 2014-04-10 11:51:30 Slp:   ----------------------------------------------------------------------
    (01) 2014-04-10 11:51:30 Slp: Running Action:   RunRemoteDiscoveryAction
    (01) 2014-04-10 11:51:31 Slp: Running discovery on local   machine
    (01) 2014-04-10 11:51:33 Slp: Discovery on local machine   is complete
    (01) 2014-04-10 11:51:33 Slp: Running discovery on remote   machine: VMSPDB1
    (01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
    (01) 2014-04-10 11:51:36 Slp:   Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to   retrieve data for this request. ---> System.ComponentModel.Win32Exception:   Not all privileges or groups referenced are
    assigned to the caller.
      at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean   enable)
       at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String   privilege)
       at   Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer   ctx, String machineName, SqlRegistryKey key)
       at   Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer   ctx, String machineName, SqlRegistryKey machineKey, String registryPath,   RegistryView regView, String regPath, RegistryAccess
    registryAccess,   Boolean& alreadyCached)
       at   Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer   ctx, String machineName, RegistryView regView, String regPath, RegistryAccess   registryAccess)
       at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String   machineName, RegistryView regView)
       at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String   machineName)
       at   Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
       at   Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
       at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request   req, Object ci)
       at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object   connectionInfo, Request request)
       at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
       --- End of inner exception stack trace ---
       at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
       at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable   dt, Int32 level)
       at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String   machineName)
       at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String   machineName)
       at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1   machineNames, String discoveryDocRootPath, String   clusterDiscoveryDocRootPath)
    (01) 2014-04-10 11:51:36 Slp: Error: Action   "Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction"   threw an exception during execution.
    (01) 2014-04-10 11:51:36 Slp:   Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Failed   to retrieve data for this request. --->   Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to  
    retrieve data for this request. ---> System.ComponentModel.Win32Exception:   Not all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean   enable)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String   privilege)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer   ctx, String machineName, SqlRegistryKey key)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer   ctx, String machineName, SqlRegistryKey machineKey, String registryPath,   RegistryView
    regView, String regPath, RegistryAccess registryAccess,   Boolean& alreadyCached)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer   ctx, String machineName, RegistryView regView, String regPath, RegistryAccess   registryAccess)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String   machineName, RegistryView regView)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String   machineName)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req,   Object ci)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object   connectionInfo, Request request)
    (01) 2014-04-10 11:51:36 Slp:    at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
    (01) 2014-04-10 11:51:36 Slp:    --- End of   inner exception stack trace ---
    (01) 2014-04-10 11:51:39 Slp: Received request to add the   following file to Watson reporting:   C:\Users\HS2\AppData\Local\Temp\tmp6614.tmp
    (01)   2014-04-10 11:51:39 Slp: The following is an exception stack listing the   exceptions in outermost to innermost order
    (01)   2014-04-10 11:51:39 Slp: Inner exceptions are being indented
    (01)   2014-04-10 11:51:39 Slp:
    (01)   2014-04-10 11:51:39 Slp: Exception type:   Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
    (01)   2014-04-10 11:51:39 Slp:     Message:
    (01)   2014-04-10 11:51:39 Slp:           Failed to retrieve data for this request.
    (01)   2014-04-10 11:51:39 Slp:     HResult : 0x80131500
    (01) 2014-04-10 11:51:39 Slp:       Data:
    (01) 2014-04-10 11:51:39   Slp:       HelpLink.ProdName = Microsoft SQL   Server
    (01) 2014-04-10 11:51:39   Slp:       HelpLink.BaseHelpUrl =
    http://go.microsoft.com/fwlink
    (01) 2014-04-10 11:51:39   Slp:       HelpLink.LinkId = 20476
    (01) 2014-04-10 11:51:39 Slp:       Stack:
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable   dt, Int32 level)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String   machineName)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String   machineName)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1   machineNames, String discoveryDocRootPath,
    String   clusterDiscoveryDocRootPath)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String   actionId)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId,   TextWriter errorStream)
    (01) 2014-04-10 11:51:39   Slp:         at   Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter   statusStream, ISequencedAction actionToRun, ServiceContainer
    context)
    (01)   2014-04-10 11:51:39 Slp:     Inner exception type:   System.ComponentModel.Win32Exception
    (01)   2014-04-10 11:51:39 Slp:           Message:
    (01)   2014-04-10 11:51:39   Slp:                   Not all privileges or groups referenced are assigned to the caller.
    (01)   2014-04-10 11:51:39   Slp:                  
    (01)   2014-04-10 11:51:39 Slp:           HResult : 0x80004005
    (01)   2014-04-10 11:51:39 Slp:           Error : 1300
    (01) 2014-04-10 11:51:39   Slp:         Stack:
    (01) 2014-04-10 11:51:39   Slp:                   at   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean  
    enable)
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String   privilege)
    (01) 2014-04-10 11:51:39   Slp:                   at   Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer  
    ctx, String machineName, SqlRegistryKey key)
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer   ctx,
    String machineName, SqlRegistryKey machineKey, String registryPath,   RegistryView regView, String regPath, RegistryAccess registryAccess,   Boolean& alreadyCached)
    (01) 2014-04-10 11:51:39   Slp:                   at   Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer  
    ctx, String machineName, RegistryView regView, String regPath, RegistryAccess   registryAccess)
    (01) 2014-04-10 11:51:39   Slp:                   at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String  
    machineName, RegistryView regView)
    (01) 2014-04-10 11:51:39   Slp:                   at   Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String   machineName)
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req,   Object ci)
    (01) 2014-04-10 11:51:39   Slp:                   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object   connectionInfo, Request request)
    (01) 2014-04-10 11:51:39 Slp:                   at   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object   connectionInfo, Request request)
    (01) 2014-04-10 11:51:44 Slp: Watson Bucket 2
     Original Parameter Values
    (01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server  
    2012@RTM@KB2931078
    (01) 2014-04-10 11:51:44 Slp: Parameter 1 :   Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process
    (01) 2014-04-10 11:51:44 Slp: Parameter 2 :   Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege
    (01) 2014-04-10 11:51:44 Slp: Parameter 3 :
    Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException@-2146233088  
    (01) 2014-04-10 11:51:44 Slp: Parameter 4 :
    System.ComponentModel.Win32Exception@-2147467259  
    (01) 2014-04-10 11:51:44 Slp: Parameter 5 :   RunRemoteDiscoveryAction
    (01) 2014-04-10 11:51:44 Slp: Parameter 8 : 1300
    (01) 2014-04-10 11:51:44 Slp:
     Final Parameter Values
    (01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server  
    2012@RTM@KB2931078
    (01) 2014-04-10 11:51:44 Slp: Parameter 1 : 0x6785B09D
    (01) 2014-04-10 11:51:44 Slp: Parameter 2 : 0xB2652E58
    (01) 2014-04-10 11:51:44 Slp: Parameter 3 : 0x74E34741
    (01) 2014-04-10 11:51:44 Slp: Parameter 4 : 0xDC80C325
    (01) 2014-04-10 11:51:44 Slp: Parameter 5 :   RunRemoteDiscoveryAction
    (01) 2014-04-10 11:51:44 Slp: Parameter 8 : 0xA05EFA62
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL   Server\110\Setup   Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Microsoft SQL  
    Server.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key Uninstall to file C:\Program Files\Microsoft SQL   Server\110\Setup   Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL   Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL   Server\110\Setup   Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft  
    SQL Server.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key Uninstall to file C:\Program Files\Microsoft SQL   Server\110\Setup   Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write   hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL   Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    (01) 2014-04-10 11:51:45 Slp: The following exception   occurred while preparing registry logs during Watson failure processing: Not   all privileges or groups referenced are assigned to the caller.
    (01) 2014-04-10 11:51:46 Slp: Failed to retrieve data for   this request.
    (01) 2014-04-10 11:51:46 Slp: Watson bucket for exception   based failure has been created
    (01) 2014-04-10 11:51:46 Slp: Sco: Attempting to create   base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2014-04-10 11:51:46 Slp: Sco: Attempting to open   registry subkey Software\Microsoft\Microsoft SQL Server\110
    (01) 2014-04-10 11:51:46 Slp: Sco: Attempting to get   registry value EnableErrorReporting
    (01) 2014-04-10 11:51:46 Slp: WER: Successfully read app   consent from registry Software\Microsoft\Microsoft SQL   Server\110\EnableErrorReporting=0.
    (01) 2014-04-10 11:51:46 Slp: WER: Application level   consent value '0' was mapped to consent status 'WerConsentDenied'
    (01) 2014-04-10 11:51:46 Slp: WER: Result of the   submission:: 'WerDisabled'
    (01) 2014-04-10 11:51:46 Slp: WER: Submitted 1 of 1   failures to the Watson data repository
    (01) 2014-04-10 11:51:46 Slp: Sco: File   'C:\Windows\system32\Cluster.exe' does not exist
    (01) 2014-04-10 11:51:46 Slp: Failed to collect cluster   logs, cannot find Cluster.exe under system directory.
    (01) 2014-04-10 11:51:46 Slp: Dumping final cluster state.
    (01) 2014-04-10 11:51:49 Slp: Completed dumping final   cluster state.
    (01) 2014-04-10 11:51:51 Slp:
    (01) 2014-04-10 11:51:51 Slp:   ----------------------------------------------------------------------
    (01) 2014-04-10 11:51:51 Slp:
    (01)   2014-04-10 11:51:51 Slp: Error result: -2146233088
    (01)   2014-04-10 11:51:51 Slp: Result facility code: 19
    (01)   2014-04-10 11:51:51 Slp: Result error code: 5376
    (01)   2014-04-10 11:51:51 Slp: SQM Service: Sqm does not have active session.

    Hello SQL Ranger,
    Thanks for posting the detailed log. I dont have exact solution for this but I can give you some hint what could be reason patch has failed below message points to fact that there is some issue with account which is used to install CU patch.Have alook at
    below log.It says that when patch was trying to get details from other node in cluster it was not able to.
    01) 2014-04-10 11:51:33 Slp: Discovery on local machine is complete
    (01) 2014-04-10 11:51:33 Slp: Running discovery on remote machine: VMSPDB1
    (01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
    (01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are assigned to the caller.
    IMO I strongly feel it is issue with the account. Microsoft has also documented about this for SQL Server 2008 .Have a look at following links
    http://support.microsoft.com/default.aspx?scid=kb;en-US;2000257
    Please also assign privilege mentioned in below link
    http://www.bradg.co.za/?p=12
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to set a default start and/or end date for New Events based on trigger date.

    I'm using the CalendarActivityListener to get current row when clicking on an existing event. As per previous posts this listener gives you access to event detail including Start Date, End Date, etc.
    However, what I want to do is to default the start (and end) dates for New Events based on the trigger date.
    I've tried the CalendarListener and can grab the Trigger Date from it - however, I can't see a way to pass this directly to the popup/dialog I'm using to create the new event.
    At present I'm putting the TriggerDate into the ADFContext session scope e.g. ADFContext.getCurrent().getSessionScope().put("TriggerDate",calendarEvent.getTriggerDate());
    Then, I've tried multiple approaches to try and "get" the TriggerDate from session scope to drop it into my new Calendar Event basically, I'm trying to default the InputField(s) associated with the Start Date using the value from the session - I've tried
    1. setting the default value for the InputField in the jspx using a binding expression i.e. value="#{sessionScope.TriggerDate}" - this actually sets the value appropriately when the jspx is rendered but, when I go to create I get a NPE and I can't debug. I assumed that it might be a Date type issue - it would appear that CalendarListener provides a date of type java.util.Date and that the StartDate attribute of my VO/EO/table is a DATE and therefore requires oracle.jbo.domain.Date so I tried casting it - to no effect
    2. Using a Groovy expression *(StartDate==null?adf.context.sessionScope.TriggerDate:StartDate)* in my calendar's EventVO to default the Start Date to the same result
    Any thoughts or ideas?

    John,
    Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
    Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
    Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
    Works just fine. Snippet from the listener follows
    BindingContext bindingContext = BindingContext.getCurrent();+
    *if ( bindingContext != null )    {*+
    DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
    DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
    Row currentRow = iterator.getCurrentRow();+
    if ( currentRow.getAttribute("StartDate") == null)+
    currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
    if (currentRow.getAttribute("EndDate")==null)+
    currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
    *}*

  • Dates for this sessiions are overdue-Sap ealy watch report

    Hi all,
    I have too many sessions scheduled for EWA one if my system in Landscape wit Red flags & i wanted to remove them as they are with very old Dates.I couldn't  manage to find any option pls advice me on that.
    How can i remove OLD EWA  with RED flags

    Hi val,
    navigated as u said .,
    Once i press delete button i could be able to delete only the session where my early watch report is generated.
    But as i wanted to delete the sessions which are in past date with red flag
    for example if i click on red flag i get the following data
    The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
    Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
    Typical sources of errors are:
    The RFC connection for the SAP Solution Manager system is not working.
    The 'Task Processor' background job, which collects the session data, has been changed.
    Problems arose while data was being collected (see the detail log for the task that collects the session data).
    A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
    Session number: 5550000000878
    Back    Call Service Data Control Center
    As i dont require this over due seesions How can i delete them

  • Program to collect user u2013 transaction execution data for past period

    Hi Experts
    We are developing a program to collect user u2013 transaction execution data for past period ( 3 months-1 year ). We are getting required User and Tcode output but unable to find exact count per tcode ( executed by respective user).
    We have following count components available in SAPWL_WORKLOAD_GET_STATISTIC / SWNC_COLLECTOR_GET_AGGREGATES
    COUNT , DCOUNT ( Dialog count for transaction ) , UCOUNT , BCOUNT , ECOUNT, SCOUNT ,LUW_COUNT .
    Out of which  LUW_COUNT -Logical Units of Work comes close to no ot time transaction was executed but itu2019s even not the exact count as one transaction code can have more than one LUW .
    Does anyone have idea about how to get the right count .
    Thanks
    Vani

    If audit log is enabled in SM19 for transaction criteria all, you can get the transaction history executed by the users. But may need more space on audit file system if this is enabled for all users. May be you can archive once in 3 months into ZIP files and can unzip whenever you need.

  • Start and End dates for users in Enterprise portal

    Hi Expert,
    I have to maintain start and end dates for around 200 users in 4 different Java systems. When I export the file of users it does not capture the validity fields. Is there a way/script to automate this? Otherwise I will have to do it manually.

    Hello
    Please check below URL for User Import Format:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/abdd83c3333205e10000000a42189c/content.htm?frameset=/en/48/a96f43db653206e10000000a42189c/frameset.htm&current_toc=/en/43/05e450d1cd6e95e10000000a11466f/plain.htm&node_id=2802&show_children=true#jump2822
    Regards,
    Tapan Goyal

  • EWA" Dates for this session are overdue "

    Dear All,
    Im now configuring EWA report but i always got Red Flag for the satillite system said that  "Dates for this session are overdue"  and there is no two bottle apear.  please help me..
    Thanks so much.

    Hi,
    That error is because your managed system is not sending the required EWA data to your SolMan for processing.
    Please check the following to make sure all steps are correct for EWA processing:
    Check RFCs in Solution Manager to your system that the EWA is for.
    Also check the Back RFC to SolMan in the managed system.
    Also check in the managed system, transaction SDCCN and make sure the maintenance package is running and scheduled periodically!
    Finally ensure the Task Processor is active and scheduled in SolMan via transaction SDCCN > Goto > Settings > Task Processor.
    Lastly check in the managed system that the RFC for the maintenance package is set to your SolMan via transaction SDCCN > Goto > Settings > Task Specific > icon next to RFC Destinations > Settings. Ensure the Back RFC to SolMan is set as the master.
    To do this, go to SMSY in SolMan > Environment > SolMan Operations > Administration SDCCN and ensure your managed system is there and SolMan is the master.
    You may even have outstanding jobs for this system in SDCCN of SolMan which you can run to process the EWA data if you do not have a periodic Maintenance Package correctly running in SolMan.
    All of these checks will solve your issue and make sure EWA is working.
    If you find the answer, please post what the mistake was, I am curious
    Regards,
    -Rohan
    Edited by: Rohan Parikh on Dec 9, 2009 4:42 PM

  • Flexible Upload of Data for several periods/years

    Hey Colleagues,
    my client wants me to develop a new functionality to upload data for several periods/years. The function they are using right now and correctly is the flexible upload.
    As we have already developed several custom tasks and enhancements/modifications we try to not modificate further SAP standard or to post directly (back-door solution)
    But:
    It is no problem to start the flexible upload for different selecitons and to provide the values in an excel sheet. But I have problems to avoid a popup for selecting the excel file. It would be no problem if for example Batch-Input would work here, or if we would post directly using standard functionality (posting method with data change) but in this case we try to use the flex upload.
    Has anyone experienced a similiar problem? Can we use the flex upload with suppressing the popup to select the file WITHOUT an enhancement?
    Thanks in advance for your help,
    Yavuz

    Hi Yavuz,
    Yes this can work for every period in one year - use the multiperiod processing option, available since EHP2 (BCS 6.02).
    The multiperiod processing requires you to define the consolidation cycle and start period, so you could define it to start with p1 and include all 12+ periods of the year.
    NB the multiperiod processing is initiated by running with selection screen - right click and selec "run for remaining periods of the year"
    You can run either a task or a task group for the rest of the consoliation cycle, but data collection with flexible upload MUST have the presentation server settings (already mentioned above) or the data collection task will not work.
    So you make the configuration settings
    You then save your multi-period file on the presentatin server
    You then go to data collection (flexible upload) task in p1 and "run for remaining periods"

  • Export data for specific period through Data Pump

    Hi,
    I've a specific requirement to take the dumps of some tables for specific time period. like between last 10 days like 01-JAN-11 to 10-JAN-11. How can I acommplish this. For Documentation what I read is that we can export the data for specific period of thie by either setting FLASHBACK_SCN or FLASHBACK_TIME parameter in expdp command but this is point in time export not for the specific time export.
    Please guide me how can export between the specific time. like between 1-JAN to 10-JAN
    Regards,
    Abbasi

    export between the specific time. like between 1-JAN to 10-JANYou need to clarify your requirements. Data is always "at a point in time". I can see data as at noon of 01-Jan. I can see data as at noon of 10-Jan. What would I mean by data "between" 01-Jan and 10-Jan ?
    Say the table has 5 rows on 01-Jan :
    ID    VALUES
    1      ABC
    2      DEF
    3      TRG
    4      MXY
    5     DEW2 Rows "6-GGG" and "7-FRD" were inserted on 02-Jan.
    2 Rows "2" and "3" were updated from "DEF" and "TRG" to "RTU" and "GTR" on 03-Jan.
    1 Row "5-DEW" was deleted on 09-Jan.
    2 Rows "8-TFE" and "9-DZN" were insereted on 09-Jan.
    Can you tell me what is the "data between 01-Jan and 10-Jan" ?
    (the above example actually happens to have an incrementing key column "ID". Your table might not even have such an identifier column at all !)
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 10, 2011 5:23 PM

  • OIM 11g r2 ps2. Setting end date for role requests

    Hi,
    reviewing the new features document on oim 11g r2 ps2: http://www.oracle.com/technetwork/middleware/id-mgmt/overview/oim-11gr2-whats-new-1709505.pdf
    it says "For example, in a request that involves multiple entitlements, the requester might be required to specify the start date and end date for each of the entitlements requested. OIM enables requesters to provide such information during request that can be carried all the way to approval and provisioning processes. OIM also provides an out-of-the-box scheduled task for entitlement grant and revoke based on the start and end dates specified"
    I've been searching on the documentation and doing tests on a virtual environment before a poc to a customer and can not find how to use that feature.
    Is it an OotB feature or it needs codification and extra configuration?
    Any tips on how to achieve this?
    Thanks in advance!

    Doc links:
    http://docs.oracle.com/cd/E40329_01/admin.1112/e27149/appinstance.htm#OMADM5296
    http://docs.oracle.com/cd/E40329_01/admin.1112/e27149/scheduler.htm#OMADM743, tasks "Sunrise of Accounts and entitlements" and "Sunset of Accounts and entitlements".
    Oracle Support Document 1951854.1 (Sunrise And Sunset Of Entitlements) can be found at: https://support.oracle.com/epmos/faces/DocumentDisplay?id=1951854.1
    Joost

  • HT1222 Hi, what is the support end date for Quicktime 7.7.3?

    Hi, what is the support end date for Quicktime 7.7.3?

    Hi
    <b>Have you tried reading the details of the PO Releaser using the BAPIs ?</b>
    BAPI_PO_GETRELINFO
    BAPI_PO_GETITEMSREL
    BAPI_PO_GETITEMSREL            List Purchase Orders for Release (Approval): New as of 4.0A     
    BAPI_PO_GETRELINFO             Display Detailed Release (Approval) Information on Purchase Order
    BAPI_PO_RELEASE                Release Purchase Orders            
    BAPI_PO_RESET_RELEASE          Cancel Release of Purchase Orders  
    <u>Related link -></u>
    Re: How to fetch data from back end for PO?
    Hope this will help.
    Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • Function @Parent with Member Dynamic calc

    Hi Everybody, I have a simple Business Rule where i need to assign the Parent value to a child. The parent is a Dynamic Calc and using the function @Parent Essbase doesn't retrieve the data. The formula is as follows: Fix ( Account_1, product_1 Versi

  • Weighted average total displaying as  average

    Dear BI Guru's, one of my report Weighted average total value displaying incorrect values, for example Clinker Value   Clinker Rate (Rs in lacs)        (Rs/MT) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 342.0

  • Different Intervals for each tab in Spry Widget TabbedPanels

    Hi, I have two tabs panels in my tab panels group and I would them to have different intervals between the two panels is this possible? Heres my code for the tab panels: <div id="TabbedPanels1" class="TabbedPanels">       <ul class="TabbedPanelsTabGr

  • Problems with installing applications in Creative Cloud

    I want to install After effects but in creative cloud tells me download error, where it says App.

  • External procedure problem

    Hi all I tried to start shell script from database using external procedure (I would like to learn about external proc ). 1. I used c program and than : xlc -G -c oracle_host.c ld -r -o oracle_host.so oracle_host.o chmod 755 oracle_host.so ### prava