Is there any method to Delete an Organization Unit Object ??

help

Hi,
As noted above, there are several methods to delete an object, but please be careful - do your really want to delete this Org Unit?  If anyone has ever been assigned to it - you do not want to delete it.  You want to delimit it if it is not longer needed.  This way you will maintain the history of the persons who had been assigned to that Org Unit.  Please use delete only if no one has ever been assigned to that Organization. 
To delimit - PO10 - Enter your Org Unit ID, select the Object infotype (IT1000) and the delimit icon.  This will delimit all relationships with other objects. 
Paul

Similar Messages

  • Is there any BAPI returning the affected organisational units to users?

    Dear all,
    I would like to ask a question about organizational units. Whenever I want to affect a user to a given unit I
    use PPOME transaction. If I want to do this in ABAP level I use the function module RH_RELATION_WRITE.
    I would like to know, is there any BAPI returning the affected organizational unit to a given user?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Alberto Sesma wrote:
    You can use Function Module RH_STRUC_GET
    >
    >
    > CALL FUNCTION 'RH_STRUC_GET'
    >   EXPORTING
    >      ACT_OTYPE = 'US'
    >      ACT_OBJID = user_name
    >      ACT_WEGID = 'US_CP_O'
    >   TABLES
    >        RESULT_TAB = LT_RESULT_TAB.
    >
    >
    > You will get the related org units in LT_RESULT_TAB. There are other two table parameters in that function module that you may find useful.
    >
    > If the function does not return any valid data you may try with other values for WEGID. You will find all the possible evaluation paths in transaction OOAW.
    >
    > Kind regards
    Dear Alberto,
    Thank you very much for your answer. I didn't know this FM and it solved my problem.
    For those who may be intered here is exactly I proceed. Suppose that in the table HRP1000 you have an
    structure (type S) with ObjID = 50000342 and you wish to have the SapUserID of the affected persons.
    DATA:
          affected_users TYPE STANDARD TABLE OF swhactor,
          user LIKE LINE OF affected_users.
    START-OF-SELECTION.
      CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype              = 'S'
          act_objid              = '50000342'
          act_wegid              = 'A008'
          act_plvar              = '01'
          act_begda              = sy-datum
          act_endda              = sy-datum
          act_tdepth             = 0
       TABLES
         result_tab             = affected_users
    EXCEPTIONS
       NO_PLVAR_FOUND         = 1
       NO_ENTRY_FOUND         = 2
       OTHERS                 = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT affected_users INTO user.
        WRITE: / user-objid.
      ENDLOOP.
    Also in transaction OOAW we can have all possible values for the third argument of the module function (act_wegid).
    For those who are interested, here are a few among many possible values which seem to be intesting for my
    problem.
    DFPS_DG1----
    Organizational Unit of User
    DFPS_DG3----
    All Org. Units Above a User
    ORGAS----
    Closest Organizational Unit and structure
    ORGASS----
    Closest Organizational Unit and structure     
    PPLEORG     -
    Organizational unit of an employee or position
    SAP_ORGP----
    Organizational assignments of a user/person
    SAP_USOG----
    Organizational Assignments of a User
    SAP_US_S----
    Positions and Personnel Number of a User
    US_S_S_C----
    All positions and jobs of a user
    WFM_ORGU----
    Organizational Assignment of User
    WF_ORGUN----
    Organizational unit of a user/person (module id Ben./Pers.)
    For example, let's say we have a userid named MYUSER01 and we would like to find all structures to which the user
    is affected. Here is how I proceed.
    DATA:
          itab_user_structures TYPE STANDARD TABLE OF swhactor,
          row_user_structures LIKE LINE OF itab_user_structures.
    START-OF-SELECTION.
    CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype              = 'US'
          act_objid              = 'MYUSER01'
          act_wegid              = 'US_S_S_C'
          act_plvar              = '01'
          act_begda              = sy-datum
          act_endda              = sy-datum
          act_tdepth             = 0
       TABLES
         result_tab             = itab_user_structures
    EXCEPTIONS
       NO_PLVAR_FOUND         = 1
       NO_ENTRY_FOUND         = 2
       OTHERS                 = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT itab_user_structures INTO row_user_structures.
        WRITE: / row_user_structures-objid.
      ENDLOOP.
    Thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Is there any Method to remove the request from STMS OR SE10 OR SE09

    HELLO ALL ABAP GURUS,
    Is there any Method to remove or delete the request from STMS OR SE10 OR SE09 ?
    Thanks,
    Sumit.

    Hi,
    Before deleting a transport request you need to unlock all the objects in a transport request. Please follow these steps.
    1. Go to SE03. Under Requests/Tasks folder in the left pane you can see Unlock Objects, double click on that.
    2. Enter your request number (sub task) there and click on execute button.
    3. SAP will prompt you with a message, click on Unlock button.
    4. Now go to SE09/SE10 and click on your request number (sub task) and click on delete button on the application toolbar.
    5. Now click on main task and click on delete button to completely remove the request number.
    Hope this will help you.
    Regards,
    Venkat

  • Is there any solution to Delete Single Record in Delta Queue 2LIS_08TRFKZ

    Hi,
    Is there any solution to Delete the Single Record in Delta Queue at R/3 -(RSA7) for Datasoure 2LIS_08TRFKZ
    A wrong posting has been posted at R/3, its has been deleted once they came to know its wrong at R/3.
    Now the  Problem is  wrong data has come into Delta Queue RSA7.
    We are unable to extract the data in BW. Its not even coming till PSA also  so that we can delete at PSA itself that particular record.
    Is there any solution to delete the Single Record in Delta Queue at R/3 -RSA
    Thanks & Regards
    Ashfaq

    >
    Ashfaq Shaik wrote:
    >
    > Record 166 :Contents <000000000.00000000 from field ZZVOLUME cannot be converted in type DEC     RSAR     197
    Sorry I didnot see this error before.
    I guess you didnot try error handling hence you get this error BW side.Try error handling first.
    If this doesn't work then you can go with above method.

  • Is there any way to delete multiple spams at once, right now I go through each individually and delete it, but it's time consuming, thanks

    Is there any way to delete multiple spam messages at once. Right now I go through each individual spam and delete one at a time. This is very time consuming. Any tricks out there.
    Thank you

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • IPhone calendar appointments set to local calendar, and need to switch to exchange calendar. Have to edit each appointment one at a time and change to exchange calendar. Is there any method to edit all appoints in my calendar at once?

    iPhone calendar appointments set to local calendar, and need
    to switch to exchange calendar. Have to edit each appointment one at a time and
    change to exchange calendar. Is there any method to edit all appoints in my
    calendar at once and change the calendar setting?

    Not sure this will work but if you go into the Keyboard preferences, then click the Keyboad Shortcuts tab, and then the '+', you can add your own shortcuts for any application.  I am not sure what happens if you try to override an existing shortcut since I haven't tried using this.
    Edit/Update:
    Probably against my better judgement I'll also throw this out there - there's an Unsanity haxie called Menumaster which might also allow you to do what you want.  Against my better judgement because personally I stay clear of haxies.  It's (all haxies) probably almost certain to break in Lion.  They always do with each major release.

  • Is there any way to delete songs directly from my iPhone without using iTunes?

    I'm trying to delete music directly from an iPhone 4 in iTunes on the device rather than using my laptop to delete and then sync it. Is there any way to delete music completely from my phone without using my latop?

    I tried this, firstly de-clicked the title in iTunes and syned with my iPhone4 but the title is still there on the phone. so deleted the title from iTunes and re-syned but alas the title is still there.
    any ideas?

  • Is there any way to delete an ipod from an apple account on imessage?

    is there any way to delete an ipod from an apple account on imessage?

    Just what do you mean? Go to Settings>Massages and delete the Receive At email address.

  • I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going th

    I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going through Itunes?

    Nope, it either needs to be plugged in or turned on with the power button.
    A replacement iPhone 4 is $149, but at least the whole phone is replaced.

  • Is there any method to remember the running subtitle and audio stream when navigating through menus?

    I have a language Menu named 'Setup' with 4 buttons 1.English  2.Spanish  3.Spanglish  4.Subtitle Off.
    To reach this page you have to hit Setup button on Main Menu. The setup button takes to a sub-menu of Setup where I have a symbol of 'tick' at Subtitle Off indicating the state of the current subtitle stream. I have 3 more sub-menus with similar buttons but with 'tick' at different languages indicating the state of the current running/selected language, 2nd page has English with tick, 3rd page has Spanish with tick and 4th has Spanglish with tick. My client wants me to jump on the respective language ticked page when you hit the setup button on Main Menu. As far as I understand we cannot assign a code in Encore to a single button to read what subtitle stream is running.
    Is there any method to remember the running stream when navigating through menus?
    I have done this in Sonic Scenarist.
    Regards,
    A Gandhi

    I think this was added in a "newer" version of Encore (meaning anywhere from CS4 up). In any event, it is available in Encore CS6.
    There is a menu (not button) property that allows yoi9u to make the active subtitle track button the default (i.e. selected/highlight shows) just as you want.

  • HT5622 Is there any way to delete my apple id because i currently have 3 and i only need one. please help

    is there any way to delete my apple id because i currently have 3 and i only need one. please help. thanks

    No. Apple IDs can't be merged or deleted.
    (87219)

  • Is there any method to use network printer without installing driver?

    We have some embeded win7 devices which we cannot install drivers to.
    Is there any method to use network printer without installing driver?

    Hi,
    Please read the following article:
       http://en.wikipedia.org/wiki/Device_driver
    You definitely need this middle man.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Is there any methods to use network printer without installing driver?

    We have some embeded win7 devices which we cannot install drivers to.
    Is there any methods to use network printer without installing driver?

    Hi,
    Please refer to your other post:
      http://h30434.www3.hp.com/t5/forums/replypage/board-id/Printing/message-id/77319
    Thanks.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Is there any method to export the data from oracle 10g in any format !!!!!

    is there any methods to export the data from oracle 10g in the format of excel or csc or txt or anyother. i already downloaded the sql developer tool but it only exports the data of upto one lakh rows ,but i have two tables of more than 3 lakh and 10 lakh rows respectively.for this i used 'where' command to break the file through sql developer but that didnt work
    plz help me out if any thing possible
    i need to again import this data into microsoft sql if there is any direct method plz let me know
    its urgent
    Message was edited by:
    user628031
    Message was edited by:
    user628031

    Take a look at DUMP_CSV function by Tom Kyte.

  • Is there a method of deleting the developer key from the user?

    Is there a method of deleting the developer key from the user?
    Please help me.

    Hi Matt,
    Could you explain from which table should be deleted..?
    Thanks.
    Regards,
    Ramses Hutahaean

Maybe you are looking for

  • Possible to boot MBP 10.5.4 from iBook G3 10.4.11?

    I continue to try to find solution for apparent sudden death of my MBP 2.16 core2 on 10.5.4. White light comes on, no screen. Took in Disc1 from original 10.4 install but won't boot or eject. Reset PM. Can I use my iBook G3 640mb ram on 10.4.11 conne

  • Duplicate record check before inserting records

    Hi All I want to show an user friendly message instead of (oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key). So in my EO i have written the following code: OADBTransaction transaction = getOADBTran

  • Web Management & Builder tool

    I recently moved to mac and I want to know any good softwares to build simple websites. I want to host my own website but I dont know how that works with mac. I have been trying to find online but I haven't found one application that would work for m

  • Since updating my firefox I am unable to attach files to my email.

    We are using mobileme and always have been. It will work if I open mobileme in internet explorer but not with Firefox.

  • PO not release

    Hi All, If daily job is cancelled due to PO not released. How to release PO? B..R..