Get-Date not calculating as expected

I am trying to retrieve all the users in a specific OU of recently terminated users (who are temporarily being stored in a quarantine OU to abide by legal department's requirements to keep the mailboxes for 30 days).  Once I retrieve all the users I
want to filter them into 3 buckets: 1) users with termination dates greater than 30 days, 2) users with term dates that are 30 days or less, 3) users with no term date listed.  Termination dates are populated into the "ExtentionAttribute7" field
in the AD user object.  For some reason the output to a report does not correctly find the users greater than 30 and puts them all in the users less than 30 (we already corrected so that no users have empty fields).  Script is below:
#Mail Server Variables
$FromAddress = "[email protected]"
$RelayMailServer = "relay.company.corp"
$ITSupportEmailAddress = "[email protected]"
$AdminNotifyAddress = "[email protected]"
#Connect to Office 365
$password = ConvertTo-SecureString "password" -AsPlainText -Force
$cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList [email protected],$password
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
$importresults = Import-PSSession $s
$today = Get-Date -Format d
# Define font and font size
# ` or \ is an escape character in powershell
$font = "<font size=`"3`" face=`"Calibri`">"
#Headings used in the ITSupport Report
$Title="<h1><u>Quarantined Users - Termination Ranges</h1></u><h4>Generated on " + $today + "</h4>"
$Title_TermGreaterThan30="<h3><u>Users Have Termination Date that is 30 days or Older</h3></u>"
$Title_TermLessThan30="<h3><u>Users Have Termination Date Less than 30 days</h3></u>"
$Title_NoTermDate="<h3><u>Users Have No Termination Date Listed</h3></u>"
$UsersList_TermGreaterThan30 = @()
$UserList_TermLessThan30 = @()
$UserList_NoTermDate = @()
$usersUPNTermGreater30 = @()
$usersUPNTermGreat30AD = @()
$termDate = @()
Get-ADUser -filter * -properties * -SearchBase 'ou=employees quarantine,dc=company,dc=corp' |
ForEach {
$termDate += Get-date $_.ExtensionAttribute7 -Format yyyy-MM-dd
IF ($_.ExtensionAttribute7 -eq $null){
#Add to User List
$UserList_NoTermDate += $_.userprincipalname + "<br>"
if (($_.extensionattribute7 -ne $null) -and ($termDate -lt (Get-Date).AddDays(-30)))
#Add to UserLists
$usersUPNTermGreater30 += $_.userprincipalname
$usersUPNTermGreat30AD += $_.samaccountname
$UsersList_TermGreaterThan30 += $_.userprincipalname + " " + "TermDate: " + $_.ExtensionAttribute7 + "</font> <br>"
elseif ($_.extensionattribute7 -ne $null)
#Add it to UserList
$UserList_TermLessThan30 += $_.userprincipalname + " " + "TermDate: " + $_.extensionAttribute7 + "<br>"
if (!$UsersList_TermGreaterThan30) {$UsersList_TermGreaterThan30 = "No Users to Report"}
if (!$UserList_TermLessThan30) {$UserList_TermLessThan30 = "No Users to Report"}
if (!$UserList_NoTermDate){$UserList_NoTermDate = "No Users to Report"}
#Email Report to Admin
$Subject="Quarantined Users Report for " + $today + "."
$AdminReport = $font + $Title + $Title_TermGreaterThan30 + $UsersList_TermGreaterThan30 + $Title_TermLessThan30 + $UserList_TermLessThan30 + $Title_NoTermDate + $UserList_NoTermDate + "</font>"
#Send-MailMessage -smtpServer $RelayMailServer -from $FromAddress -to $AdminEmailAddress -subject $Subject -BodyAsHtml -body $AdminReport
#Send-MailMessage -smtpServer $RelayMailServer -from $FromAddress -to '[email protected]' -subject $Subject -BodyAsHtml -body $AdminReport
Send-MailMessage -smtpServer $RelayMailServer -from $FromAddress -to '[email protected]' -subject $Subject -BodyAsHtml -body $AdminReport
$results = @()
ForEach ($user in $usersUPNTermGreater30){
$results+=get-mailbox -identity $user -resultsize unlimited |`
select UserPrincipalName }
#Disable Litigation Hold
Set-Mailbox -identity $user -LitigationHoldEnabled $false
#Remove Archive Mailbox
Disable-Mailbox -identity $user -Archive -confirm $false
ForEach ($ADuser in $usersUPNTermGreat30AD){
Get-ADUser $aDuser | Move-ADObject -TargetPath "OU=Employees Terminated,DC=company,DC=corp"
If (!$usersUPNTermGreater30) { Write-Host "variable is null" }
If ($usersUPNTermGreater30){$file = "c:\Office365\QuarantineLHDisable1.csv"}
If ($usersUPNTermGreater30){$usersUPNTermGreater30 | Export-csv $file -NoTypeInformation}
If($usersUPNTermGreater30){
$msg = new-object Net.Mail.MailMessage
$att = new-object Net.Mail.Attachment($file)
$smtp = new-object Net.Mail.SmtpClient($RelayMailServer)
$msg.From = "[email protected]"
$msg.To.Add("[email protected]")
#$msg.To.Add("[email protected]")
$msg.Subject = "Quarantined Users Over 30 days - LH Disabled"
$msg.Body = "Attached is the list of users who have been in the 'Employees Quarantine' OU for 30 days, where Litigation Hold and Archiving were disabled, as well as, users being moved to the Terminated OU."
$msg.Attachments.Add($att)
$msg.IsBodyHTML = $true
$smtp.Send($msg)
$att.Dispose()}
Remove-PSSession $s
#Clear all variables
Clear-Variable user* -scope global
Clear-variable term* -scope global

I don't think that's the issue at least not all of it.  With that format switch on there...this is the $termdate output (and all the users go into the "less than 30 days" variable regardless of term date):
PS C:\Windows\system32> $termDate
2014-01-25
2014-08-26
2014-09-15
2014-09-08
2014-09-12
2014-09-06
2014-09-05
2014-09-08
2014-08-29
2014-09-19
2014-08-28
2014-08-29
2014-09-19
2014-09-23
2014-09-14
2014-06-23
2014-09-19
2014-09-19
2014-08-29
2014-09-04
2014-08-29
2014-09-09
2014-09-07
2014-09-02
2014-08-26
2014-09-07
2014-09-11
2014-08-27
When I take the format switch off...this is the output (and all the users go into the "greater
than 30 days" variable regardless of term date): for $termdate:
PS C:\Windows\system32> $termDate
Saturday, January 25, 2014 12:00:00 AM
Tuesday, August 26, 2014 12:00:00 AM
Monday, September 15, 2014 12:00:00 AM
Monday, September 08, 2014 12:00:00 AM
Friday, September 12, 2014 12:00:00 AM
Saturday, September 06, 2014 12:00:00 AM
Monday, September 08, 2014 12:00:00 AM
Friday, September 05, 2014 12:00:00 AM
Friday, August 29, 2014 12:00:00 AM
Friday, September 19, 2014 12:00:00 AM
Thursday, August 28, 2014 12:00:00 AM
Friday, August 29, 2014 12:00:00 AM
Friday, September 19, 2014 12:00:00 AM
Tuesday, September 23, 2014 12:00:00 AM
Sunday, September 14, 2014 12:00:00 AM
Monday, June 23, 2014 12:00:00 AM
Friday, September 19, 2014 12:00:00 AM
Friday, September 19, 2014 12:00:00 AM
Friday, August 29, 2014 12:00:00 AM
Thursday, September 04, 2014 12:00:00 AM
Friday, August 29, 2014 12:00:00 AM
Tuesday, September 09, 2014 12:00:00 AM
Sunday, September 07, 2014 12:00:00 AM
Tuesday, September 02, 2014 12:00:00 AM
Tuesday, August 26, 2014 12:00:00 AM
Sunday, September 07, 2014 12:00:00 AM
Thursday, September 11, 2014 12:00:00 AM
Wednesday, August 27, 2014 12:00:00 AM

Similar Messages

  • Due date not calculated in F-28

    Hello,
    Can anyone tell me if in standard SAP, in F-28 (incoming payment) why the due date (or payment date) is not calculated ?
    I fulfilled posting date and document date (both 01/09/2009) and payment terms also (Z100 - 90 days end of month), but after saving the document and when i check it in FB03, i found that payment date (or due date) still 01/09/2009 and not 30/11/2009.
    Can someone explain why and in which cases SAP dosn't calculate the due date ?
    In advance, thank you for help

    Hi,
    The transaction F-28 - Incoming payment, in general it is used for receiving payments.  Then what is your requirement to calculate due data from posting date of this document.  Are you referring to value date in the bank item?  The due date will be calculated from baseline date in invoice, in this case you need to check the baseline date in the invoice (open item), right?
    Correct me, if my understanding on your requirement is wrong.
    thanks,
    Kumar

  • Loading date Not calculating Properly for Standard Order.

    Hi Gurus,
    I am facing issues in "OR" order type sales order where Loading date is not getting calculated correctly.
    On discussion with the client it was clear that they tried to schedule the Order manually for couple of times.
    But as much I believe Loading date should automatically be determined in SAP based on scheduling date.
    can any one tell me if there is any OSS note available for this or do we have any alternate solution for this case.
    Early reply Appreciated...
    Thanks in Advance!!!!!!
    Best Regards,

    Hi All,
    Any one who has faced this type of issue.

  • How can I get data (not wifi) with my new iPad in Iceland. Thanks

    How? If I can can't find a wifi spot?

    I assume that you need to find a cellular provider for your iPad. See if this is what you need.
    http://www.icenews.is/index.php/2012/07/16/vodafone-offers-prepaid-sim-cards-and -prepaid-3g-for-visitors-in-iceland/

  • Bi Dashboards issue works properly some times and after not display pointers data and give un expected error and throw login window

    HI,
    I have toff situation where  we deployed bi dashboards in our site and it works some time and some times not,
    and some times it keep loading and throw a login window.
    works when
    we restart performance point service  and if not work
    we re create secure store service and generated new key and create new pps service application
    before that we stopped secure store and pps service  using c.a in application server
    we are using ssas for datasource to connect  from dashboard designer
    we have seperate server for ssas dbs
    seperate application server running: pps service and secure store service
    two web front ends:  one of running secure store
    1 Domain controller + central admin service running
    some times after 4 -5 hours bi dashboards works , we dashboards not display data and throw un expected errors,
    also when we try to connect using a dashboard designer from a seperate client machine in same domain ,we have same issue , we unable to connect to ssas datasource server, and if connect some times unable to deploy dashboards.
    we tried every thin icreased server time out values  in ssas server
    :\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\Config\msmdsrv.ini. in this location
    and in 
    c:\program files\common files\microsoft shared\web server extensions\14\webclients\ppsmonitoringServer\client.config
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
    maxDepth="2147483647" />
    even we have same issue
    is some thing happening when dashboards working some time and  after some time not 
    is a secure store crashing or its still request pending in IIS and not authenticating to data soruce why 
    below are the logs
    Here are the results of the log analysis :
    server wfe1 
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services 39 Critical A PerformancePoint service application call was aborted by the caller.  This may indicate the HttpRuntime executionTimeout for the Web Application
    is configured to a value smaller than the DataSourceQueryTimeout for the PerformancePoint Service Application. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services ef8z Critical ‏‏حدث
    استثناء
    أثناء عرض
    عنصر ويب.
    قد تساعد
    معلومات التشخيص
    التالية في
    تحديد سبب
    هذه المشكلة:  Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.  ‏‏رمز
    خطأ "خدمات PerformancePoint"
    هو 20700. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C SharePoint Foundation Runtime ba3q Medium Redirect to error.aspx?ErrorText=Request%20timed%20out%2E failed. Exception: System.Web.HttpException: The remote host closed the connection. The error code is 0x800704CD.    
    at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)     at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()     at System.Web.HttpResponse.Flush(Boolean finalFlush)    
    at System.Web.HttpResponse.End()     at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString) 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:47:32.69 w3wp.exe (0x2128) 0x2154 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 78c107cd-0d4b-46f5-8e1a-0d9b4ebc7b29
    09/01/2014 15:07:40.74 w3wp.exe (0x2128) 0x209C PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/28_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) abf0263d-7333-4e4f-9cd4-a3a4dcb700c0
    09/01/2014 15:13:25.92 w3wp.exe (0x2128) 0x18DC PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/218_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) b35bf864-54f4-43fa-88a8-44cdf938bfa2
    09/01/2014 15:11:10.87 w3wp.exe (0x2128) 0x1F88 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Courts/Bic/Lists/PerformancePoint Content/4_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 7cea0eb6-214f-4d7b-a6e7-97a0fe11c956
    09/01/2014 15:11:40.87 w3wp.exe (0x2128) 0x2150 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/162_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 4154222b-6ff0-4b64-81b8-d08501a19278
    server wfe 2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    In the Roiscan logs we get an error in regards to the English Language pack:
    Review Items
    ============
    Error:                       Product {90140000-1015-0409-1000-0000000FF1CE} - Microsoft SharePoint Foundation 2010 1033 Lang Pack:  has unexpected
    file state(s).
    adil

    chinnijagadeesh,
    You suck!
    Signed: The rest of the universe.
    ... and quit crossposting FFS... it really is quite annoying!

  • Intermittent : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.

    I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
    The first step in the wrapper is to create a Transcript file using following code
    if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    $path = "c:\corp\$timestamp" + "_$pid.txt"
    Start-Transcript -path $path -append
    As expected the folder contains files with timestamp & pid in name
    08/08/2013  11:00 AM            14,388 2013-08-08-11-00-01.158_1620.txt
    08/08/2013  11:00 AM            12,506 2013-08-08-11-00-01.485_936.txt
    08/08/2013  11:00 AM            12,994 2013-08-08-11-00-01.735_9328.txt
    08/08/2013  11:00 AM            12,024 2013-08-08-11-00-01.766_8624.txt
    08/08/2013  11:00 AM            13,902 2013-08-08-11-00-01.860_1756.txt
    08/08/2013  11:01 AM            15,142 2013-08-08-11-01-31.392_10120.txt
    08/08/2013  05:00 AM            14,982 _1692.txt
    However note the last file, it has a zero length date time value in the name
    The error recorded by PowerShell is
    get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
    +    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    +                  ~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-date:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    IE get-date has failed and returned a zero length field as the timestamp
    Can anyone think of a good reason why get-date would fail intermittently?
    Do I have to code defensively for base Powershell functions?

    I implemented David's suggestion and now I intermittently get
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
    + import-module Microsoft.Powershell.Utility
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand
    I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
    trap {
        trap {
            "Trap1"
            "Exception: " + $_
            "Error: " + $Error[0]
            "Message: " + $_.Exception.Message
            "InnerException: " + $_.Exception.InnerException
            "StackTrace: " + $_.Exception.StackTrace
            "FailedItem: " + $_.Exception.ItemName
            import-module Microsoft.Powershell.Management
            import-module Microsoft.Powershell.Security
            import-module Microsoft.Powershell.Utility
        "Trap2"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        import-module Microsoft.Powershell.Management
        import-module Microsoft.Powershell.Security
        import-module Microsoft.Powershell.Utility
    import-module Microsoft.Powershell.Management
    import-module Microsoft.Powershell.Security
    import-module Microsoft.Powershell.Utility
    trap {
        "Trap3"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        exit 1
    get-date
    Now I intermittently get ..
    Trap2
    Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    InnerException:
    StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
       at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
       at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
    PSModuleInfo& module)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
    FailedItem:
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
    + import-module Microsoft.Powershell.Security
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand

  • Not getting data from newly created dashboards

    Hi,
    I have created new Dashboard like "Server Health Status"  not getting any data, whatever i have created earlier dashboards all getting data without any issue but if i create the same new dashboard im getting any data, please find the below error,
    Can you please help me n this issue anyone. I'm Using SCOM 2012 SP1 with SQL Server 2008 R2.
    Microsoft.EnterpriseManagement.Presentation.DataAccess.DataAccessDataNotFoundException: Exception reading objects ---> Microsoft.EnterpriseManagement.Common.UnknownDatabaseException: The query processor ran out of internal resources and could not produce
    a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support
    Services for more information.
       at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message)
       at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.GetRelatedManagedEntitiesByManagedEntityTypesAndCriteriaWithInstanceQueryOptions(IList`1 parentManagedEntityIds, Boolean recurse, IList`1 managedEntityTypeIds, IList`1
    managedEntityBaseTypeIds, IList`1 criterias, String languageCode, InstanceQueryOptions instanceQueryOptions)
       at Microsoft.EnterpriseManagement.InstancesManagement.GetRelatedObjectsInternal[T](ICollection`1 instanceIds, ICollection`1 criteriaCollection, TraversalDepth traversalDepth, ObjectQueryOptions queryOptions)
       at Microsoft.EnterpriseManagement.Management.DataProviders.ManagedEntityProvider.GetContainedManagedEntities(IDataObjectCollection targetEntities, ICollection`1 recursionTypeNames, ICollection`1 baseTypeNames, String criteriaString, List`1 valueDefinitions,
    List`1 sortValueDefinitions, String typePropertyName, String typeWithIconPropertyName, Boolean propertyCollectionRequested)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderCommandMethodInvoker.Invoke()
       at Microsoft.EnterpriseManagement.Monitoring.DataProviders.RetryCommandExecutionStrategy.Invoke(IDataProviderCommandMethodInvoker invoker)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderCommandMethod.Invoke(CoreDataGateway gateWay, DataCommand command)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.ExecuteInternal[TResult](DataCommand command)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.<ExecuteAsync>b__0[TResult](<>f__AnonymousType0`1 data)
    Thanks 
    Raja R
    Raja R

    Hi,
    Please try the Update Rollup 2 for System Center 2012 Service Pack 1
    http://support.microsoft.com/kb/2802159
    It fixes the issue “Query processor runs out of internal resources and cannot produce a query plan when you open Dashboard views”.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • 2.1 RC1 - Can not get data in Object viewer

    Hi,
    I open the table and change the tab to "Data" then error message is shown in the Data Editor Log panel.
    The message is "ORA-00923: FROM keyword not found where expected".
    This table has more than 100 columns. I guess that the SQL statement is too long so whole statement is not send to Oracle.
    EA2 work successfully.

    Hi,
    RaghvendraSaboo
    SELECT command is working in worksheet both 'select * from table' and 'select col1, co2,... from table'.
    Only object viewer can not show values.
    Here is the result of DESC command below.
    Thanks.
    desc ching1;
    Name Null Type
    CH-1 NOT NULL CHAR(6)
    CH-2 NVARCHAR2(16)
    CH-3 CHAR(1)
    CH-4Z CHAR(1)
    CH-4B CHAR(1)
    CH-4K CHAR(1)
    CH-5 CHAR(1)
    CH-6Z CHAR(1)
    CH-6B CHAR(1)
    CH-6K CHAR(1)
    CH-7 NUMBER(1)
    CH-8 NUMBER(1)
    CH-9 CHAR(1)
    CH-11 NUMBER(1)
    CH-12 NUMBER(7)
    CH-13 NUMBER(7)
    CH-14 CHAR(1)
    CH-15 CHAR(1)
    CH-16 NUMBER(2)
    CH-17 CHAR(1)
    CH-18 CHAR(1)
    CH-19 NUMBER(7)
    CH-20 NUMBER(7)
    CH-21 CHAR(1)
    CH-22 CHAR(1)
    CH-23 NUMBER(2)
    CH-24 CHAR(1)
    CH-25 CHAR(1)
    CH-26 CHAR(1)
    CH-27 CHAR(1)
    CH-28 CHAR(1)
    CH-30 CHAR(1)
    CH-31 CHAR(1)
    CH-32 CHAR(1)
    CH-33 CHAR(1)
    CH-34 NUMBER(3)
    CH-ER CHAR(1)
    CH-48 NUMBER(6)
    CH-49 CHAR(1)
    CH-50 NUMBER(6)
    CH-51 NUMBER(6)
    CH-60 NUMBER(1)
    CH-61 NUMBER(1)
    CH-62 NUMBER(1)
    CH-63 NUMBER(1)
    CH-64 NUMBER(1)
    CH-65 NUMBER(1)
    CH-66 NUMBER(1)
    CH-67 NUMBER(1)
    CH-68 NUMBER(1)
    CH-69 NUMBER(1)
    CH-73 NUMBER(1)
    CH-74 NUMBER(1)
    CH-75 NUMBER(1)
    CH-76 NUMBER(1)
    CH-79 NUMBER(3,2)
    CH-80 NUMBER(4)
    CH-81 NUMBER(4)
    CH-82 NUMBER(5)
    CH-83 NUMBER(5)
    CH-84 NUMBER(1)
    CH-85 NUMBER(5)
    CH-86 NUMBER(5)
    CH-87 NUMBER(5)
    CH-88 NUMBER(2)
    CH-91 NUMBER(1)
    CH-92 CHAR(1)
    CH-93 CHAR(1)
    CH-94 NUMBER(1)
    CH-95 NUMBER(1)
    CH-96 CHAR(1)
    CH-97 CHAR(1)
    CH-98 NUMBER(1)
    CH-99 NUMBER(6)
    CH-100 NUMBER(3,2)
    CH-101 NUMBER(7)
    CH-102 NUMBER(6)
    CH-103 NUMBER(6)
    CH-104 NUMBER(6)
    CH-105 NUMBER(6)
    CH-106 NUMBER(5)
    CH-107 NUMBER(6)
    CH-108 NUMBER(6)
    CH-109 NUMBER(6)
    CH-110 NUMBER(7)
    CH-111 NUMBER(7)
    CH-112 NUMBER(6)
    CH-113 NUMBER(6)
    CH-114 NUMBER(5)
    CH-120 NUMBER(6)
    CH-121 NUMBER(6)
    CH-130 NUMBER(5)
    CH-131 NUMBER(6)
    CH-132 NUMBER(6)
    CH-133 NUMBER(6)
    CH-134 NUMBER(6)
    CH-135 NUMBER(6)
    CH-136 NUMBER(6)
    CH-137 NUMBER(6)
    CH-138 NUMBER(6)
    CH-139 NUMBER(6)
    CH-140 NUMBER(6)
    CH-141 NUMBER(6)
    CH-142 NUMBER(6)
    CH-143 NUMBER(6)
    CH-144 NUMBER(5)
    CH-145 NUMBER(5)
    CH-146 NUMBER(5)
    CH-147 NUMBER(6)
    CH-148 NUMBER(5)
    CH-149 NUMBER(5)
    CH-150 NUMBER(6)
    CH-151 NUMBER(6)
    CH-152 NUMBER(6)
    CH-153 NUMBER(6)
    CH-154 NUMBER(6)
    CH-155 NUMBER(6)
    CH-156 NUMBER(6)
    CH-157 NUMBER(6)
    CH-160 NUMBER(7)
    CH-170 NUMBER(6)
    CH-171 NUMBER(5)
    CH-180 NUMBER(6)
    CH-190 NUMBER(7)
    CH-191 NUMBER(7)
    CH-200 NUMBER(3)
    CH-201 NUMBER(6)
    CH-202 NUMBER(6)
    CH-203 NUMBER(6)
    CH-204 NUMBER(6)
    CH-205 NUMBER(6)
    CH-206 NUMBER(6)
    CH-207 NUMBER(6)
    CH-208 NUMBER(6)
    CH-209 NUMBER(6)
    CH-210 NUMBER(6)
    CH-211 NUMBER(6)
    CH-212 NUMBER(6)
    CH-213 NUMBER(6)
    CH-214 NUMBER(6)
    CH-215 NUMBER(6)
    CH-216 NUMBER(6)
    CH-220 NUMBER(6)
    CH-221 NUMBER(6)
    CH-222 NUMBER(6)
    CH-223 NUMBER(6)
    CH-224 NUMBER(6)
    CH-225 NUMBER(6)
    CH-230 NUMBER(2)
    CH-231 NUMBER(5)
    CH-240 NUMBER(6)
    CH-241 NUMBER(6)
    CH-242 NUMBER(6)
    CH-243 NUMBER(6)
    CH-244 NUMBER(6)
    CH-280 NUMBER(6)
    CH-290 NUMBER(7)
    CH-300 NUMBER(6)
    CH-301 NUMBER(6)
    CH-302 NUMBER(6)
    CH-303 NUMBER(6)
    CH-304 NUMBER(1)
    CH-305 NUMBER(5)
    CH-306 NUMBER(1)
    CH-307 NUMBER(6)
    CH-308 NUMBER(6)
    CH-309 NUMBER(3)
    CH-310 NUMBER(6)
    CH-311 NUMBER(6)
    CH-312 NUMBER(6)
    CH-313 NUMBER(6)
    CH-314 NUMBER(6)
    CH-315 NUMBER(1)
    CH-316 NUMBER(5)
    CH-317 NUMBER(5)
    CH-318 NUMBER(5)
    CH-319 NUMBER(1)
    CH-320 NUMBER(5)
    CH-321 NUMBER(5)
    CH-322 NUMBER(5)
    CH-323 NUMBER(5)
    CH-324 NUMBER(6)
    CH-325 NUMBER(6)
    CH-326 NUMBER(6)
    CH-327 NUMBER(6)
    CH-328 NUMBER(6)
    CH-329 NUMBER(5)
    CH-330 NUMBER(5)
    CH-331 NUMBER(5)
    CH-332 NUMBER(6)
    CH-333 NUMBER(6)
    CH-334 NUMBER(5)
    CH-335 NUMBER(6)
    CH-336 NUMBER(6)
    CH-337 NUMBER(5)
    CH-338 NUMBER(5)
    CH-339 NUMBER(3)
    CH-340 NUMBER(6)
    CH-341 NUMBER(6)
    CH-342 NUMBER(6)
    CH-343 NUMBER(6)
    CH-344 NUMBER(6)
    CH-345 NUMBER(6)
    CH-346 NUMBER(6)
    CH-347 NUMBER(6)
    CH-348 NUMBER(6)
    CH-349 NUMBER(6)
    CH-350 NUMBER(6)
    CH-351 NUMBER(6)
    CH-352 NUMBER(6)
    CH-353 NUMBER(6)
    CH-354 NUMBER(6)
    CH-355 NUMBER(5)
    CH-356 NUMBER(5)
    CH-357 NUMBER(6)
    CH-358 NUMBER(6)
    CH-359 NUMBER(6)
    CH-360 NUMBER(6)
    CH-361 NUMBER(6)
    CH-362 NUMBER(6)
    CH-363 NUMBER(5)
    CH-364 NUMBER(5)
    CH-365 NUMBER(5)
    CH-366 NUMBER(5)
    CH-367 NUMBER(5)
    CH-368 NUMBER(5)
    CH-369 NUMBER(7)
    CH-370 NUMBER(7)
    CH-371 NUMBER(7)
    CH-372 NUMBER(7)
    CH-373 NUMBER(6)
    CH-374 NUMBER(6)
    CH-375 NUMBER(6)
    CH-380 NUMBER(6)
    CH-381 NUMBER(6)
    CH-382 NUMBER(6)
    CH-383 NUMBER(6)
    CH-384 NUMBER(6)
    CH-385 NUMBER(6)
    CH-386 NUMBER(6)
    CH-387 NUMBER(6)
    CH-388 NUMBER(6)
    CH-389 NUMBER(6)
    CH-390 NUMBER(5)
    CH-391 NUMBER(5)
    CH-392 NUMBER(5)
    CH-393 NUMBER(5)
    CH-394 NUMBER(6)
    CH-400 NUMBER(5)
    CH-401 NUMBER(4)
    CH-402 NUMBER(5)
    CH-403 NUMBER(5)
    CH-404 NUMBER(5)
    CH-405 NUMBER(5)
    CH-406 NUMBER(6)
    CH-407 NUMBER(6)
    CH-408 NUMBER(6)
    CH-409 NUMBER(6)
    CH-410 NUMBER(6)
    CH-411 NUMBER(6)
    CH-412 NUMBER(6)
    CH-413 NUMBER(6)
    CH-414 NUMBER(5)
    CH-415 NUMBER(6)
    CH-416 NUMBER(6)
    CH-417 NUMBER(6)
    CH-418 NUMBER(6)
    CH-419 NUMBER(6)
    CH-420 NUMBER(5)
    CH-421 NUMBER(5)
    CH-422 NUMBER(5)
    CH-423 NUMBER(5)
    CH-424 NUMBER(5)
    CH-425 NUMBER(5)
    CH-426 NUMBER(5)
    CH-427 NUMBER(6)
    CH-480 NUMBER(6)
    CH-490 NUMBER(6)
    CH-491 NUMBER(6)
    CH-500 NUMBER(6)
    CH-501 NUMBER(6)
    CH-502 NUMBER(6)
    CH-503 NUMBER(6)
    CH-504 NUMBER(6)
    CH-505 NUMBER(6)
    CH-506 NUMBER(6)
    CH-507 NUMBER(6)
    CH-508 NUMBER(6)
    CH-509 NUMBER(7)
    CH-510 NUMBER(7)
    CH-511 NUMBER(7)
    CH-512 NUMBER(7)
    CH-513 NUMBER(1)
    CH-514 NUMBER(1)
    CH-515 NUMBER(7)
    CH-516 NUMBER(7)
    CH-517 NUMBER(7)
    CH-518 NUMBER(7)
    CH-519 NUMBER(3)
    CH-520 NUMBER(7)
    CH-530 NUMBER(7)
    CH-531 NUMBER(7)
    CH-580 NUMBER(7)
    CH-590 NUMBER(6)
    CH-591 NUMBER(6)
    CH-600 NUMBER(4,1)
    CH-601 NUMBER(4,1)
    CH-602 NUMBER(4,1)
    CH-603 NUMBER(4,1)
    CH-604 NUMBER(4,1)
    CH-605 NUMBER(6,3)
    CH-606 NUMBER(4,1)
    CH-607 NUMBER(4,1)
    CH-608 NUMBER(2)
    CH-609 NUMBER(2)
    CH-610 NUMBER(2)
    CH-611 NUMBER(2)
    CH-612 NUMBER(2)
    CH-613 NUMBER(2)
    CH-614 NUMBER(2)
    CH-615 NUMBER(2)
    CH-616 NUMBER(2)
    CH-617 NUMBER(2)
    CH-618 NUMBER(2)
    CH-619 NUMBER(2)
    CH-620 NUMBER(2)
    CH-621 NUMBER(2)
    CH-622 NUMBER(2)
    CH-623 NUMBER(2)
    CH-624 NUMBER(2)
    CH-625 NUMBER(2)
    CH-626 NUMBER(2)
    CH-627 NUMBER(2)
    CH-628 NUMBER(3,1)
    CH-629 NUMBER(2)
    CH-630 NUMBER(2)
    CH-631 NUMBER(1)
    CH-632 NUMBER(1)
    CH-633 NUMBER(2)
    CH-634 NUMBER(4,1)
    CH-635 NUMBER(2)
    CH-636 NUMBER(4,1)
    CH-637 NUMBER(1)
    CH-638 NUMBER(2)
    CH-639 NUMBER(2)
    CH-640 NUMBER(4)
    CH-641 NUMBER(2)
    CH-642 NUMBER(2)
    CH-643 NUMBER(2)
    CH-644 NUMBER(2)
    CH-645 NUMBER(1)
    CH-646 NUMBER(2)
    CH-647 NUMBER(4,1)
    CH-648 NUMBER(1)
    CH-649 NUMBER(1)
    CH-650 NUMBER(2)
    CH-651 NUMBER(2)
    CH-660 NUMBER(4,1)
    CH-661 NUMBER(6,3)
    CH-662 NUMBER(4,1)
    CH-663 NUMBER(4,1)
    CH-664 NUMBER(4,1)
    CH-665 NUMBER(3,1)
    CH-666 NUMBER(2)
    CH-669 NUMBER(4,1)
    CH-670 NUMBER(6)
    CH-671 NUMBER(2)
    CH-672 NUMBER(2)
    CH-673 NUMBER(2)
    CH-674 NUMBER(2)
    CH-680 NUMBER(1)
    CH-681 NUMBER(4,1)
    CH-682 NUMBER(1)
    CH-683 NUMBER(4,1)
    CH-684 NUMBER(1)
    CH-685 NUMBER(4,1)
    CH-686 NUMBER(1)
    CH-687 NUMBER(4,1)
    CH-688 NUMBER(1)
    CH-689 NUMBER(4,1)
    CH-690 NUMBER(1)
    CH-691 NUMBER(4,1)
    CH-700 NUMBER(6)
    CH-701 CHAR(3)
    CH-702 CHAR(2)
    CH-703 NUMBER(7)
    CH-704 NUMBER(8)
    CH-705 NUMBER(8)
    CH-710 NUMBER(1)
    CH-711 NUMBER(4)
    CH-712 NUMBER(4)
    CH-720 NUMBER(5,2)
    CH-721 NUMBER(2)
    CH-750 NUMBER(8)
    CH-751 NUMBER(7)
    CH-752 NUMBER(7)
    CH-800 NUMBER(4)
    CH-801 NUMBER(4)
    CH-802 NUMBER(4)
    CH-803 NUMBER(6)
    CH-804 NUMBER(6)
    CH-811 NUMBER(4)
    CH-812 NUMBER(4)
    CH-813 NUMBER(6)
    CH-814 NUMBER(6)

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Not able to get data in production client in BEX query

    Hi Experts,
                       I have an SD related query which is working fine in development.
    in production while i run the query iam not getting data for three fields "ship to party" , "Bill to party" and "sold to party.
    I am able to see the data at the cube level but it is not reflecting in the query. Transportation of this query also
    did not throw any errors. Please provide a solution.
    Regards,
    susheeth.
    Edited by: Susheeth on Aug 4, 2011 1:26 PM

    Hi,
    Check if the characteristics used in query are direct objects from cube or navigation attributes of any other characteristics. In case of navigation attributes you need to have master data maintained.
    And as mentioned by Vamsi, check the text data maintained for 0CUSTOMER. And for checking data you can mark Key and Text option.
    Regards,
    Durgesh.

  • Not getting data in OBIEE report while pulling columns from different DB

    Hi All,
    I am creating a report in OBIEE 11g which uses Table A and table B which are joined in both physical layer and BMM layer. But somehow I am not getting any data in the report where as data is actually present for the matching joining columns. However when I made one of the tables (Table A ) as a driving table, I am getting data but only with a filter applied in the report which restricts the data to few records. If the filter is removed, I get an error which is " A Drive Table join exceeded the limit of XXX backend database queries".
    Could anyone tell me what can be the issue? Other than using driving table, is there any alternate method to resolve the issue?
    Thanks In Advance,
    Anju

    The error is due to the setting MAX_QUERIES_PER_DRIVE_JOIN in the database features table that controls and tunes driving table performance. Also, try to follow these blogposts to do cross-database joins/federated queries: http://oraclebizint.wordpress.com/2008/03/19/oracle-bi-ee-101332-cross-database-joins/ and http://www.rittmanmead.com/2007/10/reporting-against-multiple-datasources-in-obiee/
    Please assign points if helpful/correct.

  • HT1386 I have an older iPhone (3gs) and need to upgrade to a newer phone (4S).  I need to get my NOTES, CALENDAR, CONTACTS, PICTURES, etc backed up on iTunes so I can get that data loaded onto the new phone.  But not sure how to do that.

    I have an older iPhone (3gs) and need to upgrade to a newer phone (4S).  I need to get my NOTES, CALENDAR, CONTACTS, PICTURES, etc backed up on iTunes so I can get that data loaded onto the new phone.  But not sure how to do that.  When I open iTunes it has a button that say "Back Up iPhone", but I'm not sure what that does.  When I go into the sync options it say I have another user account and asks me if I want to merge of replace. I'm assuming it's trying to tell me I have an older iTunes Library, but don't know that.  Geez, maybe people over 60 shouldn't have iPhones, iTunes just bafles me.

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Not getting data for 1 field in ODS

    Hi BW Experts,
    I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
    I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
    Thanks,
    Siva.

    Thanks for the Update
    1. What is your Service Pack Level?
      Service Pack is 0016
    2. Are you able to see the data in PSA?
       Yes I can see the data in PSA
    3. After load, are you able to see the value in New table?
       Yes i can able to see the data in New data table
    4. Anywhere, are you doing the SORTING of Data Package?
       No I have not sorted the data Package.I have not written any coding on this
    I have not written any coding in transformation also.
    Thanks,
    Siva.

  • In VA01  In Schedule line Delivery date not getting populated

    Hello,
    We have developed enhancement for VA01 tcode.
    Depending upon the quatity entered for a material it should show one more item as free good.
    If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
    But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
    Can any one please suggest what i need to do in order to display delivery date for free good.
    Thanks in advance.
    Regards.

    Thanks for your response.
    Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
    Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again.

Maybe you are looking for

  • Cancelling Credit memo not reverse the accounting document

    Hello, Hello, We are facing pecular problem in production system when we Cancel the sales credit memo system is not genarating the reversal accounting document and it's genarating the entry same way credit memo. When we do the credit memo it's passin

  • IDVD encoding errors when attempting to burn slide show to DVD.

    iDVD fails to burn disk and fails with encoding error.  Have attempted to use best, good, and professional modes of encoding to no avail.

  • Firefox 14.0.1 OSX, New site opens new window.

    Everytime a new site is loaded it opens a new Firefox. I've removed Tab Plus and all the other plug-in but it still does it. I've also rebooted.

  • Spotify Connect windows client disappearing

    Dear all, Is there any issues with spotify connect dissapearing after a while of inactivity ? I am trying to stream spotify to hifi system via a HTPC ( running windows server 2012 ) .Everything is working fine when the app on the server is freshly ru

  • Symbols Mysteriously Not Appearing on Export

    Hey guys, So I have this interesting little bug, not even sure if it's a bug... In my flash document, I created a movie clip symbol with a very large size and put it on my timeline, and tweened it around to get it to move so you can see the whole thi