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

Similar Messages

  • 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 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

  • Co code not seen for cost center master data creation in OKEON

    hI:
               In org tab of Cost center master data creation while configuring cost center hierarchy in OKEON i can not see organization tab. I have checked in OKKP Co area is assigned to co code but still the issue persist.
    Br

    hi
    you mean the tab is not displayed? strange, it seems that there should be a screen layout to control the ui, or any transaction variant is recorded. I tried in my side, the tab is there.
    @ Murali, you are right, but in that tab, not only company code can be configured, but also business area, functional area etc.
    best regards, Lawrence

  • 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.

  • Preventing entry into the Cost Center field during PO creation

    I need to ensure that the Cost Center assigned in a PR (with Account Assignment) cannot be changed when creating a PO with reference to the PR. Can anyone tell me how to restrict the Cost Center field in the PO document type to 'display' only?
    Thanks
    Akin

    I think it can be acheived making the Cost center display in the paticular movement type  using program RM07CUFA  ( in Tcode SE38 )
    best regards
    assign points if useful

  • Blocking the filling of a cost center in the creation of a Purchase Order

    Hi All,
    I've some cost center which are obsolete and mustn't be used in the creation of a Purchase Requisition (or Purchase Order).
    Could anyone suggest me how to do it?
    Thanks a lot
    G.
    Edited by: Jeyakanthan A on Jun 2, 2011 1:28 PM

    Hi,
    The transaction me21n uses the authorization object A_S_KOSTL for cost
    center. However, the authorization object A_S_KOSTL is not related to
    the cost center that is displayed in the account assignment view of th
    purchase order item, but its scope is to limit the access to fixed
    assets belonging to the specified cost center (see the note 856248).
    There is no standard authorization object that you can use from
    transaction me21n to validate the cost center that you see in the
    account assignment view at item level. The same can be said about the
    purchase requisition creation (me51n).
    So, I have three options for you to consider.
    First Option:
    There is an existing possibility to perform user defined checks during
    all kinds of postings which finally lead costs in CO. With transaction
    OKC7 you may define a validation which is also processed during
    purchasing. You can explore the possibility of achieving the
    functionality you need by making customizing changes using transaction
    OKC7.
    Second Option:
    You could use userexit enhancement MEREQ001. For further information
    please see note 310154.
    Third Option:
    Also, you may consider instead of an authorization check for cost
    centers you can activate an authorization check for G/L accounts.
    Therefore the following settings are required:
    I. Customizing -> Materials Management -> Purchasing -> Purchase
        Order -> Set Up Authorization Check for G/L Accounts:
        activate the G/L account authorization check for the required
        company code
    II. Transaction FS02 -> View: Control data: enter the authorization
        group
    BR
    Nadia Orlandi

  • HR PNP Logical Database Using Cost Center selection: error!?

    Hi all,
    I'm using PNP logical data base and using the selection-fields available through HR Class Reports (a copy of PAY_DEF) but what happens is if in selection-screen I fill the personnel number say 1000, i get the payroll data I'm trying to get, but if i use the search field cost center of that exact person i get nothing. Does anyone has a clue on what i might be doing wrong? Because all the other search fields work, company code, HR area, everyone, but cost center, and I'm positive that i use the right cost center.
    Thanks in advance,
    Paula

    Even though nobody answered me, i finally found the solution for my problem. so and because someone might need it here it is:
    Go to Spro->Personnel Management->Human Resources Information System->Reporting->Adjusting the Standard Selection Screen and then:
    1st Create Report Categories and
    2nd Assign Report Categories
    Since not all rep. categories on the 1st assignment is explicit on how will sel screen appear i advice you to go to the 2nd point, and execute some of the programs that appear there, and that might look alike to what you are looking for, and if you are so lucky as to find one exact use the same report category in your program, if its very alike, well, copy the Report Category into one of your own and change it the way you need it to be.
    Hope this be helpfull for someone.
    Paula.

  • Blocking of a cost center in the creation of a Purchase Order

    Hi All,
    Some cost centesr are obsolete and mustn't be used in the creation of a Purchase Requisition (or Purchase Order).
    Block
    Could anyone suggest me how to do it?
    Thanks a lot
    G.

    Hi Rossi ,
    Please go to the Cost Center Master Data -> Control tab -> Block all the indicators..
    You will not be able to use these Cost Centers in Future..
    Regards
    Sarada

  • 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

  • Work center selection during UD

    harhe e Hi,
    We have the following scenario,
    Production guys confirmed order confirmation or make backflushing confirmation to update the WIP/FG stock,
    then quality cleared such stock through posting to unrestricted or blocked stock or rejection store location,
    Quality person requires during UD posting ,work center/Machine selection should be there in QA32 transaction,
    so that the analysis could be made for the work center,
    Best Regards,
    Devendra

    Using Inspection Point assignment, you can record the Work Center / Machine.
    But with Inspection Point, you can't have F4 selection option in standard. You have to type the Work Center code manually which may prone to error.
    You can check for some user exits to define Sub screens to pop up.
    QEEM0029  User-Exit for Characteristic Overview Subscreen
    QEEM0030  User-Exit for Subscreen: Characteristic Single Screen
    QEVA0004  Exit for changing information line in usage decision header
    QEVA0005  User subscreen for displaying add. data for usage decision
    QEVA0006  Entry to usage decision transactions

  • BOM SELECTION DURING CREATION OF JOB WORK PO

    Dear All,
    In my scenario we are not running MRP so my problem is if i maintain two BOM for a halb material say ALT 1(for inhse prdn.) AND ALT 2(job work) .Now if i make a job work PO for this item the system by default picks the ALT1 always and i want to pick the ALT 2.There is no LOT size funda the item can anytime be produced inhse OR subcontracting.
    R sehgal

    Hi sehgal ,
    i am giving one solution, but it works fine if you run MRP, same you can try with your case.
    The right Bom can be selected by creating production version.
    1. create two production versions for your HALB material, then assign your inhouse BOM for first production version, and assign Job work Bom to second production version. (MM01)
    2. select Bom explosion indicator = 2  (selection by prodution version) in MRP view  (MM01)
    3.Then lock the first production version manually if you want do outside job work.
    then create PO and check that correct BOM is selected as per your requirement.(MM01 - MRP view)
    4 if you want  to do inhouse prodution then unlock the first version, system will select first active version by default.
    i hope this will solve your problem , otherwise ignore
    regards
    pardeep

  • UNCAUGHT_EXCEPTION when restrict cost center in query

    Dear all:
    We create an infoset to combine cube 0PY_PP2 and an table (DSO). We created a query based on this infoset and tried to restrict 0COSTCENTER with variable. An error message occurred when we tried to "restrict" --
    RSBOLAP 000 Program error in class SAPMSSY1 method: UNCAUGHT_EXCEPTION
    BRAIN   299 System error in program CL_RSMD_RS and form IF_RSMD_RS~_READ_META_DATA-02
    BR
    SF

    hi check this threads and links...
    BRAIN 299 Message Error when Run BEx BW Query
    BRAIN 299 System error in program CL_RSR_RRK0_ATTR_C and form when executin
    https://websmp105.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000788393&nlang=E
    cheers
    Sunil

  • Cost Center master data creation - department validation

    I need help on the follwing technical aspect:
    I face the problem of "ci_csks is not active table" when I try to use the enhancemnt spot COOMKS02 (EXIT_SAPLKMA1_003). What is the solution how to rectify this?
    My requirement is:
    "When the transaction KS01 is saved check the value in the u2018Departmentu2019 field, (CSKSZ-ABTEI), against values stored in a variable in a Z table by Controlling Area, if matched allow creation, if no match show the error message".
    Kindly help me on this.

    hi
    you mean the tab is not displayed? strange, it seems that there should be a screen layout to control the ui, or any transaction variant is recorded. I tried in my side, the tab is there.
    @ Murali, you are right, but in that tab, not only company code can be configured, but also business area, functional area etc.
    best regards, Lawrence

  • Reservation of material for cost center .

    Explanation:
    Material u2018Mat1u2019 Stock is 50 pieces. Reservation for the date 13.08.08 is 5 pieces.
    Reservation for the date 14.08.08 is 15 pieces (i.e Manual reservation done in MB21 for particular cost center.)
    Now the total reservation is 20 pieces.
    So System should not issue the material more than 30 pieces ( i.e 50 - 20 = 30. ).
    But in current status it is allowing to issue more than 30 pieces.
    Q) By User exit is it possible to restrict issue quantity against reservation.

    IN SPRO set dynamic availabity check

