LSMW datamigration material master with multiple distribution channels

Hi,
We plan on using the LSMW to migrate our customer's material master to a ECC 6.0 system.
Currently we use the BMM00 and BMMH1 structures, but there I can specify only one distribution channel.
Does anyone know how to include multiple distribution channels in LSMW material master migration?
Thanks in advance for your support.
Edited by: Mohammed Qasim Malik on Jan 21, 2008 10:01 AM

you need an extra record in your source per distibution channel.
Alternative you can create the extra record with a small Abap  code in LSMW in section __END_OF_RECORD__
There you habe in standard the code:
transfer_record.
just add after this statement a statement that gets the additional wanted distribution channel into the  distribution channel field.
BMM00-VTWEG =  'xx'.
transfer_record.

Similar Messages

  • LSMW with multiple distribution Channels

    Hi,
    We plan on using the LSMW to migrate our customer's material master to a ECC 6.0 system.
    Currently we use the BMM00 and BMMH1 structures, but there I can specify only one distribution channel.
    Does anyone know how to include multiple distribution channels in LSMW material master migration?
    Thanks in advance for your support.

    you need an extra record in your source per distibution channel.
    Alternative you can create the extra record with a small Abap  code in LSMW in section __END_OF_RECORD__
    There you habe in standard the code:
    transfer_record.
    just add after this statement a statement that gets the additional wanted distribution channel into the  distribution channel field.
    BMM00-VTWEG =  'xx'.
    transfer_record.

  • LSMW for material master upload

    Hi gurus
    i have one problem while uploading material master with LSMW.
    I have murged 2 company codes in one so while creating material master system is asking me tax classification data in sales view for 2 country sales org and distrubition channel. I am using sap std LSMW for material master creation.
    system is giving me error as " tax classification data not maintained completely".
    need your valuable help to solve this problem

    Tax classification data is mandatory field in Sales view of MM01.
    Check out you mapping for the tax classification fields. usually classification value is 0 OR 1.
    You can first test the values in MM01 Sales View with the legacy data you have and this way you will able to find the mandatory fields also and can see the valid values for the fields.
    Remember you may have more than one Tax Classification values depending on the country code.
    For that you can add those many columns in legacy data file and map them.
    Hope it helps.

  • LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA -Adding Custom Fields

    Hi Gurus,
    I'm developing LSMW for Material Master Upload using BAPI method.
    Object:BUS1001006
    BAPI:BAPI_MATERIAL_SAVEDATA
    MESSAGE TYPE: MATMAS_BAPI
    BASIC TYPE : MATMAS_BAPI03.
    There is a requirement to use/map a custom field. Upon research custom field can be added to the parameter EXTENSIONIN and EXTENSIONINX, but I have no Idea on how to do it with LSMW. Please advise what approach is needed.
    Thanks and Regards,
    Jay

    Hi Gurus,
    I got the following code below.
    The custom field won't get updated.... Please advise on what should I do... I've checked different forums and still can't come up with the solution... Please advise..
    REPORT ztest_extend_matmas1.
    STRUCTURE
    TABLES:
    bapimathead, "Headerdata
    bapi_mara, "Clientdata
    bapi_marax, "Clientdatax
    bapi_marc, "Plantdata
    bapi_marcx, "Plantdatax
    bapi_makt, "Material description
    bapiparex, "Extensionstruktur
    bapiparexx,
    bapiret2. "Return messages
    DATA:
    bapi_te_mara LIKE bapi_te_mara,
    bapi_te_marax LIKE bapi_te_marax,
    v_file TYPE string.
    INTERNAL TABLE
    *to store the output data
    DATA:BEGIN OF it_material_number OCCURS 0.
            INCLUDE STRUCTURE bapimatinr.
    DATA:END OF it_material_number.
    *for materialtext
    DATA:BEGIN OF it_materialdesc OCCURS 0.
            INCLUDE STRUCTURE bapi_makt .
    DATA:END OF it_materialdesc.
    *für z-feld
    DATA:BEGIN OF it_bapiparex OCCURS 0.
            INCLUDE STRUCTURE bapiparex.
    DATA:END OF it_bapiparex.
    *für z-feldx
    DATA:BEGIN OF it_bapiparexx OCCURS 0.
            INCLUDE STRUCTURE bapiparexx.
    DATA:END OF it_bapiparexx.
    *to return messages
    DATA:BEGIN OF it_return2 OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA:END OF it_return2.
    DATA:BEGIN OF it_return OCCURS 0.
            INCLUDE STRUCTURE bapiret1.
    DATA:END OF it_return.
    DATA
    lt_messages      TYPE bapiret2_t.
    PROCESSING
    *bapimathead-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    bapimathead-ind_sector = 'P'.
    bapimathead-matl_type = 'AEM'.
    bapimathead-basic_view = 'X'.
    bapimathead-purchase_view = 'X'.
    bapimathead-inp_fld_check = 'I'.
    *bapimathead-BASIC_VIEW = 'X'.
    *bapimathead-SALES_VIEW = 'X'.
    *bapimathead-PURCHASE_VIEW = 'X'.
    *bapimathead-MRP_VIEW = 'X'.
    *bapimathead-FORECAST_VIEW = 'X'.
    *bapimathead-WORK_SCHED_VIEW = 'X'.
    *bapimathead-PRT_VIEW = 'X'.
    *bapimathead-STORAGE_VIEW = 'X'.
    *bapimathead-WAREHOUSE_VIEW = 'X'.
    bapi_mara-matl_group = '0001'.
    bapi_mara-old_mat_no = '100-251'.
    bapi_mara-base_uom = 'ST'.
    bapi_marax-matl_group = 'X'.
    bapi_marax-old_mat_no = 'X'.
    bapi_marax-base_uom = 'X'.
    bapi_marc-plant = '1000'.
    bapi_marcx-plant = '1000'.
    it_materialdesc-langu = 'EN'.
    it_materialdesc-matl_desc = 'DESC'.
    APPEND it_materialdesc.
    *bapi_te_mara-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_mara-zzforst = '4148'.
    bapi_te_mara-material = '100-2520'.
    bapi_te_mara-zzmar_field1 = '4148'.
    *bapi_te_marax-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_marax-zzforst = 'X'.
    bapi_te_marax-material  = '100-2520'.
    bapi_te_marax-zzmar_field1 = 'X'.
    it_bapiparex-structure = 'BAPI_TE_MARA'.
    it_bapiparex-valuepart1 = bapi_te_mara.
    APPEND it_bapiparex.
    it_bapiparexx-structure = 'BAPI_TE_MARAX'.
    it_bapiparexx-valuepart1 = bapi_te_marax.
    APPEND it_bapiparexx.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        headdata            = bapimathead
        clientdata          = bapi_mara
        clientdatax         = bapi_marax
        plantdata           = bapi_marc
        plantdatax          = bapi_marcx
      IMPORTING
        return              = it_return2
      TABLES
        materialdescription = it_materialdesc
        extensionin         = it_bapiparex
        extensioninx        = it_bapiparexx
        returnmessages      = lt_messages.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    THanks and Regards,
    Jay
    Edited by: jhayyy on May 17, 2011 6:54 AM

  • Material Block in a Distribution Channel

    Hello,
    I want to block a material in a particular distribution channel, so that I will not be able to create any sales order for that material in that distribution channel.
    I had marked the material for deletion through MM06 in the required sales org and distribution channel. But the system is not stopping me to create sales orders and then the delivery documents.
    Could you please advise me how to tackle this situation.
    Regards
    Ritam

    Go to material master and select Sales: sales org.1 view.  There you can see a field "DChain-spec. status".  Assign 01 there and save.
    Now go to OVSU, select "01" and click on blue lens on top so that you will see some list of tabs.  In that maintain "B"   for "Block for order"  field.
    thanks
    G. Lakshmipathi

  • Sales order with different Distribution channels

    Hi experts,
    how can i create a sales order with different distribution channels.
    I mean item level 10 = one distribution channel.
    Item level 20 = another distribution channel.
    also in Item level 30 also.... is it posible .?? how can i create ??
    because we have the material in different distribution channel in differen plant with different price ..
    Thanksin Advance,
    Anthyodaya.

    Hi Anthyodaya,
    As already answered by others, the distribution channel is only on header level(VBAK), so it is not possble to have different distribution channels in one sales order.
    Could you please consider using different division?
    Item division could be different than header.
    Go->item->Sales B->Division
    Hope it helps.
    Best regards,
    Smile

  • Report For list of material Master with PO text

    Hi all,
    I need a report whether it is available in Standard SAP or a customized, for List of Material Master with their PO text.
    If any one can help, please reply to this theard.
    Regards,
    Kapil Kulkarni

    To get the material number combined with the PO text you will need the help of an ABAP programmer.  The programmer can create a report for you using the function module READ_TEXT in the function group STXD.  The tables to use are:
    STXH - STXD SAPscript text file header
    STXL - STXD SAPscript text file lines
    The selection screen should have at least the following:
    OBJECT - STXH-TDOBJECT
    NAME - STXH-TDNAME
    LANGUAGE - STXH-TDSPRAS
    TEXTID - STXH-TDID
    You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header.  For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST.  You can use this program to get long text in lots of places like information records, purchase order texts, etc.
    Hope this helps.

  • Issue in LSMW for material master using standard input program RMDATIND!!

    Hello guys,
    I have a issue in LSMW for material master.
    I have a custom field in MARA table. which I want to add in my LSMW.
    I added the field in BMMH1 structure. I'm passing the value to this field, But it is not populated in the table when I run it.
    Is there anything else I need to do apart from addition of field in the structure BMMH1.
    Thanks in advance for your help.
    Regards,
    Sumeet....

    see oss note 44410, it gives you a step by step overview.
    https://service.sap.com/sap/support/notes/44410

  • Master with multiple details

    (JHeadstart release 10.1.2.) I can make a master with multiple detail pages work (displayed on the same page or different pages), except under one condition. Assume the following situation:
    Master: View object A based on entity A
    Detail 1: View object B based on entity B with a modified WHERE clause
    Detail 2: View object C based on entity B (yes, same entity object as view object B) with a WHERE clause different than the one for view object B
    A one-to-many view link exists between view object A and view object B, and another exists between view object A and view object C. The query for each of the view objects is standard (i.e., no expert-mode queries). The master and the two detail view objects (via their respective view links) are assigned to an application module.
    I created a JHeadstart application structure file for the application module with Struts and UIX. I added view object A as the top group (table-form layout). I next added view object B as a detail group (form layout, same page) beneath view object A. I finally added view object C as a detail group (form layout, same page) beneath view object A (i.e., parallel to view object B). The module generated and built cleanly.
    I ran the application, entered a master record, and saved the data. When I pressed the button to create a new record for detail 1 (view object B), fields appeared for the pages for detail 1 and detail 2 (view object C), not just detail 1. Also, the value of the Descriptor Attribute from the master record that linked it to the two detail pages populated the corresponding field in both of the displayed pages for the detail records.
    This behavior does not occur if view object C (detail 2) is based on an entity different than view object B. Will JHeadstart allow a master to have multiple details where the details are based on the same entity object? Thanks.
    Ray

    Ray,
    Unfortunately I cannot reproduce the problem. I filled in the A, B and C using a scott/tiger schema as follows:
    A: Departments
    B: All employees having a salary < 1000
    C: All employees having a salary >= 1000
    Then I created an application module with one group having two subgroups everything same page, just like you specified. Everything seemed to work fine. Do you have any idea what's different in your situation.
    Aard-Jan van Kesteren
    JHeadstart Team
    Oracle Consulting

  • Examples of Master with multiple details

    Hi Leo,
    I want to create Master with multiple details
    I have been trying for the similar example (Master with multiple details) for long time.
    It seems in the following link, you have mentioned that you have done such examples.
    Examples/Demos of APEX applications with Master with Multiple Details.
    Can you please share the solution to my emaid address [email protected]
    Or can anybody help me to get such solution with examples step by step.
    I would highly appreciate for any help.
    Thanks.

    Ok, so here's the rundown.
    Create a page with one "master" html region. In that region create your standard text/date/etc. items. Make sure that one of these is a hidden key field that is the key linking the master and details portions. Use a calculation to pre-populate the field from a sequence (or whatever uniqueness generator you choose). It is important to generate this key up front for the processing.
    Next I created one report region for each detail table I wanted to link in. Make sure to count the total number of fields you want to work with and that the total is LESS than 50. This is critical. The report should be selecting the columns from APEX_COLLECTIONS for display and manipulation on the screen. It is best to explicitly associate these to the Javascript column numbers now. I used a process to pre-populate my detail entry areas with default values for ease. I also included a button to add a row to each area, but you have to be careful here to use a good combination of form attributes so that the page refreshes don't SUBMIT yet.
    Once you have a report region generated from APEX_COLLECTIONS, you have to create the update processes that pull the information from the user modifications into the collection. This is the trickiest part of the whole thing. You have to use the APEX_COLLECTION.UPDATE_ITEM method, and you have to refer to the JavaScript column numbers for the source value and the collection column number for the destination. It is really easy to get these confused - I advise putting this all into a document or on a whiteboard for reference.
    Once you have the update processes written (I prefer writing one update process per detail section), write your processes to write the data to the database. Again, I suggest one process for each detail table. Trigger them to fire on submit.
    I also suggest creating a debug page to display all of the various collections and to help keep things straight. Once you have one detail area working, it is easier to get the others working.
    If you need actual code snippets, let me know and I'll see what I can do.

  • How to create a material master with referrence to exsisting material maste

    hi experts
    how to create the material master with reference to an existing material master ?
    please explain in steps
    regards
    jai

    Dear,
    It is very simple.
    Enter  MM01 t-code.
    Enter your existing material code in field of reference material code.
    If your material number range is external number range then enter number of material otherwise direct enter industry sector and material type.
    After enter basic detail system ask you plant/storage location detail and view detail.
    Select reference plant and storage location in left sight of diglog and enter plant and storage location in right sight of diglog screen for which you want to maintain material master.
    Then click on all view, If you want to change some detail change it.
    Due to reference material all detail is come from reference material.
    Then click on save.
    NOTE: - You can create new material with reference of old material but it is prerequest material type should be same of both material old and new.
    Regards,
    Mahesh Wagh

  • Export MXF with multiple audio channels for broadcast

    Hi,
    I work at a broadcast company as an editor. We always used FCP with the free sony xdcam plugin to export. This plugin seems to be one of the rare ways to export an MXF with 4 audio channels. I don't know exactly why we need to export it for broadcasting with 4 audio channels, but we do.
    Since our workload has grown enormously the last few months and it will only become more we are optimizing our workflow. We also work with a lot of different endboards in After Effects and we made a nice template to work with. And since AE and Premiere can make a dynamic link we are considering changing from FCP to Premiere.
    Now comes the question!: The only obstacle we could not find an answer to is exporting it with 4 audio channels as an MXF from Premiere CS5. Will there be some development on this level regarding CS6?
    A solution to this should save us a lot of time!
    Any help will be highly appreciated!
    I also attached an example for the usual MXF files we export

    I have the same problem. I have a project with multiple audio channels and I want to export them as individual channels in a MXF-file.
    Method:
    When I created a new sequence I choose "Multichannel" from the "Tracks" page. When I export the MXF OP1a, I choose 8 channels from the "Audio" page. None of the channels are muted.
    Result:
    The rendered file contains 8 channels, but only the first two channels contains any audio (main left + right), the rest of the channels are empty. Channel 1 and 2 contains the audio from all channels, but I want the channels to be seperated in the same way as they are layered in Premiere.
    I don't understand your answer to wleoni75's question. Could you please help me further?

  • LSMW for Material master data

    Hi,
    Anybody can help me, how to make LSMW for Material master data.
    Thanks in Advance
    Arjun

    pls follow the thread:
    http://help.sap.com/saphelp_46c/helpdata/en/f6/ca0766a7a911d1950500a0c930e0da/frameset.htm
    regards,
    indranil

  • LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA

    Hi Gurus,
    Im trying to develop lsmw for material master upload using bapi method.
    Object:BUS1001006
    BAPI:BAPI_MATERIAL_SAVEDATA
    MESSAGE TYPE: MATMAS_BAPI
    BASIC TYPE : MATMAS_BAPI01.
    I m unable to find parameters to load gross_weight volume and volume unit and also problem loading the custom fields of material master. Any body who has worked on this one, can you please help me.
    Thanks
    venkat

    The BAPI_MATERAIL_SAVEDATA support the gross_weight or the volume via the tables UNITSOFMEASURE and UNITSOFMEASUREX.
    eg.
    UNIT_OF_WT =KG
    ALT_UNIT = PCS
    NUMERATOR = 1
    DENOMINATR =1
    GROSS_WT =1000
    All the customer specific field are supported by the EXTENSIONIN and EXTENSIONINX tables.

  • Mandatory in material master with material type wise

    Dear all
    Is it possible to make a field mandatory in material master with material type wise?
    kindly help

    Hi
    See the below config
    Check in OMS2 for your material type for "field reference". then
    Spro>logistics general>Material master-->field selection.
    Here you need to group required fields under one field selection group. then in Maintain field slection for data screen, you can make Field group madatory for the field reference (material type)
    If required take help from MM consultant
    Regards
    Antony

Maybe you are looking for

  • Phone control but CSFs not even Registering

    So I have a lab set up where I have two clusters that do not interact at all other than I use the laptops to talk to both clusters. I have two laptops with two different version of jabber installed. They are both point to cluster b.  The jabber clien

  • I am having trouble importing jpegs shot on my Canon EOS Digital Rebel XTi

    I have about 1000 jpegs that i need to import into FCP. A few specs to start off with. I am working on FCP 7.0 and a brand new MacBook Pro. I have had this camera for about 4 years and have not had a problem importing the jpegs into my old laptop and

  • Aperture doesn't display some managed masters

    My Aperture 3.5.1 library has 11,000 referenced masters plus  1000 managed masters (mostly images saved from shared photo streams). Recently, Aperture has started listing some of the managed masters as missing. I replace them from backups but then ot

  • Java API to fill in a MS Word file template

    Ola, Please help me on the following topic: I need a kind of Java API which allows me to read Ms Word 2003 .doc files, replace a few strings/keywords and save the doc back. Ideal feature would also be to allow me in the end to convert to TXT or RTF,

  • How do I keep McAfee from being downloaded when I update Acrobat?

    How do I keep McAfee from being downloaded when I update Acrobat?  I'm being spamed by Acrobat!