Remove Company Code with all the Employees in it from r/3?

Hi i have a bit unusual requirement.
i want to know how can i Remove a Company Code with all its assigned Employees completely from a system(r/3) ?
can this be possible at all? if yes then please also mentions what can be the side effects of this action.

Jack,
You will have to follow reverse engineering....
As Sikandar Guru Mentioned.....identify all the PERNRs for mass deletion....
Secondly I believe, that you want to Delete the Company Code.....check with Finance Folks.......If they have no issues, you can delete the co. code with TCODE EC01... but this will not delete the Relationships to Personnel area...etc.
There may be custom Features, Reports or programs functioning based on Co. Code.......
So, in a way....its not feasible..neither wise to attempt deletion of Co. Code....
S_PHO_48000106 is the TCode for Mass Deletion.
Good Luck !!!
Kumarpal Jain.
Edited by: Kumarpal Jain on Oct 26, 2009 3:20 PM

Similar Messages

  • All the employee details also who left the company

    Hi
    I want to make a query for selecting employee's organization unit,  for purpose I have gone through all
    pa0001 table but it has so many rows regarding one employee.   I needed get all employee organization unit including if the employee left the company also.
    I have done a query like
    select * from pa0001
    where   pa0001~endda gt sy-datum.
    but I think It will not take the employee who left the company.
    Regards
    Sebastian

    Yes your question is true.
    To solve this give following condition.
    select * from pa0000
    where pa0001~endda <= sy-datum.
    if pa0000[] is not initial .
    select * from pa0001
    for all entries in pa0000
    where pernr = pa0000-pernr
    and endda = pa0000-endda.
    endif.
    And as far as you want data for all the employees in employee master with there organization unit.
    -- That you can get it from PA0001 so it will solve your query ..
    Give good points

  • How do I remove the front housing (the area with all the little holes)?

    I need to remove the housing on the front of my Mac Pro (the area with all the little holes). Something has been spilt down it and I need to get it off so I can clean in all the little holes.

    Changing the Admin Username is WAY too hard.
    Create a new Admin User and password.
    Log out. Log in as the new Admin User you just created.
    Delete the old Admin user. The only way this works is if you created a good Admin user.

  • Report to find total absences of all the employees for 2006

    we have to find the total absences of all the employees for the year 2006. is there any good report to do this job

    If u wnt absence data then u can create query in SQ01.
    or
    Hope thts wht u wanted ,pls change the code accordingly as per ur need,just refer it as demo code -
    REPORT  ZGILL_ABSDATA                           .
    tables: pa2001.
    data: begin of itab occurs 0,
          Pernr like pa2001-pernr,
          Subty like pa2001-subty,
          begda like pa2001-begda,
          endda like pa2001-endda,
          ABWTG like pa2001-ABWTG,
          KALTG like pa2001-KALTG,
          end of itab.
    start-of-selection.
    select pernr subty begda endda abwtg kaltg  from pa2001 into table itab
    where begda ge '20060101' and
    endda le '20061231'.
    if sy-subrc eq 0.
    write:/2 'Emp No',
           12 'Abs Type',
           18 'Start Date',
           28 'End Date',
           40 'Abs Days',
           50 'Calen Days'.
    loop at itab.
    write:/2 itab-pernr,
           12 itab-subty,
           18 itab-begda,
           28 itab-endda,
           40 itab-abwtg,
           50 itab-kaltg.
    clear itab.
    endloop.
    else.
    message i000(000) with 'No data found'.
    endif.

  • Company codes with different fiscal year variants in a controlling area

    Hi all,
    When I try to assign a company code with different fiscal year variant than controlling area I get error. It is ok so far.
    However, after assigning company with same fsv to controlling area the system lets me to change company code's fsv in company code global settings and I can even save it.
    So I wonder how it would be possible ? Why do I get just a warning instead of an error and save ?
    Thanks and regards.
    M.Yusuf Dogan

    Hi Bulut,
    There are 12 normal and 3 special periods in the fsv of the company code which i'm trying to assign. However, controlling area's fsv has 12 normal and 4 special periods.  I get an error message "KT297".
    Actually, my point is that if the company code's fsv is same with co's I can assign but the system lets me change cc's fsv after assignment.
    M. Yusuf Dogan

  • Firefox user when i try to access my gmail,orkut and yahoomail i get this error message Error code: sec_error_expired_certificate All the other sites are working fine please help Plugins installed:

    Firefox user
    when i try to access my gmail,orkut and yahoomail i get this error message
    Error code: sec_error_expired_certificate
    All the other sites are working fine
    please help
    Plugins installed:
    == URL of affected sites ==
    http://

     Hi,
    One of my ex-colleagues has installed a NI-DAQ 6.5 in our system. [And I do not see any other naitional instruments card in the CPU of the computer, may be he removed it] I deleted the account and all his files in the system. When I am trying to install version8.0, its not getting installed and giving me a message that I should uninstall the previous version by going to Add/Remove programs in the control panel.
    I tried doing that, but the "Change/Remove" button does not seem to work...[There is no response and so unable to install the new version...]
    Any idea how can this problem be solved?
    It is a windowsXP operating system with SP2 installed on a machine with P4 processor.
    Thanks

  • How to get list of company codes with current period not opened?

    Hi,
    How to get list of company codes with current period not opened?
    Is there any way we can check whether the current period is opened for all company codes.
    If not how, can we generate a report which having information of period and company code. Also please tell me, which table will have info on posting periods and company codes.
    Thanks
    Vineeth Varghese

    Hi,
    The MM periods details can be viewed In Table MARV . On the selection screen you have the option of entering the company codes , current period, year current period etc. so make the required entries and you get the all details relevant to MM periods. Also it can be downloaded as a report.Thanks

  • After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    After hours of back-up, downloading and uploading...I am now updated with all the latest Mac software. However, I no longer have access to Excel and Word. Is there a way I can access my documents in either of those? Help, please.

    If you have older versions of excel and word that previously ran under the Rosetta emulator (allows PowerPC code to run on Intel system), they will no longer work with Lion.
    You can use the Apple programs Pages and Numbers to access the files. They can be bought and downloaded from the App store. NeoOffice is available at http://www.neooffice.org/neojava/en/index.php which has Lion support. OpenOffice doesn't talk to Lion support, it's at http://www.openoffice.org/

  • Same material master in two company codes with batch management

    Hi,
    There are two company codes in one client. In one batch management is already active. But in another company code batch management is not required. Is it possible to have batch management active in one company code and inactive in another company code where both the co. codes are in the same client? The same material master to be used in both company codes.
    Thanks,
    Satya.

    Hi Satyabarata,
    As far as you dont want to move the same materiel i.eStock Transfer with Inter comapy billing scenario then it  will be fine.
    If you try to Transfer a Batch manged material into a non batch manged CC it will work fine. But on the other hand when do via-versa the system will ask for the Batch information where the Batch management is active.
    If you want to use same Material Master for both CC then its not advisable.
    Please let me know if you need any other information.
    Thx.
    MJ

  • How to link ECC Company code with BCS Consolidation unit

    I have to create new consolidation unit in BCS, parallelly in SAP R/3 also I have created a company code.
    I could read following in the forum :-
    The Company Codes from ECC are assigned to the characteristic Company in BCS, thus creating a one to one relationship between ECC & BCS company codes.
    BUT HOW TO DO THE SAME.
    Also any advise on Profit centre and cost centre etc in BCS in line with ECC. This is first time I am configuring in BCS,

    Typically in ECC company codes are assigned to a company. The company is typically used for cons unit in BCS, but it is not uncommon for company code to be used as cons unit.
    When company code is used, it is an attribute of the characteristic company and thus in the load mapping, the company is mapped to the attribute company code. This results in company code being mapped to company.
    Otherwise, if company code is in the databasis as the cons unit role, then it is simply mapped to company code to company code.
    For profit center and cost center, these are typically assigned the role subassignment, but it is not uncommon for profit center to be a cons unit for a matrix consolidation. However, these characteristics must first be included in the totals/databasis infocube.

  • I'm facing a lot of problem to get connected to 3G speed on my iPhone4 . And also I hardly get 2g speed . I'm done with all the checks as network reset , clearin cache n cookies even . Thus request to clear this heck of a issue

    Facing a lot of problem in connecting to 3G speed on my iphone4 . Done with all the checks as network reset and also done with clearing cache n cookies still the problem is same . I hardly get 2g speed even . Thus I request to help to fix this problem.

    Your code is absolutely unreadable - even if someone was willing to
    help, it's simply impossible. I do give you a few tips, though: If you
    understand your code (i.e. if it really is YOUR code), you should be
    able to realize that your minimum and maximum never get set (thus they
    are both 0) and your exam 3 is set with the wrong value. SEE where
    those should get set and figure out why they're not. Chances are you
    are doing something to them that makes one 'if' fail or you just
    erroneously assign a wrong variable!

  • What's with all the --force-ing?

    The recent and somehow-still-ongoing glibc debacle has revealed more than ever that a good number of users actually use Pacman's --force flag even though it's repeatedly advised against pretty much everywhere on the archlinux.org domain. I'm just curious...are there other common Linux package managers (or other software) that encourage the use of --force such that they might lull new Pacman users into a false sense of security in performing it? Other systems with which it is not uncommon to use --force? I just find the whole situation a bit surprising.
    Is there any other way to convince these users that --force is *not* ok unless the devs recommend it, without resorting to hand-holding?
    (sorry, not sure if this belongs in Arch or GNU/Linux Discussion, feel free to move it mods)

    anonymous_user wrote:
    Xyne wrote:Even removing "-f" after however many years feels like a bit of hand-holding. Every distro has rm and yet most people manage to not wipe their system, so people can clearly learn.
    Or people just don't use rm regularly. At least for me, since I have a graphical file manager, I use pacman a lot more than rm.
    I use 'rm -rf' a lot and still have a running system with all the important files intact.
    Backups FTW ;P
    It reminds me of an old joke:
    A young executive was leaving the office late one evening when he found the CEO standing in front of a shredder with a piece of paper in his hand.
    "Listen," said the CEO, "this is a very sensitive and important document here, and my secretary has gone for the night. Can you make this thing work?"
    "Certainly," said the young executive. He turned the machine on, inserted the paper, and pressed the start button.
    "Excellent, excellent!" said the CEO as his paper disappeared inside the machine.
    "I just need one copy."

  • My MacBook with all the installed Apps got stolen...

    My MacBook with all the installed Apps got stolen...I have changed my password and so on... I have the Apps also running on my iMac and as far as I know, I am only allowed to have them on 2 Macs...how can I "delete" or "block" the set that is on the stolen MacBook? Thanks :-)

    Remove license on a computer http://forums.adobe.com/thread/1442423?tstart=0 may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/error-maxium-acitvation-exceeded.html

  • Adding cost center on OKB9 with cost element company code with valuation ar

    hi ,
    can anybody help me out with the Adding cost center on OKB9 with cost element company code with valuation area configuration.
    i have to do this configuration but do not know the detailed steps for that one.
    Good points will be awarded.

    Hi Prem
    Select the 1 in column acct assignment details column then in the left side in detail per business area/valuation area enter your valuation area.
    Thanks
    Ashok

  • Download code of all the methods in a class to desktop

    Hi,
    I want to download code of all the methods in a class to desktop.
    Its like user will enter Class name on selection screen, then program should download the code of all the methods inside that class on to desktop as a text file.
    How to do it.
    Points will be rewarded!!
    Regards

    You can use FM SEO_CLASS_GET_METHOD_INCLUDES
    to determine the names of all methods implemented in this class with the according names of the includes.
    Than you can loop through the table returned by this FM and get the coding of all methods using READ REPORT statement, whereas you must pass the name of the include of the according method, when executing READ REPORT...
    Reward points, in case reply meets your expectation...
    --MIKE

Maybe you are looking for