Maybe you are looking for

  • New MBP and One to One advice sought

    Im purchasing my first Mac this week, a Macbook Pro. I consider mys efl an expert on PC's and want to know if the One to One is worth the money? From looking at the classes offered at my local Apple Store, not much of them are restricted to One to On

  • Import option not working - please help

    Hi I have MacBook Pro Retina 15 inch Early 2013. I use Motion (latest update 5.1.2) to convert my photo sequences to video files (time lapse). After importing first sequence I can export it with no problem. When I try to use Import option again nothi

  • Most accessible output format?

    I'm relatively new to PP. In AE, I exported a project to a PNG Sequence. In PP, I use that sequence as my video, add some audio, and now I want to export it to the most popular / versatile output format. Is it H.264, or something else? What other opt

  • Values in the change log for activities

    Hi, Some fields "Z" that were created in the structure CRMD_ORDERADM_H and had the flag "change document" checked in data element to record changes in the log of changes in activities. These fields on the screen are the picklist format and are regist

  • I need to reinstall many Creative Cloud applications, but I am unable to do so

    I need to reinstall many Creative Cloud applications, but I am unable to do so because I am told the Application Manager is damaged. I have reinstalled it, but the problem continues.  Any helpful ideas? I am using MAC OS X LION Version 10.7.5 Thank y