Restrict PR/PO/GR for a particular company code from particular date

Hi Experts
How we can restrict PR/PO/GR for a particular company code from a particular date?
I know PR is not directly linked with company code
PO can be restricted by deactivating the assignment between company code & plant
GR- we can use posting period option.?
Suggest me the best solution for the above requirment.
Thanks/karthik

hi
Obvoiyusly , you can stop the company code posting by not activating the month end closing of periods (MMPV) in MM and similarly in FI ( OB52).
By removing the assignment you can stop PO creation for the company code but you need to ensure that all the old, un-finished PO/SA and other related activities are taken care off before that.
Regards

Similar Messages

  • Posting is not possible for the specified company code.

    Hi SRM Gurus,
      We have a four company codes in our org.structure and if we try to post manual invoice for a particular company code with its currency, we are getting this error :
    "Posting is not possible for the specified company code "
    We have all company codes defined and inherited for the particular user in BUK and we get all the company codes in the F4 help of this user in BBPIV02 -->Basic data.
    Any suggestions pl.
    I doubt this particular Cocode is deactivated for invoice posting in backend. Is it possible ?
    Kindly suggest.
    Reg.,
    Sridhar.

    Hi
    Which SRM version are you using ?
    Are you getting this error for a praticular company code only or for all the comapny codes ?
    <b>Please read this -></b>
    Since you are trying to create Invoice with PO did you check the Vendor Root there is a attribute for company code. Please maintain the same, if not maintained.
    Refer the link below for details.
    Re: Company code for system missing in user attributes
    <u>Other related links -></u>
    Try to change the chart of acct info in OBY6 for a company code that was copied from SAP template, there is no Financial posting or any other posting in this company code.
    Re: Posting Period Error in Confirmation
    Hope this will help.
    Regards
    - Atul

  • How to restrict the user id to a specific company code?

    Hi,
    I want to restrict a user id to access a specific company code only for both customizing and application data creation. This means that the user id can do customizing and create application data for that company code only and not for any other company codes.
    how can i do this?

    Hello Raja,
    You requirement of restricting users for application data can solved by adding the company code in the organization level button and the user will be restricted to mainatin application (transaction) data for the org element for which he is authorized for, if the transaction has objects which check company code.
    Customizing data authorization can be very tricky, as most of the customizing transactions are for maintaining customizing tables will not necessarily have an authorization check for org elements. In this case you may to manually insert a object called S_TABU_LIN alongwith S_TABU_DIS it will perform the job of restricting authorizations.
    In cases where the end user is accessing tables directly with SE16 S_TABU_DIS is the object that is check and maintained in PFCG.But,Such a restriction cannot be made with S_TABU_DIS alone. Fortunately SAP provides us with another authorization object S_TABU_LIN (Authorization for Organizational Unit), which can be used in conjunction with S_TABU_DIS to enforce such a restriction.
    This authorization object works only with Maintenance Views and Customizing tables. Also note that an Organization Criterion is a prerequisite for implementing the same
    A detailed step by step procedure to be followed is given below:
    1. The first step in implementation of line authorization is defining an Organization Criterion. For this we need to access the u201CSAP Reference IMGu201D customization page from SPRO transaction.
    2. From the IMG display screen select SAP Web Application Server -> System Administration -> Users and Authorizations -> Line Oriented Authorizations. Select the execute ( ) button for the u201CDefine Organization Criteriau201D.
    3. The resulting table display show all available Org Criteria values existing in the system. For our purposes we will create a new Org Criteria to suit our needs. Select the tab u201CNew Entriesu201D as shown below.
    4. Give an appropriate name starting with Y or Z for the new value. Note that a name starting with another letter will not be accepted by the SAP system. Click on u2018Saveu2019 button to save the newly created Org Criteria. This opens a new window asking for a Workbench Transport Request. This would be required so as to transport the new Line authorization restrictions further to the test and production systems.
    5. Now select the new Org Criterion u201CY_TESTu201D and double-click the u201CAttributesu201D tab as below to define the various Org Attributes.
    6. Provide the new Attribute name and Description for the same. Also fill the Authorization field value from the provided dropdown (1st Org Criterion Attribute u2026. 8th Org Criterion Attribute). The search help field is an optional field which can be filled if a search criterion exists or has been created earlier for the specific purpose. This field enables the u201CF4u201D when filling entries in the authorization object
    7. We already have a search help (C_T001) available, which provides as an F4 help the list of all available Company Codes in the system.
    Note that we can create up to 8 Org Attributes as per our requirements (by selecting u201CNew Entriesu201D tab), each corresponding to a column in the target table.
    8. Selecting the attributes link again will show us a list of all defined attributes and the authorization Field it will appear in. Now that we have defined the Attribute Field that we require, we need to associate each attribute to the corresponding Table Field in the target table.
    Select one of the attributes as below and double-click on the u201CTable Fieldsu201D button to define the field associations.
    9. Select the u201CNew Entriesu201D tab to create a new table field association.
    10. The View/table field must be filled with the target table which we need to control.
    11. The u201CField Nameu201D will require the field name of the target table which be linked with the specific Org Attribute. Performing an F4 on this field will display the list of all possible fields available in the View/table provided earlier. Here we will select the field name BUKRS (Company Code). Save the entries in the same workbench request created earlier.
    12. The next step would be to activate this new Org Criterion so that SAP now checks the authorization for S_TABU_LIN for every user
    13. In the u2018IMG displayu2019 go to SAP Web Application Server -> System Administration -> Users and Authorizations -> Line Oriented Authorizations. Select execute ( ) button for the u201CActivate Organization Criteriau201D.
    14. From the resulting customization screen tick the check-box for the Org Criterion that we have created. On saving the settings the system then asks for a Customizing Transport Request for further transport into test and development systems.
    15. Any user without this authorization will not be allowed in to the SM30 display/change screen for this table.
    16. In the role for which the S_TABU_DIS provides maintenance access for the table , we will now also need to maintain the object S_TABU_LIN.
    17. On selecting change button besides any authorization field you will need to select the Organization criterion which needs to be maintained here. Note that only one Org Criterion can be maintained in one instance of S_TABU_LIN object.

  • Higher-level billing element for the selling company code in your network

    Hi ,
    I am getting the error " No wbs element found while substituting wbs element 00074419.at the time of creation of invoice from OBD
    I ahve refered note 672929 ,  solution is  "Define a higher-level billing element for the selling company code in your network" but then I odnt ahev anything defined in the network.
    Pls guide me how to go about it
    Regards
    Suvin.Sugathen

    HI,
    - Any of the WBSE which are hierarchically superior to your WBSE "74419" should have the relevant company code.
    Check for any such superior WBSE in your structure & assign the company code, in question,  to it. It should be a billing element also.
    this is because, while billing system checks for the proper revenue receiver cost object in the particular company code.
    regards

  • Stock in transit for a particular date

    Hi all,
    How to find the stock in transit for a particular date.
    In MB5T date option is not available.
    Is there any other way or i need to gofor Z development.
    Kindly help me in this regard.
    Regards
    KK

    Try MB5TD. Please also check OSS notes 1120843, 1268193, 925384.
    Edited by: Csaba Szommer on May 22, 2009 8:28 AM

  • How to calculate Opening Stock for a particular date.

    Hi Experts,
    I have a sitution to calculate Opening stock for a particular date.
    please help me with the necessary Fields & Tables required.
    Appriciate If any Sample coding available.
    Thanks & regards,
    Venkat.

    Hi Venkat,
    To Calculate Opening Stock & Closing stock there are different procedures.
    It just depends of\n the client requirements & usage of the material.
    For example, we have different types of stocks, like, Through Pipeline, Special, Unristricted, quality, safety,
    and many types of stocks.... so all these types are indicated in MSEG tabe in SOBTZ field,...
    Now Comimg to your Query, You need to calculate OPENING & CLOSING STOCK.
    We have a similiar standard report in MB5B Tcode..
    to get the same results in your report do like this...
    For valuated stock go to the MARDH, MBEWH, MCHBH tables But I Prefer MBEWH.
    here in MBEWH give the month & year and you get the result in LBKUM field...
    For Special stock, You need to go to another table like MKOLH,,(I forgot still 2 more) and
    give the month & year inputs and you will get the result in SLABS field.
    and remaining MB5B refers to its deetails lists with different Movement types,
    whcih you can get clearly from MSEG Table...
    Hope you can write the select Queries accordingly.
    Thanks & Regards,
    Dileep .C

  • Using Same Bank Account for two different company code

    Can we use the same bank account number and ABA key for two different company codes? Both the company codes are in USA and with the same currency.
    Scenario is to separate one division of the company code to a separate company code. Client wanted to know if we can use the same bank account so that they dont have to open another bank account

    The system will allow the same ABA and bank account on two different company codes.  However, if you use electronic bank statement (EBS) functionality (or plan to use it in the future), you will not be able to import bank statements for the account if it exists on two company codes.  The EBS program uses the house bank/account ID tables to assign a company code to the bank statement.  If the account exists for more than one company code, the program cannot assign a company code and it will give an error.
    Regards,
    Shannon

  • How to identify all the information for a given company code?

    Hi,
    Our company provides data migration services for SAP and other ERP applications. Our customers provide us the specifications for extractions and conversions. We use one or more 3rd party tools to extract data from legacy systems into text/Excel files. Customers use LSMW to load generated files.
    We just got an unusual request. This customer wants to get ALL the data from SAP for a given company code and dump into Excel. They would do some manual editing on the data and load it into a new SAP client.
    In the past, customers would be more specific in their requirements. For example, they will mention Materials, Customers, Inventory, etc. In this case, the customer simply wants ALL the data for a given company code.
    Q1. Is everything in SAP related to company code, either directly or indirectly? For example, can materials be filtered by company code?
    Q2. The tools that we use let us extract data from SAP using SQL-like queries. How do I identify ALL the tables that I would need for a given company code?
    My feeling is the customer themselves are not clear on what they really want. Perhaps they are expecting us to guide them.
    I would appreciate any thoughts that you may have.
    If there is a more appropriate forum for this question, please let me know.
    Thank you in advance for your help.
    Regards,
    Peter

    hi
    t001w is the master table for plants, u can see all plants in this table.
    regads:
    rajesh.k

  • Creation of referenc BP in SD for different company code from IS-U system

    Dear Friends,
    I have two company codes called 2000 and 3000 in my IS-U system. I would like to create SD ref customer with reference to BP created in the IS-U system.
    I created SD reference customer with 2000 company code along with sales data's and assigned it to MKK role in IS-U, but for the second company code 3000, I can't assign the SD reference customer in IS-U MKK role, because the MKK role has been assigned it to the SD ref customer of company code 2000.
    Now the problem is, I need to create SD reference customer for two company codes (2000 and 3000) with two different sales org. details through IS-U.

    Try creating your SD reference customer in both the company codes (2000 & 3000) with their respective Sales Org data in XD01. Specify this reference customer while defining the parameters for automatic creation of SD customers for BP in IS-U.
    Regards,
    Rajini.

  • Enable Purchase Requisition and Purchase Order for a New company Code

    How to enable Purchase Order and Purchase Requisition for a new company code.

    create purchasing organisation,
    assign it to a company code or plant.
    do you already receive errors?

  • Delete G/L Accounts for one company code when transaction data exists

    SAP transaction OBR1 can be used to reset transaction data.
    If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
    But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
    If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
    There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
    Thank you very much for your feedback.
    Edited by: E. Deleu on Mar 3, 2008 3:42 PM

    Helllo,
    I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
    Regards,
    Christoffer

  • How to identify the project in CMOD used for a particular data source

    Hi
      I had a Business Content Data source which is enhanced with ZZ fields and user exit is written in CMOD.
      How can i find in which project used to write the code for that particular data source.....
    When i check CMOD i can find nearly 10 to 20 different projects
    Thanks

    Hi,
    One simple way is goto CMOD and give project names with Z* or Y*. First findout the naming convensions following in  your project and see.
    Then gibe projects one by one and select COMPONENTS option and click on Display, if you find the following Function Exits means it is our DataSource project
    EXIT_SAPLRSAP_001
    EXIT_SAPLRSAP_002
    EXIT_SAPLRSAP_003
    EXIT_SAPLRSAP_004
    Thanks
    Reddy

  • Search Help for Company Code from Backend

    Hi experts,
    How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4  functioanality, but i don't know whether I can use it for Company code or not? And how?
    Best Regards,
    Mikhail.

    I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
    But what should I use for company code?

  • How to find out Company code from Plant in BW

    Hi,                                                      This is probably a very basic question.                                 
    In one of my ODSs, I have 0PLANT infoobject but do not have the Company Code. I thought 0COMP_CODE should have been an attribute of 0PLANT. But it is not and I am NOT finding anyway to derive the company code from the Plant code.                              
    I guess I can change my datasource to get that value but thought the Plant-->Company Code link is one of the most basic things in SAP R/3.    
    I cannot imagine it can be missed in the Business Content design by SAP.  
    So thought I would check with you to see if my expectation is correct.    
    If not, what might have been the reason behind the exclusion of the link between Plant and Company Code from the Business Content.                                                                               
    Thanks and regards,                                                       
    Atul Kulkarni

    Hi,
    we are running RETAIL and by design:
    a plant (0PLANT ) belongs to a sales organization (0SALESORG attr of 0PLANT) which belongs to a company code (0COMP_CODE attr of 0SALESORG)
    this defines a unique comp_code for a plant.
    You can therefore put the following two fields in an internal table of a start routine
    SELECT pPLANT sCOMP_CODE
    INTO CORRESPONDING FIELDS OF TABLE lt_internal
    FROM /BI0/PPLANT p
    INNER JOIN  /BI0/PSALESORG s ON sSALESORG = pSALESORG
      AND sOBJVERS= pOBJVERS
      AND s~OBJVERS = 'A'.
    and look it up in your IObj routine.
    In R/3 that's true WERKS (T001W9 belongs to a BWKEY (T001K) which belongs to a BUKRS.
    hope that helps...

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

Maybe you are looking for