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.

Similar Messages

  • 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.

  • BAPI to copy a material to other plant

    Hi Forum,
       I need to copy a material from the plant(werks) 2000 to the plant 2300, but i need to use the same material number, wich BAPI can copy this material?
    Thanks in advance,
    John P.

    Hi John,
    Use the BAPI BAPI_MATERIAL_SAVEDATA, but pass the material number in the HEADDATA as well as providing the new PLANTDATA.
    If you supply the material number, it will extend the material, rather than creating a new one.
    Cheers,
    Brad

  • 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

  • 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.

  • 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

  • BAPI to extend material to multiple sales organisation

    Hi Experts,
    I need to know a BAPI for extending a material to multiple sales org. at one go. My requirement is detailed below:
    Suppose an user is providing the details as below:
    Material: 90000038
    Sales Org: 0011, 0022, 0033.
    I need a BAPI where I will pass these values at one go and the material will be extended to sales org. 0011, 0022, 0033. I have used BAPI_MATERIAL_SAVEDATA but of no use. I am not willing to use a BDC in this case where I will loop through the Sales Org. and extending the source material.
    Please help me its urgent.....I will reward points for helpful answers.

    Hi Mylene Euridice,
    Thanks a lot for your valuable response. But I want to implement this in ABAP. So can you or anyone else in the forum help me with a BAPI to do the needful as mentioned in my query.
    Thanks Abir.

  • 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

  • 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

  • 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

  • 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 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?

  • Extending material to other sales area

    Hi,
    Can a material can be extended to a new sales area, which is having enitrely different Sales Org, Dist Ch & Div? If yes, Pls explain.
    Regards,

    Hi,
    Just assign the sales org + Dist. Channel combination to the plant where this material is existing. But remember a material cannot belong to two divisions at the same time. You can fulfilll the requirement by maintaining the sal org, dist chan link to plant.
    Pl reward if it helps.
    Thanks & Regards
    Sadhu Kishore

  • 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

  • Material extension to other plants

    Hi,
    Is there any easy way to extend material to other plants in
    SAP R/3.
    Regards,
    Fawaz

    Sorry I should have been more precise.
    For Mass Extension of Material to a plant.....
    Has anyone made a Z prog for doing the same....
    Regards,
    Fawaz

Maybe you are looking for