URGENT ( To put a validation in Purchase requistion based on Cost center)

Dear All,
I require to put a validation in purchase requistion, based on user and cost center.
Each user is assigned to one cost center, and that particular user must be allowed to input or change only that cost center in the purchase requistion.That is by default based on the user the cost center field must be filled in purchase requistion.
thanks.....
Deepak

Dear Deepak,
<b>That is by default based on the user the cost center field must be filled in purchase requistion.</b>
You can maintain this by maintaining proper value for parameter ID of cost center in the user record.
<b>Each user is assigned to one cost center, and that particular user must be allowed to input or change only that cost center in the purchase requistion.</b>
You can achieve this by maintain proper authorization for the user.
Hope this will help.
Regards,
Naveen.

Similar Messages

  • Purchase order ME21N ,ME22N Cost center validation against GL

    HI,
    I'm validating the purchase order cost center against the G/L , if a particular entry is not found against G/L in a custom table
    the BADI -ME_PROCESS_CUST_PO Method -->PROCESS_ACCOUNT should raise error message and append in the collector.
    i was able to append the error message in the collector and still PO is able to save , but when re-open the PO the error message is cleared from the message collector.
    any idea why the message is disappearing from the PO error message collector?
    here is my code:
    INCLUDE mm_messages_mac.
      DATA: ls_acct TYPE mepoaccounting,
            lt_zgl_cc TYPE zgl_cc,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      ls_acct = im_account->get_data( ).
      IF NOT ls_acct-kostl IS INITIAL.
        SELECT SINGLE  * FROM zgl_cc INTO lt_zgl_cc WHERE
                                         glacc      = ls_acct-sakto AND
                                         costcenter = ls_acct-kostl.
        IF sy-subrc NE 0 AND  ls_acct-sakto GE '0000500000'.
          mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' '  ' ' ' ' .
          CALL METHOD im_account->invalidate( ).
        ENDIF.
        else.
        mmpur_remove_messages_by_id ls_acct-id.
      ENDIF.

    Hi,
    have you tried to invalidate item instead of account assignment? You can get a reference to item with method GET_ITEM. I can see only one class which implements interface IF_PURCHASE_ORDER_ACCOUNT_MM. It is CL_PO_ACCOUNTING_HANDLE_MM and this class has no code for this method.
    Cheers

  • Is there a way to limit Purchase Order Display by Cost Center?

    We want to limit who can view specific purchases. Has anyone done this before? Thanks!
    Chris Lintner

    Oh sorry I completely mistook your question- I dont think we have a auhroization object for Cost center to restrict it in viewing the PO.
    But please have it confirmed from some basis people and ofcourse if you have a Plant or purchasing org associated with the cost centers you can restrict then definately you can. Please check with your basis team.
    thanks

  • Purchase Order Field and Cost Center Field Non Editable In F-48

    Hi Friends,
    I have a cretain requirmnet to make the PO and cost centre field non editable.I tried through shd0 bt it says i can only cretae Transcation variats for Dialiog tran.Please help
    Regards,

    Hi,
    You can speak to your functional people. I think through SPRO "Maintain Field Status Variant' under Financial Accounting ->........
    we can control this.

  • Payment method and cost center validation check in MIRO while save or simul

    Hi,
    I want to put a validation check between payment method and cost center while posting MIRO against PO (MIGO done) . If my payment method and cost center matches then system should allow that entry otherwise should popup a message .
    We tried this with user_exit - EXIT_SAPLMRMP_010 enhancement LMR1M001 .
    But thing is it is not getting triggered at all either at the time of simulation or at the time of saving . We are also looking into BADI - update_invoice .
    Any body having any idea on this please share.
    Thanks

    Hi,
    Please don't open multiple threads for the same question..Please close this one..
    THanks,
    Naren

  • Is there is a way to have a link from purchase order to cost center report.

    Is there is a way to have a link from purchase order to cost center report.
    I am meaning kind of:
    Standard way to customized this link?
    or
    User exit to have this link in place
    or
    Any other solution
    Thanks

    For me it does not make any sense from going from PO to cost center report.
    However, if you want to see the purchase order cost incurred with a cost center, execute KSB1 report. Within the layout, bring "Purchasing Document" field, where you can see the purchase order number in cost center line item report.

  • Purchase order with cost center

    I have 1 purchase order raised against cost center. for which gr, iv & payment  also done but. client want to return part of the goods.
    What can be the best process to do this.
    Thanks,
    Kiran

    Hi,
    Talk to  your business team, what  is real requirement now and also consult with FI/CO team
    As payment done, you can go for creating a Return PO and then do  GR with 161 movement type( if excise,do J1IS for to reverse excise and then print with J1IV) and finally go for credit memo in MIRO.
    OR 
    Considering  payment done to vendor as wrongly/ by mistake,so 1st check accounting document number for which vendor (with account number) in t.code:FBL1N & then reverse it with t.code: F-02 and finally clear it with t.code: F-44.Reverse all GR and MIRO document.
    Regards,
    Biju K

  • Change Cost center valid date

    Hi, Export,
         Can we change the cost center valid date from 2007.10.01 to 2007.08.01? If it can change, Pls tell me how to change it.Thanks.
    best regards
    Park Han

    Well, it's a little late to reply to the original question, but I found this thread while trying to figure out how to do the same thing myself and thought I would update it with the answer in case anyone else stumbles across this thread while searching as I did.
    You can actually make a change in the valid from date by using a KS01 Create Cost Center transaction and referencing the original cost center to create the additional period you want to add. 
    In this case in KS01 you would fill out the fields in this manner:
    Cost Center: Existing Cost Center to be changed, let's say 1000
    Valid From 2007.08.01
    Valid to: 2007.09.30
    Reference Cost Center: 1000
    Controlling Area: Whatever the controlling area is
    In effect, rather than changing the cost center, you are creating the extra time period from the new from date to the original from date and referencing it to the cost center.
    The end result for us was that KS03 shows the cost center with the new from date and the old to date, which was the change we wanted.
    Not quite as obvious as a change, but it worked for us.

  • Cost Center budget control - Urgent

    hi all,
    It very urgent.
    Can any tell me the steps in configuring cost center budget & availability control system in ESS 5.0
    Thanks,
    Chandru

    Hey Chandu,
    budgeting is possible in Costcenters. Availability control is not possible. It can be done only for internal orders.
    Availability Control helps you to recognize if possible budget overruns in time and can automatically trigger different actions & you configure availability control for each budget profile.
    And this is activated only at internal order level not at cost center level.
    If you want to budgeting for cost centers, goto KPZ2. But here U cannot do it cost element wise. U can do it cost center wise for each period. If U want it at cost element level do it using KP26.
    Later U can draw the report using Information system plan/budget/actual variance report.
    Hope this helps you
    regards,
    chaitanya

  • Change validity period of cost center from 2009 to 2008

    Hi All
    I have created a cost center with validity period 01.04.2009 to 31.12.9999 which was supposed to be created from 01.04.2008 to 31.12.9999. when trying to change the validity period in Tcode KS02 I am getting the following message -
    "New analysis period must not exceed maximum period limit". In TCode -  OKEON the validity period button for that particular cost center is deactive. 
    In TCode KS13 when I generate report for that cost center with Parameters - Valid from 01.04.2008 to 31.12.999 I can see that the cost center is valid from 01.04.2008 to 31.12.9999.
    In TCode KS03 Display Cost Center the cost center is valid from 2009 which has to be valid from 2008. Please advise on how to change the validity period from 2009 to 2008.
    Regards

    Hi Eli
    Thanks for the reply and I have successfully created the cost center to be valid for the previous year as per the requirement.
    Thanks & Regards
    KIMKhan

  • Urgent 2nd request CS6 photoshop not found after downloading and putting in valid serial #

    CS6 photoshop not found after downloading and putting in valid serial number. Only extended version shows up as available. How do I just download CS6 photoshop only?? only the CS6 PS extended version shows up as downloaded.
    I have no idea how this forum works or weather or not this has been posted let alone answered. Can someone from Adobe please help me asap
    Thanks!

    check your duplicate post.  there are two responses.

  • Purchase Requistion - Agent Determination using responsibilities - Issue

    Hi Everyone,
    I am new to workflow. I am having an issue wrt Purchase Requistion - Agent Determination using responsibilities.
    Created some 30 to 40 resposibilities with combination of inputs - R1, P1 & Cost Center
    Checked rule with responsibilities in Simulation mode and for the given inputs shows correct output.
    Same config is present both in DEV and ACP. Simulation works fine in both systems.
    But when I created Purchase Req. in DEV and save it. Workitem is generated for the correct agent. But when I do the same test in Quality, it fails and created Workitems for several agents.
    Checked container info. in both systems,no.of agents is the ONLY difference (i.e. 1 in DEV and 30+ agents in Quality).
    Put shred some light on this issue.
    Workflow Used: BUS2009
    Task : TS00007986
    Thanks a ton in advance.
    Regards,
    Krishna

    Hi,
    Open the workflow (WS*******) with SWDD and see the bindings for the rule in the approval step (using TS00007986). Do they look the same in both environments? Are you passing the same parameters for the rule?
    Another thing that you should check is a possible authorisation error. Maybe the users are not authorised to execute the needed functions for finding the agent inside the rule (common problem).
    Also try to read the technical workflow log (Start a workflow, open SWI1 and drill-down to the workflow log). Can you see some error messages there? You will probably find a message saying that "cannot execute agent rule" or something like that. It is WF behaviour that if it cannot find an agent it will send the work item to all possible agents (unless otherwise configured).
    Regards,
    Karri

  • Automatic purchaseorder from purchase requistion

    how to create automatic purchase order from purchase requistion?

    Following are prerequisties for auto PO from PR
    1 Auto PO selected in Material Master Purchasing view
    2 Auto PO selected in Vendor Master Purchasing view
    3 PR should be source assigned  in source of supply tab.
    4 Valid Info record for combination of material & vendor.
    Run transaction ME59N to create auto PO from PR.
    Regards
    Sanjay Kohli

  • Purchase requistion TABLE

    Hi I am trying to create a purchase order through ME51N. Now i want to relase this purchse order through a bdc for the treansaction ME54N. When i tried to do a BDC, it not working. now how will i release the PR,? Can I relase the PR by forcing the values in the batabase table? if so, then what are the tables that stores all the release status for a Purchase requistion.
    Plz answer its very urgent.

    Please check for Exit
    Transaction Code - ME51N                    Create Purchase Requisition
    Exit Name           Description
    MEREQ001            Customers' Own Data in Purchase Requisition
    No of Exits:          1
    Transaction Code - ME54N                    Release Purchase Requisition
    Exit Name           Description
    MEREQ001            Customers' Own Data in Purchase Requisition
    No of Exits:          1
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Problem in Purchase Requistion.

    Hi  Friends,
    we have used the two BAPI' s for release the purchase requistion ME53N.
    The frist bapi 'BAPI_REQUISITION_DELETE' delete the item of the purchase requistion , this one is working correctly.
    the second bapi "BAPI_REQUISITION_RELEASE_GEN", 
    in debug mode the 2nd  bapi successfully release the purchase requistion but it normal mode(with out the debug mode) it's not release the purchase requistion, we are putted the wait statement upto 2 seconds but still i am getting the same problem,
    Can you please help me.
    Thanks & Regards
    CHARAN.

    Hai Please read given below Information and please read status in table requisitionItems.
    This method enables you to list all purchase requisitions that have tobe released with a certain release code and group (collective release).
    Notes
    The authorization object M_EINK_FRG is checked.
    Transfer
    The release code must be passed on in the parameter RelCode and the release group in the parameter RelGroup.
    The parameter ItemsForRelease determines whether only thoserequisitions awaiting release are listed, or only those that have
    already been released. The latter is useful if you wish to have a listfor the purposes of cancelling releases that have already been effected.
    Return
    The result is returned in the table RequisitionItems.
    Return messages
    Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings. .

Maybe you are looking for