Restrict Plant Posting

Hi,
I have a scenario in which I have to restrict plant posting when i am posting company codes.
Lets us say, I have to post a journal entry for a company code A and plant 1 only. We should not allow users to post journal entries other than Plant 1 when you are posting to company code A.
I wrote a validation saying that  company code A & gl account 12345 is not allowed to post when plant 2.
But this does not work. Please advice.

Please check the validation again, your statement might be wrong.
It should be like below
Co. code = 1000
GL Account = 1234 & 4567
Plant =/= Plant2
Rgds
Murali. N

Similar Messages

  • How to restrict plant and companycode

    Hi all,
    My requirement is
    I have few questions on client requirement.
    -     FI (AP/AR/AA/GL) u2013 4 years of data, all open items, for company code 0013, 0022
    -     MM u2013 4 years of data for plants 0013, 0022
    -     COPA data, fiscal year 2010 onwards for operating concern CORP and 0030
    For COPA->Do I have to create 2 separate datasources one for each operating concern?
    How and where to restrict plants for MM?
    How and where to restrict Companycodes for FI?
    Will that be at IP level?
    Thanks all.

    Hi Harika,
    I guess you need to write ABAP routine for multiple Single value restrictions in Infopackage level.
    In Data selection tab, Type(as your requirement is to restrict the plant field with 2 fileds) select the type beside plant and select 6-ABAP Routine --> enter the routine name and write the logic.
    Use this above method as a standard practise. But for your requirement, (since only two plants are involved) you shall use two rows of plant and restrict them.
    If you need further help, feel free to post.
    Hope this helps.
    Regards,
    Guru

  • How to restrict the posting document from the parked user

    Hi All,
    Please help me in the below requirement
    The requirement is, need to restrict the posting of document by the same user, who has parked the document.
    For this I did the code changes in BTE: 00001140 by copying the function module:
    u2018SAMPLE_INTERFACE_00001140u2019 into new function module asu2019 Y_IB_FI_PROCESS_00001140u2019
    In this I have restricted as
    IF ( sy-tcode = FV60 or
    sy-tcode = FV50 or
        sy-tcode = FBV0 ).
    IF i_parked = u2018xu2019. " document has already been parked
          READ TABLE t_bkpf INDEX 1.
          IF t_bkpf-usnam EQ sy-uname. " park user = current user ?
            t_exctab-okcod = 'BU'.    " do not allow to post
            APPEND t_exctab.
          ENDIF.
        ENDIF.
    This function module is getting trigger while parking and posting the documents
    While posting the document, the parameter i_parkedu2019 is not getting the values as u2018Xu2019,
    To get the values as u2018Xu2019 for the parameter: i_parked what can I do?
    Can you please help me, is there configuration side need check?
    Or do I need to write code some where else.
    Thanks in Advance
    Rambabu .A
    Cross-post

    Hi
    Well, in such a case, it might be justified... BUt again, I would ask how would you differentiate between What USER1 can park and what can he post?... Certainly, it would be by means of fields like Doc Type, etc...
    Else, if you leave it to the discretion of USER1 and give him both the authorizations, why would he like to park when he can post the doc? 
    Anyways, now coming to the BTE, each BTE uses a structure... For eg: BTE 1120 uses BSEG_SUBST... If the fields you desire are not available in the structure, then you can also enhance the structure... See if you can enhance the structures involved and achieve the result
    Regards
    Ajay M

  • Option to restrict MIGO Posting date after GRR posting date

    Dear All,
    My client is looking for an option to restrict the posting date of MIGO to be after GRR Posting date. Is there any way to do it? where the system don't allow you to post a MIGO without the GRR transaction has taken place?
    One option i got is to tick the GR MESSAGE tick which creating a PO. Is it the right solution?
    I would request you all to kindly give in your valuable inputs if in case anything else can be done or for the suitability of this option.
    Regards,
    Prashant

    Hi
    Could you specify your business scenario in details and also specify what is GRR
    Regards
    Sanil Bhandari

  • Inbound Delivery - Restrict GR Posting against the PO

    Hi,
    I need to restrict GRN posting against the PO in case inbound delivery is already created against the Po. Current the system permits to post the GRN both against the Inbound delivery and against the PO.
    Pls advise.
    Thnx & Rgds,
    Shekhar.

    Hi Shekar,
    If you have maintained confirmation control key in the PO, in Item overview - Confirmation tab.
    You have to create Inbound delivery through T-code VL31N, once Ind.del created, the MIGO is possible only by Ind.del No....Pls check wether the PO is subjected to Ind.del.
    Confirmation control key can be mainatined either manullay in PO or
    it can be maintained tro Inforecord, which will be picked automatically when you create the PO.
    Thanks
    Vasanth

  • System shud restrict stock posting of 04 inspection lot

    Dear ALL,
    Pain Area - whenevr Process order get release 03 inporcess inspection lot generates and after Process order get confrimed
    O4 inspection lot generates , Evry time we use to process 04 Inpsection lot and then stock posted from Quality to Unrestrcted and finally , urestricted stock goes to market . NOw 03 inpsection lot remains in Created status , system not restriced for 04 activity i.e stock posting . So I want to restrict stock posting of 04 inspection lot  if 03 inpsection lot doesnt have UD status .
    please suggest .
    Regards,
    Prerna Verma

    Do you want to put a hard error when UD is taken for O4 lots, if the corresponsding SF lot is not released? This will stop users releasing the 04 lots and personally I am not in favor of writing a piece of code in User exit at UD and stiop the release of a Finished Batch.
    I have worked on similar requirement where users used to check manually the SF batch - UD prior to release a Finished Lot. to reduce the manual work and data transpose errors, we have used a calculated char. SF batch released? and assigned it in the finished product inspection paln.
    We copied the standard FM - QEFC_FORMULA_CALC_EXAMPLE and written a logic to look the consumed SF batch is released or not .The Function Module is assigned to a Calculated Characteristic u2013 the user will then be able to Calculate the characteristic during Results Recording of a batch of Finished Product to determine the Release Status of the issued batch of Semi-Finished material, as opposed to having to look it up manually.  We looked at the Q-score to decide a SF batch is released , rejected or UD not taken. The Function Module used the name of the Master Inspection Characteristic (MIC) and the Material Type of the Inspection Lot to determine the Inspection Lot Q-Score to return.
    With this set up you will not issue a hard error at the time of UD for Finsihed batch at the same time users will know the SF batch status when the results were recorded for Finished batch.
    If your requirement is a Hard error, simply go for the user exit suggested and write a logic to look for the Semi Finished Batch consumed.
    Hope it helps.
    Thanks,
    Ram

  • Restriction of posting parking vendors in tcode FV60

    Hi Experts,
    i am trying to restrict the posting of parking vendors for tcode FV60 by using  FIBF tcode to deactivate posting button as per the documentation mentioned there. but, the button is not deactivating.
    Is there any other procedure to deactivate the posting button in tcode 'FV60'.
    Thanks in advance.
    by
    shiva
    Edited by: shiva pandu on May 6, 2008 7:45 AM

    HI,
    I got the solution. we can di it through the tcode FIBF
    by
    shiva
    Edited by: shiva pandu on May 7, 2008 11:35 AM

  • User Status - Restrict FI Posting

    Hi All,
    The scnerio in my project is as follows,
    After completion of the project system status set as "TECO". I am not going to set system status as "CLSD"
    After TECO, system is allowing FI-Postings to WBS Elements. I nned to restrict this posting through User Status.
    1. How to go ahead?
    2. If I set user status to Project definition, Will it apply to all WBS elements?
    Regards
    Suresh

    Hi ,
    For creating user status we have to  use transaction  OK02
    Here create a user status profile with user status NFIP- FI posting not allowed.
    Select object type as WBS element and once u double click on the NFIP - FI posting not allowed u can see the system status. For the system status TECO select the radio button set. So that when u do the TECO for WBS the NFIP status will be activated.Also similarly for FI posting options select forebidden option against the individual system status.
    This user status profile u have to assign to the project profile.
    2.If I set user status to Project definition, Will it apply to all WBS elements? As per me this is not possible. Only PREL ie partial realeas of Project defn can restrict release of project.
    Rgds

  • Restrict excess posting against manual reservation (for movement type 311).

    Hello,
    Reservations are created for transfer posting within plant (311). However, during posting the system allows to post more than the reservation quantity. Can this be restricted?
    Regards
    Sameer

    Hi,
    2 options i can think of:
    1. Use MB1B with 313 & 315 mvmt's. Once you generate a mtl doc nos. with MB1B & 313 mvt. use this docu in MBSU & post the 315 mvt. system will throw an error message if the qty is increased
    2. Use user-exit MBCF0002, check with your abaper on this.
    Regards,
    Vivek

  • Restrict the posting period opening and closing for some users

    Dear SAP gurus,
    I want to restrict some users to open the posting period and for some users close posting periods. I knew that these can be done through authorization group. Pls explain how to create authorization groups and how to use those?  Anybody can help me out?
    Regards,
    Venkata Reddy

    Dear Venkatareddy,
    There are two sets of period in OB52. The first set of "From" and "To" is for the authorised group and second set is for the non authorised group. In the "Authorisation Group" (last column) give some 4 charecters name. Say "FICO".
    Now ask the basis to attach the object "FICO" for the users who are authorised say user1, user 2 and user3.
    Now in the first set of period you can maintain say 1 2008 to 16 2008 and in the second set 1 2008 to 1 2008.
    So except user1,2 and 3, all the others can post only in 1 2008. Whereas users 1,2 and3 can post in all the periods of 2008.
    Assign points if useful
    regards
    Venkatesh

  • How to restrict Stock posting in Specific Storage Location

    We Want to restrict posting of cenvet creadit taken material to specific storage loacation at time of GRN (MVT 105)

    HI
    IMaterial master view in mrp-2 view there is option to procurement for EP. here you specify the storage location so while posting the GR system pick the same sto location.
    which material you want to post just make the changes in mmr.
    creation of user wise authorization  also you can reach this with help of basis.
    laxman

  • Document Posting restriction using posting key,document type combination

    Hi
    We have a authorization restriction issue using posting key&document type&Accoutn type  combination.
    Requirement is
    User A should be able to post to vendors only for particular posting key&document type.He should be able to post to with any other posting keys and document types to vendors.
    We have tried with document type authorization object/vendor authorization objects from user profile but it does,t work.
    can any one suggest some way please/
    r
    regards

    Hi
    I think you should be able to achieve the same through Validation rule:
    Prerequisite
    Document Type - XXXX
    Check
    User name = 123 and Posting Key = XX
    You can set a an error messsage which would be bleeped when the check fails
    Regards
    Sanil Bhandari

  • Cost Center Restriction - Finance posting/Display

    Hi Experts,
    Is it possible to restrict the FI document posting/display using cost center? The scenario is users from one cost center should not post/display documents from other cost center.
    Eagerly waitimng for your inputs.
    Regards
    Prasanth

    Some of the transactions we use to post are FBR2, FB01....

  • Restriction of posting of parking vendors in tcode fv60

    Hi Gurus,
               How can we restrict posting of parking vendors in transaction code FV60 by disbleing the menu item.
    Thanks in Advance.
    shiva.

    thanks for ur suggestion
    by
    shiva

  • Restriction of posting date in transaction CO11N for partial confirmations

    Hi all,
          I am trying to restrict(by checking thru an exit)  the posting date in co11n , for this i m using enhancement CONFPP04.
         Import parameter AFRUD_IMP IS USED.
         Now when i m putting  production order no , operation activity no.(for e.g 10 , 20 etc ) and posting date IN SEL SCREEN OF CO11N
        AFRUD_IMP-BUDAT( POSTING DATE )  CONTAINS VALUE  in debugging mode , hence i m getting the value of posting date
        and in that case check is written in code.  This is the case of full confirmation.
                                     But in case of partial confirmation  i have to give   production order no , operation activity no , *Partial confirmed qty * and posting date , in this case the posting date value changes to 0 in the debug mode ie.
      AFRUD_IMP-BUDAT is showing 0 and hence no calculation can be done base on the date.
          Our requirement is such that if there is a prd order no say X,
    then in CO11N if user enters prd no X  , operation activity no 10 , post date say D1
    then again for  prd no X  , operation activity no 20 , post date  of activity 20 should not be less than D1
    SIMAILARY for  X,  ACTIVITY 30 ,  post date should not less than that of  activity  20. and so on.
        But if partial quantity is mentioned value of  AFRUD_IMP-BUDAT is becoming null.
          If anyone knows about this scenario please share.
      Thanks and regards
    Pankaj Gupta

    Hi, In the T-code Mb31 
    The Posting Date which is used  is when entering the document in Financial Accounting or Controlling. The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from this posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.But this posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).This is for the practical purpose .
    So its for the Monthly permitted and not for a day or range .
    Secondly when you are saying :
    "We want this <b>default date to get freeze</b> the moment you enter
    the transaction (MB31). If you are opting for second option we want
    <u><i><b>some flexibility to change the date as required</b></i></u>."
    Both freezing and opting for changes is not possible , either one can occur .
    You can freeze/display mode only  the field for the T-code and the document type, but that will not solve your problem .
    What i understand from the description is you want to Do GR on A particular date or GR should be allowed after a particular date . <u><b>Please let me know</b></u> if this is the case then there's a way around to do this that is you can do GR and Post on the dates near to your desirable dates .
    cheers KP

Maybe you are looking for

  • Cannot download Mavericks

    I click on "free upgrade" under the Mavericks update in the App Store.  Then a window keeps dropping down saying "Download for Free?: This item will be added to your purchases and will be available even if your family sharing status changes." I click

  • Illustrator applescript jpeg export options

    Mac, Illustrator CS4, Applescript I need of a jpeg droplet that converts Illustrator files to jpegs. I was able to create one using the Image - Duplicate as JPEG.scpt script that comes with OSX by just adding .AI to the list of files to convert. The

  • Restore from Bropken phone backup to neew phone?

    I have a broken Bold. I borrwed a Tourch 9800 until I can get a Blackberry replaced on contract in July. How do I restore my old phone Backup file to the new Tourch, please? I cannot find a Desktop feature to do this.

  • Nr of elements in string[] list ?

    Hi, is there easy way to find out how many Strings (object) there are in a string[] buffer. I have a method : myMethod(string[] list) // here i want to find out how many Strings are passed into this method thanks Indy

  • I cannot add Tabs -- there is no "+" sign on my iPod touch.

    I have a 3rd generation iPod touch. Just downloaded mobile version of Firefox, turned on Sync. There are 2 default Tabs. I cannot add any because there is no "+" icon. Thank you, EDG