How to restrict cost center in ME51N

Hi all,
can anyone please let me know,how to restrict cost center in ME51N transaction?
Thanks in advance for your efforts

Dear,
Go to Transaction,
KS02- Change Cost Center.
Go to the Control Tab.
Tick on the checkbox for desired transaction activity you want to lock this cost center.
Any postings made against the cost center will not be allowed.
Regards,
Syed Hussain.

Similar Messages

  • How can we restrict Cost Center Company Code wise in Equiment Master (IE01)

    Hello Experts,
    Here is one requirement is to restrict cost center in equiment master (IE01) However SAP System is behaving as per SAP Standard function.
    Please see screen shot to understnad better my requirement.
    I want to pass relevant cost center in equipment master which lies in relavant company code. Like if company code is 1000 in equipment master then only 1000 company code cost center should be enter and if user enterd any other company code cost center then SAP System should show error message.
    While in current in SAP Standard functionality is to show just warning message and allow entering cost center whether it is from different company code.
    Like in below screen it showing error only if Cost center is from different company code. It should be not allowed to enter other company code cost center.
    Please guide how to solve this issue.
    Message was edited by: Inderjeet Pal

    Try this code in the include ZXEQMU02 of Enhancement IEQM0003 to achieve the desired check.
    DATA:V_BUKRS TYPE ILOA-BUKRS.
    CLEAR V_BUKRS.
    SELECT SINGLE BUKRS FROM CSKS INTO V_BUKRS
       WHERE KOSTL = DATA_ILOA-KOSTL.
    IF V_BUKRS IS INITIAL.
       MESSAGE: 'Cost Center and Company code do not match' TYPE 'I'.
       RAISE POSTING_NOT_ALLOWED.
    ENDIF.
    Consult your ABAPer in case any finetuning of the code is required.
    Jogeswara Rao K

  • BW report authorization for restrict cost center

    dear all,
    i have problem on BW report authorization for restrict cost center.....when i execute the query, after selection screen, appear error message 'you cannot change zv_cctr for characteristic 0COSTCENTER during query'.
    note : zv_cctr is variable restriction for costcenter, type processing = customer exit.
    below the customer exit :
    WHEN 'ZV_CCTR'.
        IF i_step = 2.
          DATA : gt_mstuidvscc TYPE TABLE OF  ztbw_mstuidvscc,
                 gs_mstuidvscc TYPE  ztbw_mstuidvscc,
                 wa_final2(10) TYPE c.
          SELECT * FROM ztbw_mstuidvscc INTO CORRESPONDING FIELDS OF TABLE gt_mstuidvscc
            WHERE userid = 'sy-uname'.
          LOOP AT gt_mstuidvscc INTO gs_mstuidvscc.
            wa_final2 = gs_mstuidvscc-kostl.
            l_s_range-opt = 'EQ'.
            l_s_range-high = wa_final2.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
    Regards,
    Tony

    i defined variable as ready for input and mandatory.
    regards,
    Tony

  • How to assign cost center to cost element.

    Hello,
    Can any one please guide how to assign cost center to cost element.
    Thanks in Advance..
    Have a nice day...

    Hi ,
    There are 3 ways :
    1. Default the cost center in cost element - Ka02 - account assingment tab enter cost center .
    2. Use OKB9 for diffrent combinations as per your requirement .
    3. Use GGB1 for substituting the cost center based on some conditions .
    Regards ,
    Dewang T.

  • How to use cost center hierarchy?

    Hi,
                  How to use cost center hierarchy?I have created that but how to use that.Can somebody help me?
                                        Sekar

    Once the Cost Centre Hierarchy is Created, it can be used in Profit Centre Reports.
    Choose Financials -> Cost Accounting -> Profit Center Report ->Template.
    Here Choose, the Cost Centre Hierarchy the you had created and generate the report.
    Also refer these threads
    [Reg... Costcenter hierarchy;
    [cost centre hierarchy;

  • How to Enable Cost Center Field in Infotype 0001

    Dear all my Friends,
    Can anybody please tell me that how to Enable Cost Center Field in Infotype 0001, actually the problem is while hiring the employee the field itself disable and not allowing me to put any CC on that field but which should be enable while hiring or if we intend to change in future through PA30 and after that i thought i can do in Infotype 0027 also but in infotype 27 the field called Master Cost Center field is still disabled which will reflect in 0001 or Vice Versa.
    So friends pls tell me where my configuration is wrong or how will i get enable that field in 0001 infotype so that i calculated the cost of that employee.
    Waiting for ur Reply friends,
    Thanks,
    Prashant.

    Dear Rajesh,
    Thanx for ur Solution and i got the answer, actually i m maintaining through OM and u gave me the exact solution .
    Gr8 job dear. Thanx allot once again
    Thanks,
    Prashant.

  • Activate text for Cost Center for ME51N, ME52N, ME53N

    Hi, experts
    As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
    Thanks in advance.
    Is there any path or exit could help with it?

    I need to add on Tabstrip "Account assignment" for fields
    CO Area and Cost Center text field description ( right side ) for each one.
    How can I do this? Thanks in advance.

  • Restricting cost center selection during creation of reservation

    Hi,
    We had a requirement to restrict the selection of cost center during creating a reservation. An user should be restricted in selecting any other cost center which does not belongs to his department. Since the restriction was not possible in standared/available authorization objects, we have created a customized object thru SU2. The Z object is available in role maintenance (PFCG) which we assigned to the object class MM_B and maintained the relevant cost center value.
    Still it is not giving the desired result as selection of any aother cost center (which is mot mentioned under the Z object) is permitted while creating a reservation.
    Request your valuable update in fixing the issue.
    Thanks & Regards,
    Vinod Punnoran

    Hello Vinod,
    How to manipulate the screens from transaction MB21 to avoid your
    issue?
    a) by transaction OXK1:
    In customizing transaction 'OXK1' you can see which screens are
    available and in which order they are selected by the program.
    This transaction also allows to add customer-defined screens, to
    change the priorities and to de-activate standard screens.
    So if you create yourself a screen with all the fields you
    would like to see you can assign it in OXK1. You would have to
    set the priority key so that program would choose your screen rather
    than the standard screens.
    Transaction OXK1:
    The coding block searches through the existing subscreens for the one
    which fulfills most requirements. The "Priority" serves as fine tuning
    in the search procedure: 1 is the highest priority, 9 the lowest.
    The system searches for the most suitable subscreen according to the
    following strategy:
    First, it searches for subscreens containing all the account assignment
    fields required. If there is more than one, it selects the one with the
    highest priority.
    If this is unsuccessful, the system then looks for subscreens containing
    all of the obligatory fields, or as many of them as possible. The
    subscreen containing the most obligatory fields is selected.
    If two subscreens contain the same number of obligatory fields, then the
    one containing the most required account assignment fields is selected.
    If there is still more than one, the selection is made according to the
    priority.
    b) by user exit or BADI
    Enhancement to manipulate reservation data is MBCF0007 and the user
    exit is EXIT_SAPMM07R_001.
    MBCF0007 Customer function exit: Updating a reservation
    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011 Read from RESB and RKPF for print list in  MB26
    There is a BADI as well:
    MB_RESERVATION_BADI  MB21/MB22: Check and Complete Dialog Data
    I hope this information helps you.
    Best Regards !
    Fábio Almeida
    MM Consultant

  • Value wise restriction Cost Center Wise

    Dear Experts,
    How can we restrict each cost center not raise PR beyond some limit.For example i want to restrict one cost center to buy consumbale not beyond 1 lac per annum so there should be some check at PR level to stop user for creating Purchase requisition if value cross 1Lac.
    Regards
    Vivek
    Edited by: Supergene on Jan 15, 2009 3:01 PM

    Hi
    You can set up budget for cost centre and limit the expenditure on it.
    Thanks

  • How are non-cost center Controlling objects best modeled in PCM?

    I appreciate that ALG developed Profitability and Cost Management, and they apparently were unaware of
    or did not consider that SAP ERP uses more than a single controlling object of a cost center; specifically
    internal order, WBS element, real estate object, etc.
    My question is how are these other controlling objects best treated in PCM?
    For example,
    I have a planned trade show internal order to showcase my companies products
    in Berlin to European retailers.  I have planned travel costs, display costs,
    space rental costs on this internal order.
    Normally, I would settle this internal order to CO-PA to determine the planned
    profitability of my Europen retail customers.  Unless I make this order a faux cost center,
    I don't see how to model it in PCM.
    If I exclude this order, then the profitability resulting in PCM is suspect --
    leaving out a major chunk of customer specific marketing expense.
    Or is the process to settle the planned internal order cost to CO-PA, but
    transfer the planned costs from PCM back into CO-PA, which would have the
    benefit of being mutually exclusive and collectively exhaustive.
    Jeff Holdeman hinted at the restrictions imposed by planning in ECC.  Yet
    without a more comprehensive approach, I am concerned that PCM still
    does not represent a complete profitability planning solution.
    Bob McGaffic

    Hi Deepak.
    You can verify is the cost center was posted on document running tcode SE16N on the FALGFLEXA table, put the document number to do research.
    After you can trying to post the new document through Tcode FB50L choosing or not a legder specific, then verify the document was posted correctly running the Tcodes SKb1 or Se16N with FAGLFLEXA table again.
    Also you can check this link Checking the Allocation of General Ledgers to Cost Centres
    Kind Regards
    Jandoval Nascimento

  • How batch append cost center group to standard hierarchy by batch

    Hi Guys,
    Would you please tell how me how append cost center groups to standard hierarchy by batch, every time I have to do it one by one, is there  a convenient way? thanks.
    Best Regards
    FS

    Hi,
    You can create any number of cost center groups as per your requirement.
    But one thing is crucial. If you crin your eate the groups using the T Code:OKEON. those will effect  to the standard hierarchy.
    Cost centers created wil KSH1 will not effect to standard Hierarchy.
    Main point here is the main hierarchy should be maintained in OKEON. Later you can add any number of groups to that. LSMW will work, before that Hirarchy Area(Cost center group) should be maintained in the system for effective work of LSMW.
    Regards,
    Pavan Kumar Arvapally

  • How to add cost center field to IT0001

    Hi
       How to add a cost center filed in IT 0001...I know normally this will be there but in my client system it is been hided or removed ..So can I know where to make a changes to get it back.
    Thanks

    hi
    check your infotype customizing in IMG .
    note down the screen number , and in there you can check if the fld is hidden or not.
    Regards
    sameer

  • Report Painter- How to make cost center report for Jun07-Jul08 ?

    Hi Experts,
    I need to make a P&L (Actual/ Plan) report for Jun 07 - Jul 08 by using Report Painter, but I'm having difficulty to make column for the next year period (2008) and some other things.
    We are using K4 Fiscal Year Variant in ECC 6.0.
    The layout is somehow like this:
    Header : Cost Center
                 Actual/Plan Report
                 June 2007 to July 2008
    Body:
    Cost Element     |   Total Actual   |   Total Plan |  Actual  June | Plan June .................Actual July | Plan July    
    xxxx       
    xxxx
    Account Group (total)
    xxxx
    xxxx
    Account Group (total)
    Grand Total  
    How to:
    a. make the header "June 2007 to July 2008" ?
    b. make the selection screen to provide parameter for June 2007 to July 2008? (e.g.: period 6 fiscal year 2007 to period 7 fiscal year 2008)
    c. provide layout (rows and columns) as described above? it should provide detail cost elements and also calculate it as the total per account group, then finally the Grand Total for all of account groups. 
    Thank you before,
    -=Meila.S=-

    Hi,
    1. Put Year and Month as your General Selection parameters
    2. In the label of the fields, if you put the parameter name with & before, it will display the value
    3. If you put cost element in General selection, it will come with a group, and when you selecting the group, the report does the sub-totals automatically.
    Regards,
    Eli

  • How to Override Cost Center in IT 1 based on certain conditions

    Hi,
    I have a pretty good understanding on how Cost Center gets defaulted based on Org Structure.  The standard SAP solution for Cost Center will not work for my client and I need to determine the cost center based on certain conditions. I understand that I have to write custom code in some user exit or badi. I tried user exit EXIT_SAPFP50M_001, but it did not work.
    Here is my code:
    DATA: I0001 LIKE P0001.
    CASE INNNN-INFTY.
        WHEN '0001'.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
            EXPORTING
              PRELP = INNNN
            IMPORTING
              PNNNN = I0001.
    This is just an example to test the concept
    I0001-kostl = 'COST_CENTER'.
         CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
            EXPORTING
              pnnnn = i0001
            IMPORTING
              prelp = innnn.
    endcase.
    When I change IT 1 record and hit enter, I can see that my code is being executed. I can see cost center being updated on the screen, but when I save it, its not able to retain that new cost center value. This might be because cost center is not an open field.
    How can I change my code so it retains its value after saving?.
    Thanks!

    Contd to manoj
    Cost Center will be a Open feild when the value of   the  switch PLOGI ORGA  should be balnk if it is haveing 1 than it will not default the value kindly check

  • How to SeeThe Cost Center Budgeting Report

    Hi Experts,
    I am preparing the scnario for Cost Center Budgeting,once we enter the details in the budgeting plan,,we will post to the cost centers as well.after that how can we see the Cost Center Budgeting Report....will it be available in S_ALR_87013611 or anything else????
    Regards
    Sap Guru

    You are right, i.e you can view the budget/planning  report from S_ALR_87013611. But some other reports are available to view the planning data like S_ALR_87013612, S_ALR_87013613, S_ALR_87013614 where you can view the actual vs planning data. You can view only planning data from KSBL, KSBP etc.
    Thanks,
    Regards,
    Ramnath V.

Maybe you are looking for