Project plant is different and Plant in PO is different

Hi,
I have a situation in production environment as:
Project is created with plant TG01.
No network/activity is in the project.
Direct PO is made with 'Q'. But the user has put plant in PO as TD01.
GR has been made.
Quality inspection is through.
Project has valuated stock.
Now, how to correct this situation? We need to show consumption of material and correct the plant to TG01 also. or should we change the plant at project to TD01.
Thanks & Regards,
Harsh.
Edited by: Harsh Saxena on Oct 1, 2010 5:24 PM

Else, you can reverse the GR document, then Cancel the PO.
Create a new PO with correct plant.
Praveen

Similar Messages

  • Update the x plant material status and plant speific material status

    HI Experts,
    I am new to abap. In my requriment i want to update the status of x-plant material status (MSTAE) in MARA  and
    plant specific material status (MMSTA) in MARC. In master data the status of those fields is blank. Insted of balnk i have to upload '01' or '02'.
    using BAPI_MATERIAL_SAVEDATA  i am unable to upload. its not working.
    is there any another way to upload that two plants status.
    thanks in advance
    sravan

    Hi martin,
    i think insted of it_*** (internal table) we have to use work area. please make sure conform this one.
    i am giving my logic wat i have written and my requirement also...
    The process to update material master data status is described in 'xxxxx' Mark and Release Cost Estimates and BAPu201D.
    u2022     As a result of releasing a standard cost, certain master data elements need to be updated by the Cost accountant in order to enable further activities within SAP.
    u2022     All material codes for which Cost Accounting has released a new standard cost, need to have their Material Status indicators changed from 02 (reviewed) to 03 (released).  This removes the system blocks on certain activities within SAP like purchasing, production and Sales.  The status will be needed to change in two views of the Material Master. 
    u2022     The u201CX-plant matl statusu201D field on the Basic Data 1 view
    u2022     The u201CPlant-sp. matl statusu201C field on the Costing 1 view
    This update should be automated
    Select materials for which a price change document was posted based on selection parameters.
    Select price change documents for company code defined in selection screen since last run date
    u2022     Reference procedure = PRCHG (MLHD-AWTYP)
    u2022     Entered on MLHD-CPUDT u2013 verify against last run date to include in selection
    u2022     Entered at MLHD-CPUTM u2013 verify against last run date to include in selection
    u2022     Store last run date and time by company code, so that it can be picked up in the next run. (store in table TVARVC?)
    Select only the documents of plants which belong to the company code in table MLIT. The link between company code and plant can be found in table T001K.
    u2022     Valuation area = Plant MLIT-BWKEY
    u2022     Create a list of all materials MLIT-MATNR
    The next 2 updates should happen independently;
    u2022     Update the u201CPlant-sp. matl statusu201C field (MARC-MMSTA) on all plant views belonging to the company on the Costing 1 view to status 3 with as prerequisite;
    u2022     The current plant material status is 02
    u2022     This action must be done on all plants belonging to the company code
    u2022     Update the u201CX-plant matl statusu201D field (MARA-MSTAE) on the Basic Data 1 view to status 3 with as prerequisite;
    u2022     The current X-plant material status is 02.
    in pt_final1 i get the data corresponing to given tables.
    LOOP AT PT_FINAL1 INTO GS_FINAL1.
    *HEADER DATA
      GS_HEAD-MATERIAL = GS_FINAL1-MATNR.
      GS_HEAD-IND_SECTOR = GS_FINAL1-MBRSH.
      GS_HEAD-MATL_TYPE = GS_FINAL1-MTART.
      GS_HEAD-BASIC_VIEW = 'X'.
      GS_HEAD-COST_VIEW = 'X'.
    APPEND GS_FINAL1 TO IT_FINAL1.
    *CLIENTDATA
      GS_CLNT-PUR_STATUS = GS_FINAL1-MSTAE.
      GS_CLNTX-PUR_STATUS = 'X'.
    *PLANT DATA
      GS_PLNT-PLANT      = GS_FINAL1-WERKS.
      GS_PLNT-PUR_STATUS = GS_FINAL1-MMSTA.
      GS_PLNTX-PUR_STATUS = 'X'.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
          HEADDATA    = GS_HEAD
          CLIENTDATA  = GS_CLNT
          CLIENTDATAX = GS_CLNTX
          PLANTDATA   = GS_PLNT
          PLANTDATAX  = GS_PLNTX
        IMPORTING
          RETURN      = GS_RET.
        Commit to release the locks
       RETURN-TYPE is 'E' in case of error, else 'S'.
      IF GS_RET-TYPE = 'E'.
        LOOP AT IT_RET.
          WRITE: / RETURNMES-MESSAGE.
        ENDLOOP.
      ELSEIF GS_RET-TYPE = 'S'..
        WRITE: / 'PLANT MATERIAL STATUS '.
      ENDIF.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDLOOP.

  • STO - Plant Customer (XD01) and Plant Vendor (XK01)

    Hi
    In STO, in define shipping data option, for the supplying plant either customer or vendor which will be used?
    As well for the receiving plant either customer or vendor which will be used?
    If inter company STO for both supplying and receiving plants will have plant vendor and for Intra company for both supplying and receiving plants will have plant customer ?
    Please advise
    Thanks in advance
    Aras

    You have to use Plant customer (Customer no of the receiving plant) in Define shipping data in both the cases.
    For inter & Intra Supplying plant will be Plant vendor. there is no need to create a plant vendor for receiveing plant unless your receving plant also act as a source of supply
    [Configuring STO|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c05e2251-91f0-2c10-4e91-e919468e4687?quicklink=index&overridelayout=true]
    [STO Help|http://help.sap.com/saphelp_470/helpdata/en/4d/2b90dc43ad11d189410000e829fbbd/content.htm]
    Edited by: Karthik on Jul 29, 2011 11:44 AM

  • Project stock exist in a plant and WBS but with different company code

    Hello,
    As I know I can not create a PO in company A, but was assigned to a WBS maintained in company code B. The system will check if the WBS getting the same company code with the PO, and pop up  the error message if the company code was differect.
    But seems the project stock could exists in a plant  but assign to  WBS was maintained with different company code. For example, A material stock was in plant A assigned to company code A, and it is also assigned to WBS belong to company code B.
    Any one know it is correct?
    Thanks!

    I knew crossing company code to assign WBS element to PO is not allowed since i got the error message, and I think it's reasonable, cause the expense from the project PO should post to the same company code through the WBS element.
    But why for  the inventory crossing company code is allowed?  The stock in plant A belong to company code A, was assigned to WBS element B belong to company code B. That means the inventory is in the GL balance of company A but under the profit center belong to company B.  How to understand it? I think it's wrong

  • Factory calendar in project differs from plant factory calendar

    Hi Experts,
    When i enter the plant name in project definition and save it at once, am getting the following error message,
    "Factory calendar in project differs from plant factory calendar
    Message no. CJ707"
    Its not allowing me to save the project at all. I am able to only cancel and come out of the project.
    Please advise.
    Thanks & Regards,
    Kabir

    Hi Nitin,
    Thanks for your reply.
    The Issue is solved. The PP guy had defined a customised calendar for the plant. Then i had matched it with the same in Project Profile.
    Regards,
    Kabir

  • WM-Prod Issue--Plant NM Company NM and WorkCenter NM02 Company is different

    HI
      I did material staging and proceed ,i try to save the production order , but i have error like
    "Plant NM Company NM and WorkCenter NM02 Company is different"
    Message no. ZPP 165
    where i missed the configuration .
    with regards
    dinesh
    Edited by: code acess on Oct 7, 2011 11:54 AM
    Edited by: code acess on Oct 7, 2011 12:00 PM

    ZPP is a home made message class.
    Please ask your programmer what he checks and then you will know what you missed

  • Different stock between Acount view and Plant stock in MM03

    Hello Experts,
    In MM03 Acount view,  I found the Total stock is 1, but in plant stock view, I found the stock is Zero.
    There is not really any physcial invnetory so it must be a problem on the report.   
    And on mm03 that it was only on the finacial view screen that stock showed, it does not show on the normal stock screens. 
    What cause this difference? and How to clear the stock from the financial view?
    Thanks

    Hi
    Please run MB5K for the problem material. If it shows difference, then there might be inconsistency between accounting stock and plant(storage location) stock. If that is the case, physical inventory can't help. The correction(direct table update) is necessary and can only be done by SAP.
    Hope the information helps.
    Regards,
    Polly

  • Unable to block SA line as vendor and plant CC are different

    Hi All,
    I need to close a  SA but I am getting the error message "vendor CC is different from plant CC". The SA was setup for company code X, but later the affected plant was changed to company code Y. Now vendor is in CC X while plant is in CC Y.
    Now how can we block the open lines in the SA?
    Regards,

    Sorry, I could not get your point. Could you please explain a little bit more. To be specific to my question, the SA has 6 lines in it. Out of which 3 were blocked earlier (before the change of the CC assignment). Now I need to block the remmaining 3 lines.
    Regards,

  • /SAPAPO/SDRQCR21 program is not working correctly if we run the program for range of material and plant wise

    Hi APO Experts,
    In our project, we have received more sales order inconsistencies which is not clearing by CCR program and it is clearing by  program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, So We have decided to schedule the background job on daily basis for program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, performing the testing in our quality system and observed the below strange behavior. 
    When I am running the program /SAPAPO/SDRQCR21 with Range of products and some location range with option as Build Reqmts from Doc. Flow, in Background job. In output it is suggesting to delete one sales order. If I checked that Sales order in ECC, it is for an different location, that is not part of my selection and the order is open. In MD04 the Qty is showing 1 ( as per sales order) but in APO RRP3 view the order qty is showing Zero. I have run the CCR, it is coming in different in content and if I push, the different is not going to APO.
    I have tried running the program /SAPAPO/SDRQCR21 with plant which is mentioned in that sales order with option as Build Reqmts from Doc. Flow, in Background job , it is suggesting this sales order under update option correctly.   
    Can you please help me understand why it is behaving differently like the location is not part of my selection and why it is suggesting the wrong action. And also whether is it advisable to run the /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow at plant range and material range in background job.
    Thanks & Regards,
    Sundaram Radhakrishnan

    Sundaram,
    It sounds to me like the sales document records in the OLTP and in APO were created at different times.  This is common in Dev and Qual environments when the systems are commonly created at two different times, and each was a copy of an existing system that contained sales data.  The order number you see in //rrp3 is somewhat irrelevant; system generally uses the guid for many activities.
    FYI during Dev and Qual refreshes, if you are copying from a production environment that contains data, it is always best to create the OLTP and SCM images at the same time, and to copy them both to the Dev and Qual systems at the same time.  If you don't do this, you are faced with the additional tasks associated with getting the copied systems back into synch.
    If this is Dev or Qual, I suggest that you just completely wipe out all sales orders in APO and rebuild them using the CIF.
    If this is a mature production environment, the only time I have ever seen this issue is due to improperly created CIF enhancements.  Speak to your developers to find the root cause, and correct this problem.  Then, wipe out all sales orders and rebuild with CIF.
    Best Regards,
    DB49

  • What is difference between bus.Area and plant

    dear experts, 
                what is difference between bus.Area and plant?
    thanks
    Rajakarthik.

    Hi
    Plant and Business Area are not the same.
    Business Areas are configured in FI module as per the Product lines or geographical operations basis.
    Where as The plants created in the logistics (General) module are assigned to the company code. That means all transactions taking place in the plants are posted to the attached company code in SAP FI.
    You can post a business area to several company codes and use it for cross-company-code reporting.
    The R/3 System uses a combination of plant and division to assign the relevant business area. When you use the R/3 System to automatically draw up accounts for business areas, you can assign only one business area to a combination of plant and division. Plants and divisions can be assigned and combined in several different ways.
    http://help.sap.com/saphelp_46c/helpdata/en/5d/a77d80ec1111d2bc1000105a5e5b3c/content.htm
    Re: Business Area and Plant
    Regards

  • Payment terms based on specific dist.channel, division and Plant but not from customer master.

    Dear All
    I have a requirement,
    Generally payments terms from customer master will flow to sales order. but here my requirement is to get a different payment terms based on specific distribution channel, division, customer  and plant those are there in sales order but not from customer master. is there any user exit or functional module to fulfill this requirement, or any other suggestion appreciated.
    Thanks,
    Reddy

    This Problem you can solve without user exit too.
    The Customer master data itself can solve the problem.
    You can maitain diffrent Payment Term as per the sales area (Dist.Ch+Div+S.org) of customer master.
    and each sales are wise u can change the plant also.
    You just need to set your logic with the combination of sales are and plant. And need to assign which payment term should determine to sales order.
    If you are rasing sales order with X sales area relavent to that payment term will trigger.
    Hope above logic will work, otherwise you can go with user exit.

  • Maintain Profit center and Plant

    Helloo all,
    We have One Company code 1xxx, one profit center 1xxx, and plants are 21xx, 31xx. To map a scenario need to maintain two different profit center seperatly for each plant. ie.
    plant    Profit cntr.
    21xx    1xxx
    31xx    2xxx
    1st i would like to know is there specific setting or rule is to be done to maintain plant or profit.
    2nd During creation of Material code by MM01 if i select plant 21xx and profit center 2xxx (Different as per maintained), system not giving any kind of error message (profit center doest not exit)
    how it will be done.
    Please suggest

    Profit Centers are Company Code specific. Unless you use a user exit that does the check there is no way of making profit center plant specific. You should put the Profit centers in material master to seperate the plants and get the correct postings.
    Regards
    Adeel

  • Inforecord with Vendor, Material and Plant combination information.

    Hi All,
    I Want to extract Info records with the combination of Material, Vendor and plant.
    As i tried in a017, EINE and EINA.
    Thanks a lot.
    Warm Regrds,
    Syam Kumar
    Edited by: Syam Kumar Dodda on Oct 6, 2011 10:28 PM

    ME1M can be used.
    If your writing query using A017, the system won't let you do that due to performance issue of select statement for pooled tables, you need use a different approach using ABAP program.
    Look at the note [856193|https://service.sap.com/sap/support/notes/856193]
    Edited by: Jeevan Sagar on Oct 6, 2011 4:38 PM

  • How to restric the use of Business Area and Plant in PTC module

    Hi Expert,
    I am facing a problem with restricting the use of Business Area and Plant in PTC module.
    In this project we are trying to controle the user access or transaction as per the Business Area and Plant.
    We have applied same authorisation in the PTF module.
    Please help me if there is any authorisation object which give Plant and business area restrictions for all the transactions.
    Note: We have already inserted two authorisations object manually -
    1) F_BKPF_GSB
    2) A_IMPR_GSB
    but it's not working, is there any other way to restrict all the trasactions as per the Business Area and Plant.
    Regards,
    Venkatesh

    Hi,
    have you done OMJ7?
    Anyway you can assign plant to Branch and restrict by Validation rules (GGB4)
    Regards

  • Business area and plant

    what is the difference between business area and plant although we can treat plant as a business area

    Plant & Business area are 2 different kind of entities managed by FI & MM
    Business area is different lines of operations of a Company. We can create business areas product wise, geographical divisions etc for which we would like to have internal reportings in Finance.
    Plants are created in the Logistics (General) module & are assigned to the company code. The R/3 System uses a combination of plant and division to assign the relevant business area.
    You can refer below link for more understandings,
    [Business Area and Plant |http://forums.sdn.sap.com/thread.jspa?messageID=7887328#7887328]

Maybe you are looking for

  • Error during DatabaseCopy using SAP tools for SQL Server (v7.12)

    I'm trying to perform a system copy from PRD to QAS.  The database has been mounted to QAS via detach and attach method.  I did a DBCC on the database and everything looks OK.  I'm running SAPINST (SAP Tools for MSSQL) and selecting the Database Copy

  • How to boot always from a firewire disk?

    Hello, I hope someone can help me on this. My HD is almost dead and it's making a lot of noise. I have managed to create a boot disk on an external disk connected through Firewire. What shall I do now to have the HD definetly unmounted and have the b

  • Validation on selection screen

    Hi all,    i have a selection screen    on which there are 2 select-options     The user to enter only particular values in that   fields if he doesnt a error message is shown.    After that error message the user is forced to    run the program agai

  • URGENT: Any drivers for Creative Zen

    Hey, somebody. I've written to the support but it takes so long time so I hope someone here will answer sooner. I bought a new Zen V and installed all the **bleep** on the CD, after that the manual says that I sholud connect my mp3 and load it, then

  • Black & White Raw Images are Automatically Colorized -- Why?

    I am using a Lumix GF1 and shooting in black & white and raw.  I have the latest Adobe Camera Raw Program (5.6, I think), Photoshop CS4 and Bridge.  I upload the images from the camera to my pc using Bridge.  They appear in Brdige one-by-one in black