Modeling hierarchies with nodes having multiple assignments

Hello,
In IS-Health, there are cases where an organizational hierarchy has a node assigned to multiple higher nodes. Whilst R/3 - IS-H seems to accept this, BW hierarchies seems to fail during data loads. Apparently, this requires an innovative modeling approach. We did try generating a unique number range during extraction, but were forced to abandon this approach due to field length restrictions. Would be nice to hear from others on this subject.
Regards

Use this example...
public class TreeDemo {
private JFrame frame;
private JTree tree;
public TreeDemo (JTree tr) throws Exception {
frame=new JFrame();
frame.getContentPane().setLayout(new BorderLayout());
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
edit=new JEditorPane();
frame.getContentPane().add frame.getContentPane().add(tr,BorderLayout.CENTER);
frame.getContentPane().add(new JButton("ok"),BorderLayout.SOUTH);
frame.pack();
frame.show();
public static void main(String[] argv)
throws Exception
Vector v=new Vector();
v.add(0,"c:\\first\\abc");
v.add(1,"c:\\first\\abc\\word1.doc");
v.add(2,"c:\\first\\abc\\description.doc");
v.add(3,"c:\\first\\def ");
v.add(4,"c:\\first\\der\\tor1.doc");
TreeDemo html = new TreeDemo (createTree(v));
private static JTree createTree(Vector v) {
JTree tree = null;
DefaultMutableTreeNode root = null;
Iterator i = v.iterator();
String subStr;
DefaultMutableTreeNode parent=null;
root = new DefaultMutableTreeNode("ROOT");
tree = new JTree(root);
parent=root;
while (i.hasNext()) {
String path = (String)i.next();
StringTokenizer st = new StringTokenizer(path,"\\");
while (st.hasMoreTokens()) {
subStr = st.nextToken();
DefaultMutableTreeNode current=findObject(parent,subStr);
if (current==null) {
DefaultMutableTreeNode node = new DefaultMutableTreeNode(subStr);
parent.add(node);
parent=node;
else {
parent=current;
parent=root;
return tree;
private static DefaultMutableTreeNode findObject(DefaultMutableTreeNode parent,String value) {
for (int i=0; i<parent.getChildCount(); i++) {
DefaultMutableTreeNode node=(DefaultMutableTreeNode)parent.getChildAt(i);
if (node.getUserObject().equals(value)) {
return node;
return null;
best regards
Stas

Similar Messages

  • Multiple Assignments Issue

    We are in process of implementing Multiple assignments for a clients despite the assignment carries same Payroll and GRE .Could anyone list on the impact of having multiple assignments , any document id to review,
    Basically to take a stock of bad effects , when configuring Retropay, Tax distribution, Benefits Deduction..etc..Please advise
    Thanks
    -S-

    Hi
    Thanks for that - I now have it working.
    I am however having issues with Totals.
    They are fine in Discoverer Plus but I need to run this report in Desktop.
    In Desktop, I have totals for rows and totals for columns for both HeadCount and FTE.
    Initially, none were showing.
    After changing the aggregation option from 'Default aggregation behaviour' to 'Show the sum of the values', I now get everything except the grand total for HeadCount.
    Example below
    ______________Head Count____________________________FTE
    ________Asg Cat 1______Asg Cat 2____Total______Asg Cat 1____Asg Cat 2______Total
    Org1________2____________3__________5__________2____________3___________5
    Org2________1____________2__________3__________1____________2___________3
    Total________3____________5_____________________3____________5___________8
    As you can see, I'm getting every total except the total of '8' for HeadCount but I am getting it for FTE.
    I know this is often due to folder joins, but FTE and HeadCount are coming from the same folder, yet FTE is working and HeadCount isn't.
    Any ideas?
    Many thanks
    Martin
    Edited by: christm31 on May 4, 2012 10:27 AM

  • Does anyone have experience with having multiple editors work on the same project from different computers?

    Does anyone have experience with having multiple editors work on the same project from different computers?

    As much as I hate to admit it, YOU ARE RIGHT!
    I will tread lightly on this project.
    Thanks for the sanity check,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Having multiple problems with script - NTFS Permissions and AD Groups

    Hi, all!  I'm having multiple problems with my first script I've written with Powershell.  The script below does the following:
    1. Prompts the user for a corporate division under which a shared folder will be created, and adjusts variables accordingly.
    2. Prompts if the folder will be a global folder or an office/location-specific folder, and makes appropriate adjustments to variables.
    3.  If a global folder, prompts for the name.  If an office/location-specific folder, prompts for each component of the street address, city and state and an optional modifier.  I've prompted for this information in this way because the information
    is used differently later on in the script.
    4.  Verifies the entered information and requests confirmation to proceed.
    5.  Creates the folder.
    6.  Creates an AD OU and/or security group(s).
    7.  Applies appropriate security groups to the new folder and removes undesired permissions.
    Import-Module ActiveDirectory
    $Division = ""
    $DivAbbr = ""
    $OU = ""
    $OUDrive = "AD:\"
    $FolderName = ""
    $OUName = ""
    $GroupName = ""
    $OURoot = "ou=DFS Restructure Testing OU,ou=Pennsylvania Camp Hill 4410 Industrial Park Rd,ou=Locations,ou=Camp Hill,dc=jacobsonco,DC=com"
    $FSRoot = "E:\"
    $FolderPath = ""
    $DefaultFolders = "Archive","Customer Service","Equipment","Inbounds","Management","Outbounds","Processes","Projects","Quality","Reports","Returns","Safety","Schedules","Time Keeping","Training"
    [bool]$Location = 0
    do {
    $userInput = Read-Host "Enter CLS Division: (W)arehousing, (S)taffing, or (P)ackaging"
    Switch ($userInput)
    W {$Division = "Warehousing"; $DivAbbr = "WHSE"; $OU = "ou=Warehousing,"; break}
    S {"Staffing is not yet implemented."; break}
    P {"Packaging is not yet implemented."; break}
    default {"Invalid choice. Please re-enter."; break}
    while ($DivAbbr -eq "")
    write-host ""
    write-host ($Division + " was selected.")
    $FolderPath = $Division + "\"
    write-host ""
    $choice = ""
    do {
    $choice = Read-Host "Will this be a (G)lobal folder or (L)ocation folder?"
    Switch ($choice)
    G {$Location = $false; break}
    L {$Location = $true; $FolderPath = $FolderPath + "Locations\"; $OU = "ou=Locations," + $OU; break}
    default {"Invalid choice. Please re-enter."; $choice = ""; break}
    while ($choice -eq "")
    write-host ""
    write-host ("Location is set to: " + $Location)
    write-host ""
    if ($Location -eq $false) {
    $FolderName = Read-Host "Please enter folder name:"
    $GroupName = $DivAbbr + " " + $FolderName
    } else {
    $input = Read-Host "Please enter two-letter state abbreviation:"
    $FolderName = $FolderName + $input + " "
    $input = Read-Host "Please enter city:"
    $FolderName = $FolderName + $input + " "
    $input = Read-Host "Please enter street address number only:"
    $FolderName = $FolderName + $input
    $GroupName = $DivAbbr + " " + $FolderName
    $FolderName = $FolderName + " "
    $input = Read-Host "Please enter street name:"
    $FolderName = $FolderName + $input
    $input = Read-Host "Please enter any optional information to appear in folder name:"
    if ($input -ne "") {
    $FolderName = $FolderName + " " + $input
    $OUName = $FolderName
    write-host
    write-host "Path for folder: "$FSRoot$FolderPath$FolderName
    write-host "AD Path: "$OUDrive$OU$OURoot
    write-host "New OU Name: "$OUName
    write-host -NoNewLine "New Security Group names: "$GroupName
    if ($Location -eq $true) { write-host " and "$GroupName" MGMT" }
    write-host
    $input = Read-Host "Please confirm creation of new site/folder: (Y/N) "
    if ($input -ne "Y") { Exit }
    write-host
    write-host -NoNewLine "Folder exists: "; Test-Path ($FSRoot + $FolderPath + $FolderName)
    if (Test-Path ($FSRoot + $FolderPath + $FolderName)) {
    Write-Host "Folder already exists! Skipping folder creation..."
    } else {
    write-host "Folder does not exist. Creating..."
    new-item -path ($FSRoot + $FolderPath) -name $FolderName -itemtype directory
    Set-Location ($FSRoot + $FolderPath + $FolderName)
    if ($Location -eq $true) {
    $tempOUName = "ou=" + $OUName + ","
    write-host
    write-host $OUDrive$tempOUName$OU$OURoot
    write-host
    write-host -NoNewLine "OU exists: "; Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)
    if (Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)) {
    Write-Host "OU already exists! Skipping OU creation..."
    } else {
    write-host "OU does not exist. Creating..."
    New-ADOrganizationalUnit -Name $OUName -Path ($OU + $OURoot) -ProtectedFromAccidentalDeletion $false
    $GroupNameMGMT = $GroupName + " MGMT"
    if (!(Test-Path ($OUDrive + "CN=" + $GroupName + "," + $tempOUName + $OU + $OURoot))) { write-host "Normal user group does not exist. Creating..."; New-ADGroup -Name $GroupName -GroupCategory Security -GroupScope Global -Path ("OU=" + $OUName + "," + $OU + $OURoot)}
    if (!(Test-Path ($OUDrive + "CN=" + $GroupNameMGMT + "," + $tempOUName + $OU + $OURoot))) { write-host "Management user group does not exist. Creating..."; New-ADGroup -Name $GroupNameMGMT -GroupCategory Security -GroupScope Global -Path ("OU=" + $OUName + "," + $OU + $OURoot)}
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    # $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    $BIUsers = New-Object System.Security.Principal.NTAccount("BUILTIN\Users")
    $BIUsersSID = $BIUsers.Translate([System.Security.Principal.SecurityIdentifier])
    write-host $BIUsersSID.Value
    # out-string -inputObject $BIUsers
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($BIUsersSID.Value,"ReadAndExecute,AppendData,CreateFiles,Synchronize","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.RemoveAccessRuleAll($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    get-acl ($FSRoot + $FolderPath + $FolderName) | fl
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $ADGroupName = "JACOBSON\" + $GroupName
    $objUser = New-Object System.Security.Principal.NTAccount($ADGroupName)
    $objUser.Translate([System.Security.Principal.SecurityIdentifier]).Value
    write-host $ADGroupName
    write-host $objUser.Value
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName,"ReadAndExecute","ContainerInherit, ObjectInherit", "None", "Allow")
    Out-String -InputObject $ar
    $FolderACL.AddAccessRule($Ar)
    $ADGroupName = "JACOBSON\" + $GroupNameMGMT
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName, "Modify", "ContainerInherit, ObjectInherit", "None", "Allow")
    Out-String -InputObject $ar
    $FolderACL.AddAccessRule($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    } else {
    $tempOUName = "cn=" + $GroupName + ","
    write-host
    write-host $OUDrive$tempOUName$OU$OURoot
    write-host
    write-host -NoNewLine "Group exists: "; Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)
    if (Test-Path ($OUDrive + $tempOUName + $OU + $OURoot)) {
    Write-Host "Security group already exists! Skipping new security group creation..."
    } else {
    write-host "Security group does not exist. Creating..."
    New-ADGroup -Name $GroupName -GroupCategory Security -GroupScope Global -Path ($OU + $OURoot)
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $ADGroupName = "JACOBSON\" + $GroupName
    $FolderACL.SetAccessRuleProtection($True,$True)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($ADGroupName,"Modify","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    My problems right now are in the assignment/removal of security groups on the newly-created folder, and the problems are two-fold.  Yes, I am running this script as an Administrator.
    First, I am unable to remove the BUILTIN\Users group from the folder when this is an office/location-specific folder.  I've tried to remove the group in several different ways, and none are having any effect.  Oddly, if I type in the lines directly
    into Powershell, they work as expected.  I've tried the following methods:
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    $FolderACL.Access | where {$_.IdentityReference -eq "BUILTIN\Users"} | %{$FolderACL.RemoveAccessRuleAll($_)}
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    $FolderACL.SetAccessRuleProtection($True,$True)
    $BIUsers = New-Object System.Security.Principal.NTAccount("BUILTIN\Users")
    $BIUsersSID = $BIUsers.Translate([System.Security.Principal.SecurityIdentifier])
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($BIUsersSID.Value,"ReadAndExecute,AppendData,CreateFiles,Synchronize","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.RemoveAccessRuleAll($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    In the first case, the script goes through and has no apparent effect because afterwards, I do a get-acl and the BUILTIN\Users group is still there, although when looking through the GUI, inheritance appears to have been broken from the parent folder.
    In the second case, I get the following error message:
    Exception calling "RemoveAccessRuleAll" with "1" argument(s): "Some or all identity references could not be translated."
    At C:\Users\tesdallb\Documents\FileServerBuild.ps1:110 char:5
    +     $FolderACL.RemoveAccessRuleAll($Ar)
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : IdentityNotMappedException
    This seems strange that the local server is unable to translate the SID of a BUILTIN account.  I've also tried explicitly putting in the BUILTIN\Users SID in place of the variable in the New-Object line, but that gives me the same error.  I've
    also tried the solutions given in this thread:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ad59dc58-1360-4652-ae09-2cd4273cbd4f/remove-acl-issue?forum=winserverpowershell and at this URL:
    http://technet.microsoft.com/en-us/library/ff730951.aspx but these solutions also failed to have any effect.
    My second problem is when I try to apply the newly-created security groups, I also will get the "Some or all identity references could not be translated."  I thought I had found a workaround to the problem by adding the -PassThru option to
    the New-ADGroup commands, because it would output the SID of the group after creation, however a few lines later, the server is unable to translate the account to apply the security groups to the folder.
    My first Powershell script has been working well up to this point and now I seem to have hit a showstopper.  Any help is appreciated.
    Thanks!

    I was hoping to stay with strictly Powershell, but unless I can find a Powershell solution, I may resort to ICACLS.
    As for the problems with my groups not being translatable right after creating them, I think I have solved this problem by using the -Server parameter on all my New-ADGroup commands and this example code seems to have gotten around the translation problem,
    again utilizing the -Server parameter on the Get-ADGroup command:
    get-acl ($FSRoot + $FolderPath + $FolderName) | fl
    $FolderACL = get-acl ($FSRoot + $FolderPath + $FolderName)
    # Add the new normal users group to the folder with Read and Execute permissions
    $GroupSID = Get-ADGroup -Identity $GroupName -Server chadc01.jacobsonco.com | Select-Object -ExpandProperty SID
    $SIDIdentity = New-Object System.Security.Principal.SecurityIdentifier($GroupSID)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($SIDIdentity,"ReadAndExecute","ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    # Add the management users group to the folder with Modify permissions
    $GroupMGMTSID = Get-ADGroup -Identity $GroupNameMGMT -Server chadc01.jacobsonco.com | Select-Object -ExpandProperty SID
    $SIDIdentity = New-Object System.Security.Principal.SecurityIdentifier($GroupMGMTSID)
    $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($SIDIdentity, "Modify", "ContainerInherit, ObjectInherit", "None", "Allow")
    $FolderACL.AddAccessRule($Ar)
    Set-ACL ($FSRoot + $FolderPath + $FolderName) $FolderACL
    Going this route seems to ensure that the Domain Controller I'm creating my groups on is the same one that I'm querying for the group's SID to use in the FileSystemAccessRule.  It's been working fairly consistently.
    Still having issues with the translation of the BUILTIN\Users group, though. 

  • HT203433 Hi! I am so stumped with having multiple apple ID accounts now when I try to do an update on my iPhoto app it tells me to log into the account I used to purchase that app. I have tried going into my other accounts. Please help.

    Hi! I am so stumped with having multiple Apple ID accounts. I did this not knowing what I was doing and now I can not update my iPhoto app because it tells me to log into the account that I used to purchase it. I thought I was trying to do this but I can't get anywhere.
    Please help!
    Flora

    Hi Florafromco,
    You can view your iTunes Store account and request assistance by following the instructions below:
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    I hope this information helps ....
    The following article will provide a little more information regarding using multiple Apple ID's:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I hope this information helps ....
    Have a great day!
    Have a great day!
    - Judy

  • I have been having multiple issues lately with my iMac

    I have been having multiple issues lately with my iMac - starting with insanely slow processing/run speeds. 
    When I run Activity Monitor, consistently the highest usage of CPU is "ReportCrash" - typically shows up as 80-200% of CPU.
    What could this be caused by?
    I posted only a portion of the code from Activity Monitor but not sure what exactly is relevant or not.  I can certainly post more if it's needed.
    Many thanks!
    Analysis of sampling ReportCrash (pid 332) every 1 millisecond
    Process:         ReportCrash [332]
    Path:            /System/Library/CoreServices/ReportCrash
    Load Address:    0x10e14a000
    Identifier:      ReportCrash
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-04-23 18:17:29.753 -0400
    OS Version:      Mac OS X 10.8.3 (12D78)
    Report Version:  7
    Call graph:
        2492 Thread_6876   DispatchQueue_1: com.apple.main-thread  (serial)
        + 2492 start  (in libdyld.dylib) + 1  [0x7fff847cd7e1]
        +   2492 ???  (in ReportCrash)  load address 0x10e14a000 + 0xfb9c  [0x10e159b9c]
        +     2492 -[NSConditionLock lockWhenCondition:beforeDate:]  (in Foundation) + 235  [0x7fff815f1e39]
        +       2492 -[NSCondition waitUntilDate:]  (in Foundation) + 357  [0x7fff815f1fe3]
        +         2492 _pthread_cond_wait  (in libsystem_c.dylib) + 927  [0x7fff86326023]
        +           2492 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fff8b52f0fa]
        2491 Thread_6877   DispatchQueue_2: com.apple.libdispatch-manager  (serial)
        + 2491 _dispatch_mgr_thread  (in libdispatch.dylib) + 54  [0x7fff887179ee]
        +   2481 _dispatch_mgr_invoke  (in libdispatch.dylib) + 883  [0x7fff88717dea]
        +   ! 2481 kevent  (in libsystem_kernel.dylib) + 10  [0x7fff8b52fd16]
        +   8 _dispatch_mgr_invoke  (in libdispatch.dylib) + 134  [0x7fff88717afd]
        +   ! 4 _dispatch_mgr_thread2  (in libdispatch.dylib) + 43  [0x7fff887180a8]
        +   ! : 3 _dispatch_queue_drain  (in libdispatch.dylib) + 180  [0x7fff88716448]
        +   ! : | 2 _dispatch_queue_invoke  (in libdispatch.dylib) + 72  [0x7fff88716305]
        +   ! : | + 1 _dispatch_source_invoke  (in libdispatch.dylib) + 58  [0x7fff88717022]
        +   ! : | + ! 1 _dispatch_kevent_register  (in libdispatch.dylib) + 280  [0x7fff887173f4]
        +   ! : | + !   1 _dispatch_source_kevent_resume  (in libdispatch.dylib) + 63  [0x7fff88717513]
        +   ! : | + !     1 _dispatch_kevent_resume  (in libdispatch.dylib) + 92  [0x7fff88717588]
        +   ! : | + !       1 _dispatch_kevent_machport_resume  (in libdispatch.dylib) + 96  [0x7fff887175ec]
        +   ! : | + !         1 mach_port_move_member  (in libsystem_kernel.dylib) + 31  [0x7fff8b52e539]
        +   ! : | + !           1 _kernelrpc_mach_port_move_member_trap  (in libsystem_kernel.dylib) + 10  [0x7fff8b52d626]
        +   ! : | + 1 _dispatch_source_invoke  (in libdispatch.dylib) + 257  [0x7fff887170e9]
        +   ! : | +   1 _dispatch_kevent_unregister  (in libdispatch.dylib) + 286  [0x7fff887189ad]
        +   ! : | +     1 free  (in libsystem_c.dylib) + 199  [0x7fff8633a8f8]
        +   ! : | +       1 szone_free_definite_size  (in libsystem_c.dylib) + 211  [0x7fff8634012c]
        +   ! : | +         1 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 13  [0x7fff8630ff9d]
        +   ! : | 1 _dispatch_queue_push_list_slow2  (in libdispatch.dylib) + 33  [0x7fff88715e10]
        +   ! : |   1 _dispatch_wakeup  (in libdispatch.dylib) + 132  [0x7fff88715ecd]
        +   ! : |     1 _dispatch_queue_wakeup_global_slow  (in libdispatch.dylib) + 59  [0x7fff88716073]
        +   ! : |       1 pthread_workqueue_addthreads_np  (in libsystem_c.dylib) + 47  [0x7fff86324016]
        +   ! : |         1 __workq_kernreturn  (in libsystem_kernel.dylib) + 10  [0x7fff8b52f6d6]
        +   ! : 1 _dispatch_queue_drain  (in libdispatch.dylib) + 48  [0x7fff887163c4]
        +   ! 3 _dispatch_mgr_thread2  (in libdispatch.dylib) + 71  [0x7fff887180c4]
        +   ! : 3 _dispatch_source_drain_kevent  (in libdispatch.dylib) + 172  [0x7fff887186d2]
        +   ! :   3 _dispatch_source_merge_kevent  (in libdispatch.dylib) + 226  [0x7fff88718858]
        +   ! :     3 _dispatch_wakeup  (in libdispatch.dylib) + 132  [0x7fff88715ecd]
        +   ! :       3 _dispatch_queue_push_list_slow2  (in libdispatch.dylib) + 33  [0x7fff88715e10]
        +   ! :         3 _dispatch_wakeup  (in libdispatch.dylib) + 132  [0x7fff88715ecd]
        +   ! :           3 _dispatch_queue_wakeup_global_slow  (in libdispatch.dylib) + 59  [0x7fff88716073]
        +   ! :             3 pthread_workqueue_addthreads_np  (in libsystem_c.dylib) + 47  [0x7fff86324016]
        +   ! :               3 __workq_kernreturn  (in libsystem_kernel.dylib) + 10  [0x7fff8b52f6d6]
        +   ! 1 _dispatch_mgr_thread2  (in libdispatch.dylib) + 61  [0x7fff887180ba]
        +   !   1 _dispatch_cache_cleanup  (in libdispatch.dylib) + 30  [0x7fff88716695]
        +   !     1 szone_free  (in libsystem_c.dylib) + 473  [0x7fff8633c91d]
        +   !       1 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 13  [0x7fff8630ff9d]
        +   2 _dispatch_mgr_invoke  (in libdispatch.dylib) + 858,885  [0x7fff88717dd1,0x7fff88717dec]

    It would help to know more about your iMac.
    What year, screen size, CPU speed and amount of RAM installed?
    How full is your Mac's hard drive?
    How many applications do you run simultaneously in the background while working in another application?
    Do you run any antivirus software on your Mac? Antivirus software can slow down the normal operation of OS X.
    Do you run any "crapware" like Mackeeper or any other type of so called hard drive "cleaning" apps?
    Have you downloaded and installed anything recently that might have caused the erratic behaviour of your iMac?

  • ALV Hierarchical With multiple boxes

    Hello.
    I have an alv hierarchical with multiple boxes.
    Can I  insert a buttom in Gui status of alv that allows me to  expand  all the boxes of  hierarchy?
    Regards
    Angela

    Hi Narendra,
    Try this program:
    TABLES : sflight.
    TYPE-POOLS: slis.
    DATA : w_repid LIKE sy-repid.
    w_repid = sy-repid.
    DATA: BEGIN OF it_sflight OCCURS 0,
    checkbox(1),
    carrid LIKE sflight-carrid,
    END OF it_sflight.
    *layout
    DATA: wa_layout TYPE slis_layout_alv.
    *field catalog
    DATA: it_fieldcatalog TYPE slis_t_fieldcat_alv,
    wa_fieldcatalog TYPE slis_fieldcat_alv.
    START-OF-SELECTION.
    SELECT carrid FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_sflight.
    END-OF-SELECTION.
    CLEAR it_fieldcatalog.
    REFRESH it_fieldcatalog.
    wa_fieldcatalog-fieldname = 'CHECKBOX'.
    wa_fieldcatalog-outputlen = '3'.
    wa_fieldcatalog-col_pos = '1'.
    wa_fieldcatalog-seltext_m = 'Chk'.
    wa_fieldcatalog-checkbox = 'X'.
    wa_fieldcatalog-edit = 'X'.
    APPEND wa_fieldcatalog TO it_fieldcatalog.
    CLEAR wa_fieldcatalog.
    wa_fieldcatalog-fieldname = 'CARRID'.
    wa_fieldcatalog-outputlen = '10'.
    wa_fieldcatalog-col_pos = '2'.
    wa_fieldcatalog-seltext_m = 'Carrid'.
    APPEND wa_fieldcatalog TO it_fieldcatalog.
    CLEAR wa_fieldcatalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = w_repid
    is_layout = wa_layout
    i_callback_user_command = 'USER_COMMAND'
    it_fieldcat = it_fieldcatalog
    TABLES
    t_outtab = it_sflight
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    *& Form USER_COMMAND
    FORM user_command USING p_ucomm TYPE sy-ucomm
    p_selfld TYPE slis_selfield.
    CASE p_ucomm.
    WHEN '&DATA_SAVE'.
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    e_grid = ref1.
    CALL METHOD ref1->check_changed_data.
    LOOP AT it_sflight WHERE checkbox = 'X'.
    DELETE it_sflight INDEX sy-tabix.
    ENDLOOP.
    p_selfld-refresh = 'X'.
    ENDCASE.
    ENDFORM. "user_command
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Employes with Multiple Assignments

    Hi all
    can you please let me know how can i get list of employees with multiple assignments.
    Thanks in advance

    This has now been resolved, closing this post.
    thanks

  • One column having multiple values with comma separator.

    Hey Guys,
    In my db, one culmn having multiple values with comma separator. like column_name = 'value1,value2,value3'. Now I want to compare this column to another column and fetch in Cursor.
    and each value having corresponding email_id, By fetching cursor, I need to populate email_ids.
    Thanks in advance!!
    -Lakshman

    Please compare and fetch cursor and populate result with out extract data into temp table. Give me the query!You have not provided DDL for table so I don't know table or column name to write any SQL.
    You have not provided DML for test data to run SQL against.

  • I am having multiple issues with syncing my iphone calendar and outlook There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone I mostly enter items on my laptop

    I am having multiple issues with syncing my iphone calendar and outlook calendar on my laptop
    I mostly enter the original items on my laptop
    There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone

    This sounds like an error in Time Zone support. The time zone needs to be the same in Outlook as well as the phone.

  • At variance with Firefox 3, Firefox 4 does not ask me to save the opened tabs when I quit on having multiple opened tabs. How can I do this in Firefox 4?

    In Firefox 3, when I happened to close the program on having multiple opened tabs, Firefox asked me if I wanted to save and remember the opened tabs, so that I could retrieve them at the next Firefox restart. Firefox 4 does not do this anymore. Is it because I have not configured it correctly somehow, or is this normal? How can I recover this function?
    Thanks in advance,
    Andrea

    One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''

  • Same nodes in multiple sceners

    I am having trouble using the same nodes in multiple scenes. The nodes are grabbed from separate classes (nodes like ImageView).
    When I change scenes, the controls that are common to both scenes disappear.
    Thoughts?
    TIA

    A control/node cannot be simultaneously in two scenes: it is either in one or in the other. You have to transfer them explicitly in the new scene if you want to display them there. See also [Weird problem when adding items to JavaFX sequence|http://forums.sun.com/thread.jspa?threadID=5443763] with a good answer by Surikov.

  • Oracle HR restrictions based on multiple assignments and multiple GRE's.

    In oracle HR, with multiple assignments and multiple GRE. How can we restrict to having 1 assignment per GRE. I do not want more than 1 assignments per GRE. Has anyone done this before?

    Hi,
    If the requirement is to prevent the creation of multiple assignments, you can achieve that by personalizing the assignment form.
    Thanks
    Satheesh

  • My mac mail on both the desk top and Iphone is having multiple issues downloading e-mail from my At

    My mac mail on both the desk top and Iphone is having multiple issues downloading e-mail from my At&t

    You can get faster help by posting the Mac OS version you have and more details about your iMac. They have been in continuous productionsince 1998 with four distinct procesor families, and each ahve different troubleshooting steps. If you called a Ford dealer about a car problem, the first thing ithey will ask is "which Ford model and year?" Same deal here.
    The processor description is found when you do "About this Mac" and will be a good start for identifying your iMac model; the Mac OSX will be there too.

  • MM: PO Not Picking up PR Having Multiple Line Items

    Hi All,
    When Creating PO with Reference to PR Having multiple line items, not picking up the line items and also the vendor and also the where in we  have to select  input tax code.
    CASE1: Created PR 760001340 with single line item and also could able to create PO.
    Case2: Created PR 760001341 with multiple line items, When creating PO with reference to PR the line items and Vendor are not picking Up.
    Plz. Advise a solution.
    Thanks in Advance.....
    Regards
    Sudheer

    HI SHWN,
    Thanks for prompt response.
    ERROR Message: When referencing a requisition, please also enter a requisition item no.
    Regards
    Sudheer

Maybe you are looking for

  • Rotate Video Clips in iMovie

    I am fairly new to this whole operating system, and while it works 5million times better than what I'm used to, there are still several kinks in the system that I need a bit of help working out: I recently took a video on my digital camera that was o

  • Mouse pad virtual wheel not working in bookmarks menu

    Hi, My laptops mouse pad wheel does not work in the bookmarks menu. It works fine in any other application or on the main view in firefox. I'm not very organized and have hundreds of bookmarks, it's frustrating to have to wait for the up/down buttons

  • Mac display/Gamecube question

    I've just purchased a studio display with an ADC to DVI adapter and stumbled across one of these: h**p://www.gefen.com/kvm/product.jsp?prod_id=3258 Could I use this to hook up my gamecube to my Mac display? I did hear that an official DVI lead for ga

  • Using Hint in Update or Select Statement...

    Hi , I had an update statement that will get the data from the inline select statement,now where can i can keep the hint ,either in update statement or in Select statement... Please let me know if my sample script is wrong or any better way to approa

  • Lightroom support for Olympus OMD E5 Mark II

    When will Lightroom provide support for Olympus OMD E5 Mark II  Hight Res RAW files?