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.

Similar Messages

  • Creation of Material for multiple sales organizations

    Hello,
    is there a way to create a material for one sales organization and that this material can easily be copied
    to other sales organisations? Now it takes a lot of time to create the materials for different sales organizations with
    transaction MM01. Thanks in advance,
    Ivo

    is 5 seconds a lot of time?
    make use of copy from fields in MM01 initial screen, enter as copy from material the material number you want enhance with a new sales org view.
    At the organisation pop-up make sure you enter the copy from sales org and plant on the right.
    next step is just to go into the material and click save button.

  • 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

  • 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

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

  • Extend customer to multiple company codes and mutliple sales organisations

    Hi,
    Customers with only general info. are getting created from CRM system to SAP ECC. Now we extend the same customer to differnt company codes and different sales organisations.
    When I checked the BADI, CUSTOMER ADDDATA, in this S_KNA1, S_KNB1, S_KNVV structures are there only. So is it possible to extend it to mutiple company codes at the same time.
    It is mostly appreciated for early response.
    Thanks,

    Hi,
    You can use fm SD_CUSTOMER_MAINTAIN_ALL to extend customer to sales are and company code.
    Using this fm you can maintain all customer master data.

  • BAPI or FM to get open sales orders to material like TC VA05N

    Hi,
    i'm searching for a bapi or fm to get a list with all open sales orders to a material like the tc va05n this do. Maybe some of you know such a bapi or fm.
    I tried the fm SD_SELECT_SALES_DOCUMENTS but i don't get the result i hoped.
    Would be happy if someone could help me.

    Hello Alexander,
    To get Open Sales order has VA05N use the Function Module
    RV_SALES_DOCUMENT_VIEW_3
    We need to pass value to the Importing parameters VBCOM
    To get the open sales order
    VBCOM-VKORG = sales organisation
    VBCOM-ZUART  = 'A'
    VBCOM-TRVOG = '0'
    VBCOM-STAT_DAZU = 'X'
    VBCOM-NAME_DAZU = 'X'
    VBCOM-KOPF_DAZU = 'X'
    VBCOM-VBOFF = 'X'
    VBCOM-AUDAT = Begin Date
    VBCOM-AUDAT_BIS = end date
    By passing this variable you will get the all open sales for given sales organisation and given date.

  • Extend Material Master - Sales Org.

    Hi,
    I want to copy the material from one sales org. distribution channel to another sales org. distribution channel. My doubt is I want to use BAPI_MATERIAL_SAVEDATA. But how to use this??
    Because that material is not present in the target sales org. distribution channel, so for that I have to copy all the views except sales view using BAPI_MATERIAL_GETALL then pass to BAPI_MATERIAL_SAVEDATA.
    In this the problem is.. I have to map all the fields between these BAPI. So is there any easy way to do this?
    Can anyone have similar requirement like this which can share??
    Thanks,
    Regards,
    Jhings.
    Edited by: Jhings on Mar 7, 2012 7:26 PM

    Check these threads about the mandatory fields for your requirement:
    BAPI_MATERIAL_SAVEDATA extend for new plant whats necessary
    Extend material using bapi_material_savedata
    About transfer the material data from BAPI_MATERIAL_GETALL to structures to be used on BAPI_MATERIAL_SAVEDATA, i think that MOVE field by field is the better way once there won't many fields to be populated.
    Felipe

  • Extending material master for different sales org/plant combination

    hi ,
    1 ) a material can be sold from one plant by many sales organisations. so we map this scenario in enterprise structure by the config step "assign sales org--dist channel--
    plant ". (let's say sales org A and B  selling from plant 1 and also sales org A selling from plant 2)
    when we have defined the above config step, then why we need to have material master extended for different combination of sales org and plant as in stpe 1 ?. we can just create one material master with one plant and sales org combination and based on config as in step one, we can sell material from any sales org from a plant  ?
    2) we can extend  material master for any combination of sales org/plant .....is it also possible to extend material master to different storage locations !
    regds
    pamela
    Edited by: Pamela79 on Feb 15, 2011 11:02 AM

    There are several reasons why you should extend the materails to different sales organizations and plants.
    a. The materials are normally valuated at the plant level. So, you can have different valuations at different plants.
    b. You can have different quantity stored in different plants. How do you know which plant has what quantity.
    c. You can have materail not to be sold from one plant, but you can have the same materail sold from the other, how do you block it? at the plant and materail combination, you can do it.
    d. For different sales organizations, you may want the cost and the price to be posted to different GL accounts. You can control it at sales org level of the materail.
    e. You may just want the material to be purchased but not sold, then you may not even create a sales org view for the material. But say, in future you will like to only purchase a materail from a plant and consume it for some other purpose but not sales (which u did previously), then you can block it at sales org and dbr level.
    So, these are a few reasons. But there could be many. You can have a look at the fields in the material master at sales org level and plant level and you can find it for yourself howmany parameters are there to control...
    Hope this helps...
    Regards,
    Mukund S

  • Sample values needed for Customer Number And Sales Organisation in BAPI

    Hi Experts,
        I want to execute the Bapi BAPI_SALESORDER_GETLIST with mandatory parameters such as Customer Number & Sales Organisation .
        How would I come to know what values to enter for Customer Number & Sales Organisation inorder to get some Output in the form of table SALES_ORDER.
        Can you ll help me with some sample values which I can enter to get some useful output.
        And what is the logical way to go inorder to test such BAPIs in future.
    Thanks in Advance,
    Pavanmeet Singh

    Hi,
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
    EXPORTING
    customer_number = cust
    sales_organization = sorg
    MATERIAL =
    DOCUMENT_DATE =
    DOCUMENT_DATE_TO =
    PURCHASE_ORDER =
    TRANSACTION_GROUP = 0
    PURCHASE_ORDER_NUMBER =
    IMPORTING
    return = it_return
    TABLES
    sales_orders = salesorder_itab.
    Regards
    Sudheer

  • Copy/extend material function module or bapi

    Is there a simple way to copy/extend a material from one sales org/plant/dist channel to another with a series of function modules or bapi function modules?

    Hi,
      Check out the following BAPI's:
    BAPI_STANDARDMATERIAL_CREATE
    BAPI_MATERIAL_EDIT
    BAPI_MATERIAL_SAVEDATA
    Thanks.

  • Can sales organisation be cancelled in a material master

    I  am working for a foreign client where i have extended material in a wrong sales organization . Now i want to lock the material for that sales organization only , so that no changes can be done to the material master using the aforesaid distribution chain , no sales order , and billing can  generate using the material with the wrong distribution chain.
    Thanks in advance.
    Sanjib

    Hello Sanjib,
    I suggest that in order to avoid of any sales order for that material with respect to sales organisation, you need to activate total BAN under distribution status.
    Check whether if you maintain sale statuses and if not You need to first define sales statuses under folowing customization path:
    SPRO>>Logistics - General>>Material Master>>Settings for Key Fields>>Data Relevant to Sales and Distribution>>Define Sales Statuses
    Then,Go to MM02>>Enter the material number & Plant
    Now go to Sales organisation View-1;
    Enter your relevant sales organisation and under DChain-spec. status mark it for Total Ban and fill the valid from Date there
    So that no sales order will be created for this material with respective to that relavant sales organisation
    BR,
    Tushar

  • Extending the material to multiple plants

    Hello Experts,
    I am trying to extend the material to multiple plants and storage locations based on the source material storage locations.
    I am retrieving the data from mard and marc table to check whether that material is already got extended to the given plant.
    I am putting one check in the program to check the material is extended to given plant or not? If the material is already extended then i need to check whether it got extend to the given plant and storage location combinations.
    Can anyone give me some idea how to go with it...
    Here I am giving piece code where I got stuck.....
      READ TABLE RT_MARC
                   TRANSPORTING NO FIELDS
                   WITH KEY MATNR = LW_DATA-MATNR
                            WERKS = LW_DATA-IBL
                                     BINARY SEARCH.
        IF SY-SUBRC = 0.
          MESSAGE I468 WITH LW_DATA-MATNR LW_DATA-IBL.
          CLEAR : LW_DATA.
          CONTINUE.
        ENDIF.
    In IT_MARC I am getting the storage locations related to the source material for the given plants. How to verify this to check of the target plants with the combination of storage locations.
    In the above code after sy-subrc = 0 I need to check for the storage location combination also. I can't retrive the storage locations related to the target plants intially into IT_MARC.
    Waiting for your response.

    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

  • Material master deletion for a particular sales organisation

    Hi,
    I want to delete all the material master which are created in a particular sales organisation.
    Means user should be able to create sales order with that material nor user able to bill the existing sales order of that material.
    Regards,
    SATYA

    Hi,
    First open the material master with the Sales organization you want to block. Go to Sales:Sales org. 1 View.
    (1) In X_ distribution Chain status field enter the value "12- sales not allowed"
    (2)D.Chain-Spec Status field , enter the value "12- sales not allowed".
    Enter the Valid from Date against both the above mentioned fields from when you do not want to bill for that particular Material for a sales organization.
    Thanks and Regards,
    Neeraj Saini
    Idhasoft

  • Add sales organisation to existing material

    Hi.
    I need to expand the sales organisation for an already existing material. I knew the process but have not used it in a while so now it's forgotten but I know it is possible.
    Any clues?
    Ryan

    Dear Ryan
    Go to MM01, give the existing material code and also in "Copy from".  Now select the "Organisational levels" tab so that you can see a comparative screen wherein on the left side you have to define in which sales organization, you would like to create the material.  Enter the same and save.
    Thanks
    G. Lakshmipathi

Maybe you are looking for

  • Bug report: on LabVIEW 2011 SP1 and Windows 8 'Open URL in default browser.vi'

    Dear colleagues, Here is a bug report. Culprit: 'Open URL in default browser.vi'. System: Windows 8, Professional. LabVIEW 2011 SP1. Abnormal behaviour and steps to reproduce: Above mentioned VI doesn't work when LabVIEW was started with administrato

  • Accounting document Printing

    Hi I am running program (SA38) for printing accounting documents and ledger details using program name /SMB14/SE38_P001_J03. However on execution, system is throwing a dump saying that the smart form/functional package is not available for printing. 

  • How to know client no.

    We have to clients 410-production and 400 production when some request come from functional consultant we tranport it 410 first and then on production. Now when i check the logs in stms for a tp request wheather its got transported there it shows the

  • MDM - Import Repository schema

    Hi all, Have any one tried "Import Repository Schema" operation in MDM Console ? I want know the purpose and how this works. Please provide me the materails if you have any. Thanks in advance.

  • Basic cluster question related to switches.

    Hi all, Id like to speak with someone where could be problem. We have configured switches 2950 and 3560 to make cluster..command cluster member and cluster commander ... Our 3560 is commander. Problem is that commander rewrote hostnames of members. B