Cloned VM's showing in WSUS Manager but name and IP changing on every refresh

It's likely the WSUS SusClientID, which doesn't get removed during sysprep, that's a duplicate so the records keep overwriting themselves in WSUS.  Have a look at this blog for a description and a script to fix:
http://blogs.technet.com/b/sus/archive/2009/05/05/resolving-the-duplicate-susclientid-issue-or-why-d...

Hello all,
We have approx 6 Windows 7 Pro VM's that a group of users use for a specific piece of software. They log on via RDP from their normal machine when they want to use one.
VM's were all cloned from an original. I didn't do it so we don't know how they were prepped although I'm under the impression that the SID issue should be sorted because it is showing in WSUS Manager.
One of our dev's has said it could be an issue from VMWare, possibly there are sharing the same MAC address on their virtual NIC? 
Has anyone ever seen this happening?
James 
This topic first appeared in the Spiceworks Community

Similar Messages

  • My old appleID use email with domain already deactivate. So I changed my appleID and primary email and now I can not access iCloud with iOS7. ICloud shows my old appleID but I can't change it. How do I get iCloud to work with my updated ID?

    My old email that using register for apple ID cannot access/check any mail because that domain already deactivate.
    So I changed my appleID and primary email and now I can not access iCloud with iOS7. ICloud shows my old appleID but I can't change it. How do I get iCloud to work with my updated ID?

    Hi ccharat,
    Welcome to the Apple Support Communities! It sounds like you did a good job editing your Apple ID and primary email address, but you didn’t sign out of iCloud on your iOS device before hand. What you may need to do in this situation is go back to the Apple ID website and edit your Apple ID and primary email address back to the email address that is signed in with iCloud (there is no need to verify the account after editing it back to the old account, just changing it back is enough). Once your Apple ID is back to the original account, delete the iCloud account from the iOS device and be sure to keep all info on the device when prompted. After you delete the iCloud account, go back to the website and edit your Apple ID and primary email address back to the new address. Once it is back to the account you would like, you can sign into the iCloud on the iOS device with that new account and merge all of the data when prompted. Please use the following article as a reference.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/ts5223
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Go to Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Delete Account, then tap Delete to confirm.
    Tap “Keep on My [Device]” or “Delete from My [Device].” In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    I hope this helps,  
    -Joe

  • Carousel don't show images, only the page name and a "read more" link

    Good morning.
      I'm trying to get a carousel in my page. I already set a image to one page and on my carousel component, I selected that page.
      When I see the carousel, it shows me the page inputed name and a "read more" link instead of the image.
      Can anyone tell me what's wrong or missed?
      Heres a print screen:
    Thanks.

    What did I do to correct this problem:
       When I create a page renderer component, the same automatically creates a jsp file, with the same name as the component. In my Geometrixx copy sites, there's always a "content.jsp" file in the components, despite of the one with the same name of the component. So, instead of build my pages in the componentname.jsp, i'm doing this is these content.jsp. Just doing this, the carroussel works perfectly. For sure is something that I miss in my own jsp files, but even with the same code (copy > paste), in my jsp the carroussel don't work. Anyway, now I can use it.

  • Hi i'm trying to install updates but Name and then the password I have for the account won't let me in. Is my name my email address?

    hi i'm trying to install updates but Name and then the password I have for the account won't let me in. Is my name my email address?

    Updates do not normally require any kind of password access.  It is more likely your machine's security is asking for you to allow things to be updated.

  • Firefox shows in task manager, but won't open

    Firefox doesn't open, though it opens once in a while. It shows in task manager and takes up 50% CPU usage, and ending process and retrying doesn't work. Profile manager doesn't open either. There's no error message, and have restarted laptop (Windows XP) many times, but no results.
    Help would be appreciated!

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • I changed my appleID and primary email and now I can not access iCloud. ICloud shows my old appleID but I can't change it. How do I get iCloud to work with my updated ID?

    I Changed my ISP and therefore changed my email address, which caused me to change my appleID.  I had no problems making the changes to my appleID but now I am having problems with iCloud. My old ID is still showing as my iCloud ID and I can not see where or how to change this. I keep getting an annoying pop up box to enter the password for my OLD appleID as well as error messages that I can't back up to iCloud.
    CAn someone please tell me how I can fix this so my iCloud works.
    THank you!!!!!

    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • Versamail no show incoming mails sender's name and subject after ROM upgrade

    It is unlocked GSM 680 before with rom ROW 1.04 and worked quite well. After the upgrade to R01.92 1.12ROW, the incoming emails doesn't show sender's name(address) and subjects, but email content displays correctly. Don't know if the VERSAMAIL program has lost some files or modules. Anyone can help?
    Post relates to: Treo 680 (Unlocked GSM)

    I see the subject of this post specifically mentions a ROM upgrade. I didn't do a ROM upgrade but I had the same exact symptom after installing CJKOS which allows Chinese, Japanese, Korean characters be displayed on my Palm Treo. The CJKOS preferences are not in English but eventually I was able to figure out if I disable that application within that app's preferences, the sender's name and subjects are now appearing. Maybe there is something the few of you are doing that is similar?
    Post relates to: VisorPhone

  • ITunes shows in Task Manager but doesn't run

    I was having an issue where my iTunes would start and show as a process running in Windows Task Manager, however, the GUI interface would never show up. I could end the process, but restarting the application led me to the sam state I was in before; the process was there, but no iTunes.
    I am running Windows XP Media Centre 2005 edition with rollup 2, 2Gb of RAM, AVG AntiVirus, all the latest MS patches and Windows Defender all up-to-date. Stopping all the anti virus and anti-malware programs didn't help. Reinstalling iTunes did nothing, and installing the stand-alone version of QuickTime did not work either.
    I searched many an archived article to find the particular solution that worked for me, and I have linked to it below.
    http://docs.info.apple.com/article.html?artnum=302386
    Hope this helps someone in the future. It was a very frustrating exercise, to say the least.
    HP Pavilion m7250n   Windows XP   MCE 2005 Rollup 2

    http://docs.info.apple.com/article.html?artnum=302386

  • Windows Updates not showing in Configuration Manager but Endpoint updates are working

    I have an issue which I have found whilst creating ADR's.  I currently have an Endpoint ADR Set up and working and tried to set up a Windows 7 update ADR but cannot get Configuration Manager to locate any updates, I even change properties to just select
    the product 'Windows 7' but when pressing preview I still get no results.
    This is the output from ruleengine.log when I try to run the rule.
    Found notification file C:\Program Files\Microsoft Configuration Manager\inboxes\RuleEngine.box\4.RUL
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    RuleSchedulerThred: Change in Rules Object Signalled.
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3844 (0x0F04)
    Refreshed ScheduleList instance for Rule (1) from schedule string (0153BB0000100100) with next occurence (19/11/2014 12:00:00)
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3844 (0x0F04)
    Refreshed ScheduleList instance for Rule (4) from schedule string (5173BB0000100008) with next occurence (20/11/2014 11:20:00)
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3844 (0x0F04)
    FindNextEventTime found next event for RuleID 1 as :19/11/2014 12:00:00
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3844 (0x0F04)
    RuleEngine: Got next rule execution time successfully. Next event is in  30 minutes
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3844 (0x0F04)
    Sleeping for 15 minutes SMS_RULE_ENGINE
    19/11/2014 11:29:20 3844 (0x0F04)
    Constructing Rule 4 using Auto Deployment Rule Factory
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
        Populating Rule Skeleton SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
        Populating Criterion Skeleton
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
        Populating Action Skeleton SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
        Populating Action Skeleton SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    CRuleHandler: Need to Process 1 rules SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    CRuleHandler: Processing Rule with ID:4, Name:Windows 7 Client Update Deployment Rule.
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    Evaluating Update Criteria for AutoDeployment Rule 4
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
      Evaluating Update Criteria... SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
        Rule Criteria is: <UpdateXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="SMS_SoftwareUpdate" LocaleId="1033"><UpdateXMLDescriptionItems><UpdateXMLDescriptionItem
    PropertyName="BulletinID" UIPropertyName=""><MatchRules><string>MS</string></MatchRules></UpdateXMLDescriptionItem><UpdateXMLDescriptionItem PropertyName="DateRevised" UIPropertyName=""><MatchRules><string>1:0:0:0</string></MatchRules></UpdateXMLDescriptionItem><UpdateXMLDescriptionItem
    PropertyName="_Product" UIPropertyName=""><MatchRules><string>'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'</string></MatchRules></UpdateXMLDescriptionItem><UpdateXMLDescriptionItem PropertyName="IsSuperseded"
    UIPropertyName=""><MatchRules><string>false</string></MatchRules></UpdateXMLDescriptionItem></UpdateXMLDescriptionItems></UpdateXML>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
          Inserting PropertyName:BulletinID, PropertyValue:MS
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
          Inserting PropertyName:DateRevised, PropertyValue:1:0:0:0
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
          Inserting PropertyName:_Product, PropertyValue:'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
          Inserting PropertyName:IsSuperseded, PropertyValue:false
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
        Query to run is: select CI_ID from dbo.fn_ListUpdateCIs(1033) ci~where IsExpired=0~  and (BulletinID like N'%MS%')~  and (DateRevised>=N'2013-11-19 11:29:20')~  and (IsSuperseded=0)~  and (CI_ID in (select CI_ID from v_CICategories_All
    where CategoryInstance_UniqueID in (N'Product:bfe5b177-a086-47a0-b102-097e4fa1f807')))
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
      Rule resulted in a total of 0 updates
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
      Evaluation Resultant XML is: <EvaluationResultXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CI_IDs></CI_IDs> </EvaluationResultXML>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    Enforcing Content Download Action SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    Download Rule Action XML is: <ContentActionXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PackageID>NC20000A</PackageID><ContentLocales><Locale>Locale:9</Locale><Locale>Locale:0</Locale></ContentLocales><ContentSources><Source
    Name="Internet" Order="1"/><Source Name="WSUS" Order="2"/><Source Name="UNC" Order="3" Location=""/></ContentSources></ContentActionXML>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    Criteria Filter Result XML is: <EvaluationResultXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CI_IDs></CI_IDs> </EvaluationResultXML>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    0 update(s) need to be downloaded in package "NC20000A" (\\SCCM2012R2\UpdateServicesPackages\Updates\Windows 7 Updates)
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    List of update(s) which match the content rule criteria = {}
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    No new update was added to the package. Package "NC20000A" would not be updated.
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    Download action completed for the AutoDeployment
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    Enforcing Create Deployment Action SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
      Create Deployment Rule Action XML is: <DeploymentCreationActionXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CollectionId>NC20000C</CollectionId><IncludeSub>true</IncludeSub><Utc>false</Utc><Duration>7</Duration><DurationUnits>Days</DurationUnits><AvailableDeltaDuration>0</AvailableDeltaDuration><AvailableDeltaDurationUnits>Hours</AvailableDeltaDurationUnits><SuppressServers>Checked</SuppressServers><SuppressWorkstations>Unchecked</SuppressWorkstations><PersistOnWriteFilterDevices>Unchecked</PersistOnWriteFilterDevices><AllowRestart>false</AllowRestart><DisableMomAlert>true</DisableMomAlert><GenerateMomAlert>false</GenerateMomAlert><UseRemoteDP>true</UseRemoteDP><UseUnprotectedDP>true</UseUnprotectedDP><UseBranchCache>true</UseBranchCache><EnableDeployment>true</EnableDeployment><EnableWakeOnLan>false</EnableWakeOnLan><AllowDownloadOutSW>false</AllowDownloadOutSW><AllowInstallOutSW>false</AllowInstallOutSW><EnableAlert>true</EnableAlert><AlertThresholdPercentage>90</AlertThresholdPercentage><AlertDuration>7</AlertDuration><AlertDurationUnits>Days</AlertDurationUnits><EnableNAPEnforcement>false</EnableNAPEnforcement><UserNotificationOption>HideAll</UserNotificationOption><LimitStateMessageVerbosity>true</LimitStateMessageVerbosity><StateMessageVerbosity>1</StateMessageVerbosity><AllowWUMU>false</AllowWUMU><AllowUseMeteredNetwork>false</AllowUseMeteredNetwork></DeploymentCreationActionXML>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
      Rule XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>Windows 7 Client Update Deployment Rule</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>false</AlignWithSyncSchedule><ScopeIDs><ScopeID>NC200001</ScopeID><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
      Criteria Filter Result XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>Windows 7 Client Update Deployment Rule</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>false</AlignWithSyncSchedule><ScopeIDs><ScopeID>NC200001</ScopeID><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule>
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
        Parsing Deployment Action XML...
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
        Parsing Rule XML... SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    Could not find element DeploymentId SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    Could not find element UpdateGroupId SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    Could not find element UpdateGroupName SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    The rule resulted in no updates being found. Skip deployment creation or update...
    SMS_RULE_ENGINE 19/11/2014 11:29:20
    3840 (0x0F00)
    CRuleHandler: Rule 4 Successfully Applied! SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    CRuleHandler: ResetRulesAndCleanUp() SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    Updated Success Information for Rule: 4 SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    CRuleHandler: Deleting Rule 4 SMS_RULE_ENGINE
    19/11/2014 11:29:20 3840 (0x0F00)
    I am a bit stumped with this so if anyone can help I would be grateful.
    Thanks
    Paul

    Just seen wsyncmgr is busy syncing updates so actually I think I need more patience :-)
    That's always a good idea when using ConfigMgr ...
    Torsten Meringer | http://www.mssccmfaq.de

  • I run firefox, it shows in task manager, but nothing on screen, i run it again get it on screen but nothing happens its dead

    i start firefox, nothing happens, but firefox.exe is running according to the task manager, i run it again, and it appears on the screen but nothing happens, it doesnt connect to anywhere, just sits there, nothing clicks, no menus pull down but i dont get any not responding error

    i start firefox, nothing happens, but firefox.exe is running according to the task manager, i run it again, and it appears on the screen but nothing happens, it doesnt connect to anywhere, just sits there, nothing clicks, no menus pull down but i dont get any not responding error

  • My iPod touch won't show up in iTunes, but charges and shows up on different computers.

    My iPod touch 5th gen last was synced with my iMac a couple weeks ago. Now when I plug it into iTunes, it won't show up. It's done this before and I've fixed it by updating iTunes, restarting the iPod/computer etc, but it seems I've tried everything. I've connected it to different USB ports, and it charges in all of them but doesn't show up. When I plug it in, Dropbox recognizes it and can get the pictures off, but iTunes won't work. I tried connecting the iPod to a different computer, and it showed up in iTunes just fine. I have the latest version of iTunes. I didn't restore my iPod from the other computer because if I can't get it to re-sync with this computer I'd rather not lose all my data. It seems I need to reinstall iTunes, but I don't know how- will it delete all my music that I already have on there?
    Any help would be greatly appreciated, thanks!

    I had this issue, I fixed it by going to:
    Start > Control Panel > Devices and Printers
    Then find the iPod, and Right Click > Properties > Hardware > Properties > Driver > Update Driver > Update Automatically
    The driver had not been automatically installed, and windows found and installed the driver files for me. Took ~90 seconds, and then the iPod began it's sync process almost immediately after. Hope this helps anyone with the same issue! I'd try this before re-installing iTunes.

  • Java Dispatcher Down but Server0 and SDM up after system refresh

    Hello,
    I have done system refresh from PRD to QAS of CRM system - dual stack.Once after the system refresh ABAP is up and running fine but Java is down (Only Dispatcher is down. Both SDM and Server0 are running fine).
    I have followed Note 609603 - Problems with Multiple NICs and SAP J2EE Engine and have given the correct host name but the no luck..
    std_dispatcher.out says the following error:
    Cannot attach to the Message Server. Can't open port [3925] on host [<Source Host Name>/Source IP Address].
    Could you please let me know if I need to do any changes in the Config tool?
    Thanks,
    Subbu

    HI,
    IN DB restore the hostname of java system stored in profiles would be your PRD.
    Go to Configtool in Edit mode -- cluster --> change the hostnames in Instance profile -- and under other files like bootstrap etc whereever you find PRD hostname.
    And otherwise for JAVA system you should use export/import option.
    Regards,
    Tajinder

  • How  to filter by manager's name using selection screen

    Hi all,
      I am trying to modify the report to filter data from the report based on the manger name given in selection screen. As the manger's name was given in selection screen.. records have to come only of the employee how were working under that entered manager name.
      I am unable to follow this code to modify.. where to add select criteria to filter... please make modify to my code..
      I am pasting my code here, Can any one kindly help for this scenario.
    TABLES: PA0001,  "HR Master Record: Infotype 0001 (Org. Assignment),
            PA0002,
            P0000,
            PA9001,
            PA0007,
            HRP1001, "Infotype 1001 DB Table
            PA0034. "HR Master Record: Infotype 0034 (Corporate Function)
    *Internal table for holding output data
    DATA: IT_PA0002 LIKE PA0002  OCCURS 100 WITH HEADER LINE,
          IT_PA9001 LIKE PA9001  OCCURS 100 WITH HEADER LINE,
          IT_PA0007 LIKE PA0007  OCCURS 100 WITH HEADER LINE,
          IT_PA0034 LIKE PA0034  OCCURS 100 WITH HEADER LINE.
    DATA: IT_RET LIKE BAPIRET2,
          IT_ACT LIKE BAPI_SWHACTOR OCCURS 0,
          IT_STR LIKE BAPI_STRUC OCCURS 0,
          IT_ORG LIKE BAPI_OBJEC OCCURS 0,
          IT_POS LIKE BAPI_OBJEC OCCURS 0,
          IT_SUP LIKE BAPI_OBJEC OCCURS 0,
          IT_FCAT LIKE BAPI_HRAQFIELDDESCRIPTION OCCURS 0,
          IT_FDAT LIKE BAPI_HRFIELDDATA OCCURS 0,
          IT_ORGS TYPE STANDARD TABLE OF BAPI_OBJEC WITH HEADER LINE,
          IT_POSS TYPE STANDARD TABLE OF BAPI_OBJEC WITH HEADER LINE,
          IT_SUPR TYPE STANDARD TABLE OF BAPI_OBJEC WITH HEADER LINE,
          V_DATE  TYPE SY-DATUM,
          IT_T500P LIKE T500P OCCURS 0 WITH HEADER LINE,
          IT_TT500P LIKE T500P OCCURS 0 WITH HEADER LINE,
          IT_T001P LIKE T001P OCCURS 0 WITH HEADER LINE      .
    DATA: IT_PA0001 LIKE PA0001 OCCURS 100 WITH HEADER LINE,
          P_ENDDA LIKE sy-datum.
    DATA: Begin of I_HRE,
            pernr  like  pa0001-pernr,  "Emp Number
            nachn  like  pa0002-nachn,  "Last Name
            vorna  like  pa0002-vorna,  "First Name
            plans  like  BAPI_OBJEC-LONG_TEXT,  "Position
            div_text  like  pa9001-div_text,
            kztim  like  ZKZTIM_VAUES-name,
            stext  like  T591S-STEXT,     "Corporate function text
            werks  like  BAPI_OBJEC-LONG_TEXT,
            btrtl  like  pa0001-btrtl,
            orgeh  like  BAPI_OBJEC-LONG_TEXT,
            kostl  like  pa0001-kostl,
            mstbr  like  pa0001-mstbr,  "Supervisor
          End of I_HRE.
    DATA: I_HR like I_HRE occurs 100 with header line.
    DATA: V_PLANS LIKE PA0001-PLANS,
          V_EMP   LIKE PA0001-PERNR,
          V_KOSTL LIKE PA0001-KOSTL,
          V_SUPER LIKE BAPI_OBJEC-LONG_TEXT,
          V_EMP_POS LIKE BAPI_OBJEC-LONG_TEXT,
          V_SUPER_POS LIKE BAPI_OBJEC-LONG_TEXT,
          V_HEADER TYPE N VALUE 1,
          V_COUNTER TYPE N VALUE 1,
          EMP_INDICATOR TYPE N,
          V_ORGEH LIKE BAPI_OBJEC-LONG_TEXT,
          V_WERKS LIKE BAPI_OBJEC-LONG_TEXT,
          V_KZTIM LIKE ZKZTIM_VAUES-NAME,
          V_STEXT LIKE T591S-STEXT.
      DATA: v_file TYPE string,         "Detail Filename
            v_filerecord(1000),
            f_filerecord(1000),
            drive(3),
            mstbr  like  pa0001-mstbr,  "Supervisor
            count  type n value 0.
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_PERNR FOR P0000-PERNR,
                    S_WERKS FOR PA0001-WERKS,
                    S_BTRTL FOR PA0001-BTRTL,
                    S_PERSG FOR PA0001-PERSG,
                    S_ORGEH FOR PA0001-ORGEH,
                    S_DIV   FOR PA9001-DIV_CODE,
                    S_KZTIM FOR PA0007-KZTIM,
                   S_sname for pa0001-sname, " this is to enter name
                                                             " as manager name
                    S_FUNKT FOR PA0034-FUNKT.
    SELECTION-SCREEN END OF BLOCK SELECTION.
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION1 WITH FRAME TITLE TEXT-002.
    PARAMETERS:     P_BEGDA LIKE SY-DATUM DEFAULT sy-datum.
    *                P_ENDDA LIKE SY-DATUM DEFAULT '99991231'.
    SELECTION-SCREEN END OF BLOCK SELECTION1.
    START-OF-SELECTION.
    if P_BEGDA is initial.
      p_begda = sy-datum.
    endif.
    if P_ENDDA is initial.
      p_endda = sy-datum.
    endif.
    if S_PERSG is initial.
    *    S_PERSG-SIGN = 'I'.
    *    S_PERSG-OPTION = 'EQ'.
    *    S_PERSG-LOW = '1'.
    *    APPEND S_PERSG.
    *    S_PERSG-SIGN = 'I'.
    *    S_PERSG-OPTION = 'EQ'.
    *    S_PERSG-LOW = '6'.
    *    APPEND S_PERSG.
        S_PERSG-SIGN = 'I'.
        S_PERSG-OPTION = 'NE'.
        S_PERSG-LOW = '5'.
        APPEND S_PERSG.
    endif.
      SELECT * FROM PA0001 into IT_PA0001
        WHERE PERNR IN S_PERNR
          AND WERKS IN S_WERKS
          AND BTRTL IN S_BTRTL
          AND PERSG IN S_PERSG
          AND ORGEH IN S_ORGEH
          AND BEGDA LE P_BEGDA
          AND ENDDA GE P_ENDDA.
        APPEND IT_PA0001.
      ENDSELECT.
      IF not S_DIV[] is initial.
        SELECT * FROM PA9001 into IT_PA9001
          WHERE DIV_CODE IN S_DIV.
          APPEND IT_PA9001.
        ENDSELECT.
      ENDIF.
      IF not S_KZTIM[] is initial.
        SELECT * FROM PA0007 into IT_PA0007
          WHERE KZTIM IN S_KZTIM.
          APPEND IT_PA0007.
        ENDSELECT.
      ENDIF.
      IF not S_FUNKT[] is initial.
        SELECT * FROM PA0034 into IT_PA0034
          WHERE FUNKT IN S_FUNKT.
          APPEND IT_PA0034.
        ENDSELECT.
      ENDIF.
      SORT IT_PA0001 by SNAME.
      LOOP AT IT_PA0001.
        IF not S_DIV[] is initial.
          READ TABLE IT_PA9001 with key pernr = IT_PA0001-PERNR.
          IF sy-subrc ne 0.
            continue.
          ENDIF.
        ENDIF.
        IF not S_KZTIM[] is initial.
          READ TABLE IT_PA0007 with key pernr = IT_PA0001-PERNR.
          IF sy-subrc ne 0.
            continue.
          ENDIF.
        ENDIF.
        IF not S_FUNKT[] is initial.
          READ TABLE IT_PA0034 with key pernr = IT_PA0001-PERNR.
          IF sy-subrc ne 0.
            continue.
          ENDIF.
        ENDIF.
          V_COUNTER = 1.
                V_EMP = IT_PA0001-PERNR.
                V_KOSTL = IT_PA0001-KOSTL.
    *            WRITE: (10) V_EMP, (20) PA0002-NACHN, (20) PA0002-VORNA.
          WRITE: / SY-VLINE.                   " Left border
            WHILE V_EMP NE ''.
                PERFORM GET_SUPER CHANGING V_EMP V_SUPER
                                    V_EMP_POS.
              if v_emp ne ''.
                  select single * into it_pa0002 from pa0002
                    where pernr = v_emp
                      and begda LE p_begda
                      and endda GE p_endda.
                  IF V_HEADER = 1.
                        PERFORM HEADING.
                    V_HEADER = 0.
                  ENDIF.
                  WRITE:  (10) V_EMP, (17) IT_PA0002-NACHN
                          ,(17) IT_PA0002-VORNA, (40) V_EMP_POS.
                  move v_emp  to  i_hr-pernr.
                  move IT_PA0002-NACHN  to  i_hr-nachn.
                  move IT_PA0002-VORNA  to  i_hr-vorna.
                  move V_EMP_POS  to  i_hr-plans.
                  EMP_INDICATOR = V_COUNTER.
                  IF V_COUNTER = 1.
                    select single * into it_pa9001 from pa9001
                      where pernr = v_emp
                        and begda LE p_begda
                        and endda GE p_endda.
                    select single * into it_pa0007 from pa0007
                      where pernr = v_emp
                        and begda LE p_begda
                        and endda GE p_endda.
                    PERFORM GET_KZTIM_TEXT CHANGING it_pa0007-kztim V_KZTIM.
                    select single * into it_pa0034 from pa0034
                      where pernr = v_emp
                        and begda LE p_begda
                        and endda GE p_endda.
                    PERFORM GET_FUNKT_TEXT CHANGING it_pa0034-funkt v_stext.
                    write: (8) IT_PA9001-DIV_CODE, (17) V_KZTIM,
                           (25) V_STEXT.
                    move  IT_PA9001-DIV_CODE  to  i_hr-div_text.
                    move  v_KZTIM  to  i_hr-kztim.
                  ENDIF.
                  IF V_COUNTER = 0.
                    WRITE: (1) '|'.
                  ENDIF.
                  IF V_COUNTER = 1.
                    PERFORM GET_NAMES.
                    WRITE: (20) V_WERKS, (5) IT_PA0001-BTRTL
                            ,(20) V_ORGEH,(11) V_KOSTL, (3) '|'.
                    V_COUNTER = 0.
                    move  V_WERKS  to  i_hr-werks.
                    move  IT_PA0001-BTRTL  to  i_hr-btrtl.
                    move  V_ORGEH  to  i_hr-orgeh.
                    move  V_KOSTL  to  i_hr-kostl.
                  ENDIF.
                clear it_pa0002.
                refresh it_pa0002.
              endif.
                V_EMP = V_SUPER.
                move V_SUPER to i_hr-mstbr.
                if EMP_INDICATOR EQ 1.
                  append i_hr.
                endif.
                clear i_hr.
            ENDWHILE.
      NEW-LINE.
      CLEAR : V_KZTIM, it_pa9001, it_PA0007.
      ENDLOOP.
    * Check if its a background Job
      IF SY-BATCH NE SPACE.
        perform write_file.     "Output File
      ENDIF.
      ULINE.
    *&      Form  GET_SUPER
    *       This subroutine takes the position number and get the position
    * number that it reports to and then who is holding that position and
    * then the name of the person who is holding that position in order to
    * provide the supervisors name for the person in that position.
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_SUPER CHANGING EMP_SUB EMP_SUPER
                               EMP_SUB_POS  .
      DATA: v_reporto like hrp1001-varyf value space,
            v_holder  like hrp1001-varyf value space,
            v_filled  like hrp1001-varyf value space,
            v_otype   like hrp1001-otype value space,
            v_objid   like hrp1001-objid value space.
      CLEAR: v_reporto, v_holder, v_filled, v_otype, v_objid,
                              EMP_SUB_POS.
      Select single plans
        into v_plans
        from pa0001
            where pernr = emp_sub
              and begda LE p_begda
              and endda GE p_endda.
            CALL FUNCTION 'BAPI_ORGUNITEXT_DATA_GET'
               EXPORTING
                  PLVAR                = '01'
                  OTYPE                = 'S'
                  OBJID                = v_PLANS
                  KEYDATE              = SY-DATUM
                  SCENARIO             = '    '
    *                 EVALPATH             = 0
                  EVALDEPTH            = 0
               IMPORTING
                  RETURN               = IT_RET
               TABLES
    *                 ACTORTAB             = IT_ACT
    *                 STRUCTURALDATA       = IT_STR
                  OBJECTSDATA          = IT_SUP
    *                 FIELDCATALOGUE       = IT_FCAT
    *                 FIELDDATA            = IT_FDAT
            IF SY-SUBRC EQ 0.
              READ TABLE IT_SUP INTO IT_SUPR
                 WITH KEY PLAN_VERS  = '01'
                          OBJECTTYPE = 'S'
                          OBJECT_ID  = v_PLANS.
              IF SY-SUBRC EQ 0.
                MOVE IT_SUPR-LONG_TEXT TO EMP_SUB_POS.
              ENDIF.
            ENDIF.
      Select Single varyf
         into v_reporto
         from hrp1001
            where otype = 'S'
              and objid = v_plans
              and rsign = 'A'
              and relat = '002'
              and begda LE p_begda
              and endda GE p_endda.
      if sy-subrc = 0.
        move v_reporto+0(1) to v_otype.
        move v_reporto+2(8) to v_objid.
        Select single varyf
           into v_holder
           from hrp1001
              where otype = v_otype
                and objid = v_objid
                and rsign = 'A'
                and relat = '008'
              and begda LE p_begda
              and endda GE p_endda.
        if sy-subrc = 0.
          move v_holder+0(1) to v_otype.
          move v_holder+2(8) to v_objid.
          EMP_SUPER = v_objid.
        IF EMP_SUB = EMP_SUPER.
           EMP_SUPER = ''.
        ENDIF.
    *      Select single varyf
    *         into v_filled
    *            from hrp1001
    *               where otype = v_otype
    *                 and objid = v_objid
    *                 and rsign = 'A'
    *                 and relat = '209'.
    *      if sy-subrc = 0.
    *        CLEAR: IT_RET, IT_ACT, IT_STR,  IT_FCAT, IT_FDAT,
    *               IT_SUP, IT_SUPR.
    *        REFRESH: IT_POSS.
    *        move v_filled+0(2) to v_otype.
    *        move v_filled+2(8) to v_objid.
    *        CALL FUNCTION 'BAPI_ORGUNITEXT_DATA_GET'
    *           EXPORTING
    *              PLVAR                = '01'
    *              OTYPE                = v_otype
    *              OBJID                = v_objid
    *              KEYDATE              = V_DATE
    *              SCENARIO             = '    '
    **                 EVALPATH             = 0
    *              EVALDEPTH            = 0
    *           IMPORTING
    *              RETURN               = IT_RET
    *           TABLES
    **                 ACTORTAB             = IT_ACT
    **                 STRUCTURALDATA       = IT_STR
    *              OBJECTSDATA          = IT_SUP
    **                 FIELDCATALOGUE       = IT_FCAT
    **                 FIELDDATA            = IT_FDAT
    *        IF SY-SUBRC EQ 0.
    *          READ TABLE IT_SUP INTO IT_SUPR
    *             WITH KEY PLAN_VERS  = '01'
    *                      OBJECTTYPE = v_otype
    *                      OBJECT_ID  = v_objid.
    *          IF SY-SUBRC EQ 0.
    *            MOVE IT_SUPR-LONG_TEXT TO EMP_SUPER.
    *          ENDIF.
    *        ENDIF.
    *      endif.
        endif.
      endif.
        if sy-subrc <> 0.
           EMP_SUPER = ''.
        endif.
    ENDFORM.                    " GET_SUPER
    *&      Form  HEADING
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM HEADING .
      FORMAT INTENSIFIED OFF.              " Remove any INTENSIFIED
      FORMAT COLOR COL_HEADING INTENSIFIED." Title color
      WRITE:  (10) 'Employee', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position'
                          ,(8) 'Division', (17) 'Management Type'
                          ,(25) 'Corporate Function'
          ,(20) 'Personnel Area', (5) 'PSA'
          ,(20) 'Org. Unit',(11) 'Cost Center',(3) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
              ,(10) 'Supervisor', (17) 'Last Name'
                          ,(17) 'First Name', (40) 'Position', (1) '|'
      ULINE  .                    " Line below titles
        NEW-LINE.
          WRITE: / SY-VLINE.                   " Left border
      FORMAT COLOR OFF.
    ENDFORM.                    " HEADING
    *&      Form  GET_NAMES
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_NAMES .
      CLEAR: IT_RET, IT_ACT, IT_STR, IT_ORG, IT_POS, IT_FCAT, IT_FDAT,
             IT_ORGS, IT_POSS, V_ORGEH, V_WERKS.
      REFRESH: IT_ORGS, IT_POSS.
      MOVE SY-DATUM TO V_DATE.
      CALL FUNCTION 'BAPI_ORGUNITEXT_DATA_GET'
         EXPORTING
            PLVAR                = '01'
            OTYPE                = 'O '
            OBJID                = IT_PA0001-ORGEH
            KEYDATE              = V_DATE
            SCENARIO             = '    '
    *         SCENARIO             = 'MDT1'
    *         EVALPATH             = '0       '
            EVALDEPTH            = 0
         IMPORTING
            RETURN               = IT_RET
         TABLES
    *         ACTORTAB             = IT_ACT
    *         STRUCTURALDATA       = IT_STR
             OBJECTSDATA          = IT_ORG
    *         FIELDCATALOGUE       = IT_FCAT
    *         FIELDDATA            = IT_FDAT
      IF SY-SUBRC EQ 0.
        READ TABLE IT_ORG INTO IT_ORGS
           WITH KEY PLAN_VERS  = '01'
                    OBJECTTYPE = 'O '
                    OBJECT_ID  = IT_PA0001-ORGEH.
        IF SY-SUBRC EQ 0.
          MOVE IT_ORGS-LONG_TEXT TO V_ORGEH.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'HR_TMW_READ_T500P'
        EXPORTING
          PERSA          = IT_PA0001-WERKS
        IMPORTING
          W500P          = IT_T500P
        EXCEPTIONS
          NO_ENTRY_FOUND = 1
          OTHERS         = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF SY-SUBRC EQ 0.
        MOVE IT_T500P-NAME1 TO V_WERKS.
        CLEAR:  IT_T500P.
        REFRESH: IT_T500P.
      ENDIF.
    *  CALL FUNCTION 'HR_TMW_READ_T001P'
    *    EXPORTING
    *      PERSA          = PA0001-WERKS
    *      BTRTL          = PA0001-BTRTL
    *    IMPORTING
    *      W001P          = IT_T001P
    *    EXCEPTIONS
    *      NO_ENTRY_FOUND = 1
    *      OTHERS         = 2.
    *  IF SY-SUBRC <> 0.
    *    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    *  IF SY-SUBRC EQ 0.
    *    MOVE IT_T001P-BTEXT TO IT_HRR05-BTRTL.
    *  ENDIF.
    ENDFORM.                    " GET_NAMES
    *&      Form  GET_KZTIM_TEXT
    *       text
    *      <--P_V_EMP  text
    *      <--P_V_KZTIM  text
    FORM GET_KZTIM_TEXT  CHANGING P_KZTIM_ID
                                  P_KZTIM.
      select single NAME into P_KZTIM from ZKZTIM_VAUES
              where TYPE eq P_KZTIM_ID.
    ENDFORM.                    " GET_KZTIM_TEXT
    *&      Form  GET_FUNKT_TEXT
    *       text
    *      <--P_V_EMP  text
    *      <--P_V_KZTIM  text
    FORM GET_FUNKT_TEXT  CHANGING P_FUNKT_ID
                                  P_STEXT.
      select single STEXT into P_STEXT from T591S
              where SPRSL eq 'EN' and
                    INFTY eq '0034' and
                    SUBTY eq P_FUNKT_ID.
    ENDFORM.                    " GET_KZTIM_TEXT
    *&      Form  write_file
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM write_file .
    *   Checking the System ID
      if sy-sysid = 'RD1'.
        drive = 'D:\'.
      else.
        drive = 'M:\'.
      endif.
    *  concatenate drive sy-sysid
    *              '\Output\Reports\HR\HR_Public\Emp_Hierarchy'
    *              sy-datum
    *              '.xls' into v_file.
      concatenate drive sy-sysid
                  '\Output\Reports\HR\HR_Public\Emp_Hierarchy.xls'
                  into v_file.
      OPEN DATASET v_file FOR OUTPUT in text mode encoding default.
      concatenate 'Employee'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Division'
                  'Management Type'
                  'Corporate Function'
                  'Personnel Area '
                  'PSA'
                  'Org. Unit'
                  'Cost Center'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                  'Supervisor'
                  'Last Name'
                  'First Name'
                  'Position'
                   into v_filerecord
                   separated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
      transfer v_filerecord to v_file.    "Writing to file
      clear v_filerecord.
      loop at IT_PA0001.
        do.
          if count eq 0.
            read table i_hr with key pernr = IT_PA0001-pernr.
            concatenate i_hr-pernr
                        i_hr-nachn
                        i_hr-vorna
                        i_hr-plans
                        i_hr-div_text
                        i_hr-kztim
                        i_hr-stext
                        i_hr-werks
                        i_hr-btrtl
                        i_hr-orgeh
                        i_hr-kostl
                        into v_filerecord
                        separated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
             mstbr = i_hr-mstbr.
             count = count + 1.
          else.
            read table i_hr with key pernr = mstbr.
            concatenate v_filerecord
                        i_hr-pernr
                        i_hr-nachn
                        i_hr-vorna
                        i_hr-plans
                        into f_filerecord
                        separated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
            v_filerecord = f_filerecord.
            mstbr = i_hr-mstbr.
            clear i_hr.
          endif.
          if mstbr eq space.
            exit.
          endif.
        enddo.
        transfer v_filerecord to v_file.  "Writing to file
        clear: v_filerecord, f_filerecord, count.
      endloop.
      CLOSE DATASET v_file.
    ENDFORM.                    " write_file
    Edited by: Surender Batlanki on Feb 20, 2008 7:50 AM
    Edited by: Surender Batlanki on Feb 20, 2008 7:59 AM
    Edited by: Surender Batlanki on Feb 20, 2008 8:12 AM
    Edited by: Surender Batlanki on Feb 20, 2008 3:16 PM
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 9:26 AM

    Hi Surender,
    In the Perform GET_SUPER, you are getting manager's OBJID. Use this OBJID and from PA0001 get Manger's name.
    While passing data to output table, filter that table by Manager's name and then pass output table for display.
    Hope this helps u.
    <REMOVED BY MODERATOR>
    Regards,
    Preeti
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 9:26 AM

  • How to find sales doc creator Manager's name & ID

    Hi,
    Can anybody tell me how to find sales document creator Manager's Name (Supervisor Name) and Mail id?
    regards
    rc gopi

    Hi,
    I have business requirement that whenever picked quantity mismatch with the confirmed quantity it should send a mail to Document creator as well as to his supervisor or manager.  I could not find document creator where he linked with his manager.
    So where will i find document creator Manager's Name and ID and where it is linked/
    Thanks and regards,
    RC Gopi

  • Since update to 5.0.1 iphone contacts caller id shows email address rather than contact name and number

    Since i upgraded to 5.0.1 . My iphone contacts caller id shows email address not contact name and number. Is this a settings issue?

    Hi, it's maybe happening the same here!
    I have an iphone 3gs. Since I did the upgrade to ios5, when I receive an sms with the notification of a missed call I am no longer able to see if it's coming from a number of my contact list, because in the sms the message correspondence for that contact underlines now the number PLUS the first 2 cifres of the date! So the number results always being 2 numbers longer and it's impossible get to the original.
    That's really a major problem for me, as I'm no longer able to know who has called me, if someone I know (and who) or if a new number.
    I add a capture to explain it better (I have banned a couple of cifres for privacy reasons).
    Anyone solved the problem or can help please?
    Thank you!

Maybe you are looking for