Extend material to another plant

hi all,
I want to extend materials to another plant using copy from...  Someone knows  which BAPI  Can I  use
to do  this?
thanks.
marisol

u can use "BAPI_MATERIAL_SAVEDATA".
Suppose u have to Extend material from 1000 to 1100 plant.
so ur template will be like this:
Material Number,Current_Plant,extend_plant,valuation area ,Type
Using Material Number,Current_Plant , valuation arear , Type and pass it to
BAPI_MATERIAL_GET_DETAIL
u will get all data 4 , BAPI_MATERIAL_SAVEDATA.

Similar Messages

  • Extend Material to another plant with Valuation CAtegory X

    Hi All,
    I have a Material in Plant 1, with Valuation Category H.
    I want to extend this material to Plant 2 with Valuation Category 'X' (Auto Batch)
    Its not accepting X, any other entry would be possible
    It says "With Single batch valuation, batch management must be defined. The following plants have no batch management requirement: Plant 1"
    If i activate batch management in Plant 2, it is working.....but i dont want Batch management for this material.
    How do i solve this.
    Pls help.
    Thanks

    Hi,
    We can not remove Batch management thru MM02, once it is set in MM01. Its a gray field.
    can any one let me know whats the reason for not accepting valuation category x while extending the material?

  • How to extend material cross many plants using BAPI?

    Hi.
    when i use BAPI 'BAPI_MATERIAL_SAVEDATA' to extend material cross plants, i can not extent accounting view.
    code as below:
                BAPI_MARC-PLANT = IT_GOUJIAN-WERKS.
                BAPI_MARCX-PLANT = IT_GOUJIAN-WERKS.
                CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
                  EXPORTING
                    headdata            = BAPIMATHEAD
                   CLIENTDATA          = BAPI_MARA
                   CLIENTDATAX         = BAPI_MARAx
                    PLANTDATA           = BAPI_MARc
                    PLANTDATAX          = BAPI_MARcx
                   VALUATIONDATA       = BAPI_MBEW
                   VALUATIONDATAX      = BAPI_MBEWX
                  IMPORTING
                    RETURN              = IT_RETURN.
                 TABLES
                   MATERIALDESCRIPTION = IT_MATERIALDESC.
    i just change the plant data.
    any advice?

    You can extend the material in several plants using
    BAPI_MATERIAL_SAVEDATA
    All you need to do is populate the import parameter
    WA_HEADDATA-MATERIAL
    WA_HEADDATA-IND_SECTOR
    WA_HEADDATA-MATL_TYPE
    and check the views that you want to maintain in the new plant.
    Suppose you want to maintain only Basic view than..
    WA_HEADDATA-BASIC_VIEW = 'X'.
    And based on selected views , you need to populate other
    parameters.
    like I want to maintain basic view in another plant than
    I need to populate the plant data.
    WA_PLANTDATA-PLANT = <PLANT>.
    populate other fields, if required.
    WA_PLANTDATAX-PLANT = <PLANT>.
    populate flags, if required.
    and pass these parameters to the Function module.
    It should work.
    Please reward, if you find the answer useful.

  • Extending Material to new plants - Legal Control

    Hi All.
    I am extending a material to new plants by copying the data froma particular plant.
    Whats happening is for some plants the LEGAL CONTROIL data (Foreign Trade Import view) is automatically getting copied and populated but for some plants it is not.
    What could be the reason?
    Poitns are assured !!!

    Hi , Thanks for the reply.
    But the plants for which data is automatically getting populated , I am selecting only the Foreign Trade view and not all the views.
    Regards

  • T.code for extend material master to  plant

    Hi
    Is there any t.code  (other than mm01) to  extend the material master to plants?
    regards
    sesidhar

    Hi
    RAj
    THANK U so much fro ur information ,,and i want extend to storagelocation...i think it is not possible in MM50 T.code
    in mm50 stor.loc option is not there
    regards
    sesidhar

  • BAPI - To extend material to other plants (z program).

    Dear Friends,
    Please help to know the relevant BAPI can be used for below requirement:
    Material created one plant (Plant1).
    Same has to be extended to other plants (Plant2 & Plant3). Including price and all other data as is needs to be extended. I need to create u2018zu2019 transaction. Please help to know the correct BAPI that I can use.
    Thanks in advance for your help.
    Best regards,
    Lainel.

    Dear Wolfgang Valtin,
    You are right.
    Tested, Working fine.
    Thank you verymuch for your help.
    Resolved my query. Given points- 10.
    Thanks & Regards,
    Lainel.

  • Refurbishment process - want to repair material from another plant

    Hello All,
    In a Refurbishment process, we can do repair either Internal resource(control key PM01) or with External resource(control key PM02) by sending out material to vendor with material outward slip. But in my case, i have to send material to my another plant(2222) for refurbishment & after repair want to take it back to my plant(1111).
    Can you plz guide me over here, how i can achieve this? which are the things need to be taken care? whether any other process(SD-Shipment process) need to involve here?
    Thanks to all in advance.

    Hi,
    you can use standard refurbishment orders and defining your plants and relevent storage locations at header level. just take care of following points:
    - Valuation types are defined for the equipment/ material.
    - movements of material from one plant/Sloc to other plant/ Sloc.
    - operations defined correctly in terms of internal/ external.
    - capture all labour costs in your plant (1111) cost centre related to carrying material from your plant to another plant and back  to your plant.
    - cost centre distribution rules maintained correctly.
    Ragards,
    Lucky.

  • Extending material in new plant

    I have mainteined the mm related views (basic data 1,2,Plnt storage data 1,purchasing accounting)for some materials and want to add FICO related views for the same material.But after gouing to MM02 ,im getting an error msg' Material not fully maintained for this transaction/event'.plz help as soon as possible.

    Hi,
    Some Material views extended through T.code MM50 provide the following input datas are
    Maintenance Status             :    ___ ( select drop down menu & select require material view )
    Material code                       :   ___________
    Plant                                    :   ___________
    after provided input datas and then executed. Now, one line item show and first small box tick mark and press maintenance button. The  view extended to the particular material.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • Extende Material to another warehouse.

    Hello!
    I need to extend a material to another warehouse.
    I think the bapi for that is BAPI_MATERIAL_SAVEDATA.
    Is the correct one? Do you know the parameters I sholud sent to it so the bapi works ok?
    Thanks!

    Yes,
    you got the right BAPI,
    Importing :
    in structure HEADDATA you will need to pass an 'X' to WAREHOUSE_VIEW.
    so it would be like
    HEADDATA-MATERIAL = l_matnr.
    HEADDATA-IND_SECTOR = l_ind_sec.
    HEADDATA-MATL_TYPE = l_matype.
    HEADDATA-WAREHOUSE_VIEW. = 'X'.
    then,
    WAREHOUSENUMBERDATA-WHSE_NO = l_whse. 'Your Whse No
    WAREHOUSENUMBERDATA-STGESECTOR = l_ind ' Indicator for Storage selection
    WAREHOUSENUMBERDATAX-WHSE_NO = l_whse.
    WAREHOUSENUMBERDATA-STGESECTOR = 'X'  'Mark all the change that will happen as 'X'
    Hope this helps.

  • Error while extending material for new plant

    Dear All,
    We have created new plant  through  copying old plant.
    But when I try to extend the material to the newly created plat system giving error message
    Tables TCURM and T001w inconsistent : notify your system administrator
    Msg no M3820
    Diagnosis
    Valuation is at plant level. However, inconsistencies have arisen because of the way in which the plant was configured in Customizing or because plants have not been assigned to a company code.
    kindly help me out to over come this issue as early as possible.
    Regards,
    murali.

    hi
    check following links
    [link1|Tables TCURM and T001W inconsistent; notify  your systems administrator;
    [link2|Tables TCURM and T001W Inconsistent;

  • Extend Material to Different Plant

    Hi,
    Is there any way through which i can extend my materials to other plants. Right now i have materials in plant A, i want the same materials to be available in plant B. One way is through abap upload programs, is there any other way???

    Dear Mithun,
    If it's for a single material then you can create the same material (same material type also) in MM01 using
    Copy from material option and then you can mention in which plant it's to be created and from which plant
    it should be copied.
    Regards
    Mangalraj.S

  • Upload BOM , Work Centre, Extend material to diff plants

    Hi,
    Pl give me idea how to upload bom  from excel to sap system by LSMW.
    Thanks.
    Sanjukta

    Use the TCode LSMW and follow the steps..
    For LSMW tutorial, refer to
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
    http://www.sapbrainsonline.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html

  • Create material in multiple plants collectively!

    Can i create a material in multiple plants collectively??Kindly specify the T Code ASAP.

    hi Gurbir
    Ans is no
    u can extend material to another plant but 1 plant at a time
    Also using LSMW and BDC u can upload material to single plant at one time
    Vishal...

  • How to create PO from one palnt to another plant

    Dear All,
    We need to create new Purchase orders from One plant to another plant. Can you please provide me any suggestions to achive this.
    Main hurdle are: We need to create new PO for the completely open Purchase order for old plant.
    Secondly we need to create PO from old PO which have partial goods receipt and which have equally invoice receipts, so that we can create new PO for the open quanityt and the open invoices.
    I do not see any other case which we can consider to open new PO from the old PO. If there are to consider some please do let me know.
    Secondly we have to extend the materials from one plant to another plant. Issue is we do not know which views are maiantained for materials which needs to be extend also what are the fields filled for each views. In order to avoid extracting the data from table, structuring it and then reload for new plant we are planning to create some program or is there any existing standard program which can extend material from one plant to another.
    One more issue in out plant extension is we have some Z fields in MARC so how we can use that too to extend it to another plant.
    Can you please provide me some suggestions/help on this.
    Thanks.
    Shashi

    Please check this answered link for extending material to another plant through BAPI:
    BAPI to extend material
    If new fields are added to material master, they are applicable at client level, so after extension to new plant, those newly created fields will be available there as well.
    For copying PO's to new plant, you can copy them through ME21n.

  • BAPI to extend material

    Guys,
    What is appropriate BAPI to extend a material to another plant?
    Thanks.
    regadrs Marisol

    Hi,
       Check the BAPI'S
    BAPI_MATERIAL_SAVEDATA
    BAPI_MATERIAL_GET_ALL
    see the sample code
    http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
    Regards
    Kiran Sure

Maybe you are looking for