Extending the material

Hi All
If I have to extend a material to a view I think tcode mmo1(create/extend a material) is used then what about tcode mm50? what is the main difference between those?

Sam,
You can use either MM01 or MM50 to extend the material to a particular view that has not been maintained provided that view is allowed for the material type of the material in config (OMS2).
The difference between the two transactions is that MM50 is a report that is normally used for 'mass' extension of materials based on the criteria you enter on the selection screen. In MM01, you can obviously extend the view only for a single material. It must also be noted that the MM50 program internally makes a call to the MM01 transaction. So in terms of the mechanism of extension, there is not much of a difference.
Hope this helps.
H Narayan

Similar Messages

  • Extending the Material Master

    Hi all,
    I've extended the material master for mara with 3 ZZ fields. I've added these fields to BAPI_TE_MARA/X and am using EXTENSIONIN/X with BAPI_MATERIAL_SAVEREPLICA to create the material.
    This has  been unit tested and until recently this was working OK, the MM was created  along with the mara being popluated with the ZZ fileds and these were showing on the basic data 1 tab of the material master.
    Nothing has changed. I can see the data in extension/x for the ZZ fields being passed to BAPI_MATERIAL_SAVEREPLICA, the MM is created OK still but no ZZ fields are populated in mara and no data displayed in MM03.
    A bit vague I know but has anyone any suggestions?
    Thanks, Mark

    Hi Mark,
    You need to modify internal table TMARA_UEB. When you enhance MARA table with Zfields, you can't use standard SAP BAPI. I copied Bapi_material_save data and modified internal table TMARA_UEB. this internal table will have all zfields, you added in MARA. but not BAPI_MARA. you have import MARA append structure to the BAPI.
    At the end it calls SAP standard function "Material_maintain_dark".
    I enhanced Material master extensively and it worked for me. give a try.
    Thanks
    Hari

  • 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

  • Extend the material in all plants

    hi experts,
    can u explain, how to extend the material number in all plants at a time..

    Hi,
    You can use the LSMW for extend the material to all the plants at a time. We have more than 10 plant, we have to extend the one material to 10 plants, 6 sales organization and 4 distribution channels. Through LSMW we will upload at a time.
    Reg/ Shankar G.

  • Extend the material for the storage location in mass.

    Hi,
    Can any genius let me know how can I extend the material for the storage location in mass.
    Currently our support team doing it by trx MMSC, but now we required to extend the materials for storage location in mass for which MMSC is to lengthily
    Is there any other way apart LSMW for MMSC.
    Regards,
    Shyamal.

    hi
    did u tried mass
    try this
    go to MASS
    then select BUS1001
    go to plant data for material  execute
    click on data records to be creatd
    then add material in field
    then select  select field button and add storage for extrenal procurement then there u will find on filed for external proc
    now do mass change
    reward if helpful
    regards
    kunal

  • Extend the material

    Hello Experts,
    I m totally new for BAPI.
    My req is to extend the material of type "Raw Material",in which I have to select view Basic Data1,
    Basic Data1,Purchasing, Purchase Order Tex,MRP1,MRP2,MRP3,MRP4,Forecast.
    I search sdn, I got to know this can b achieved using BAPI_MATERIAL_SAVEDATA,
    Can anybody provide some hint or code for the same.
    Ravi

    hi,
    Refer to the link.
    http://abaplovers.blogspot.com/2008/06/sap-abap-creating-material-using-bapi_02.html
    Re: BAPI Material Creation
    Regards
    Sumit Agarwal

  • Extending the material of an existing plant in a company code to new plant.

    Hi,
    I am trying to Extend the Material from Plant 1000 to 2000 Using BAPI : MATERIAL_MAINTAIN_DARK .
    But it is not extended to Plant 2000.Please check the following code and correct me.
    REPORT  ZEXTEND_MATERIAL1.
    TABLES: MARA,MARC,MARD.
    DATA: AMARA_UEB     TYPE TABLE OF     MARA_UEB,
               WA_MARA TYPE MARA_UEB,
          AMARC_UEB     TYPE TABLE OF     MARC_UEB,
          WA_MARC TYPE MARC_UEB,
          AMARD_UEB     TYPE TABLE OF     MARD_UEB,
          WA_MARD TYPE MARD_UEB.
    DATA: MATNR_LAST  LIKE  MARA-MATNR,
          NUMBER_ERRORS_TRANSACTION LIKE  TBIST-NUMERROR.
    DATA: idx TYPE sy-tabix.
    DATA: P_KZ_NO_WARN  LIKE  RMMG08_012-MSGTYP,
          KZ_PRF  LIKE  RMMG08_012-MSGTYP.
    PARAMETERS: P_MATNR TYPE MATNR.   "Material Number
    PARAMETERS: P_WERKS TYPE WERKS_D. " Existing Plant
    PARAMETERS: P_NWERKS TYPE WERKS_D. " New Plant
    PARAMETERS: P_LGORT TYPE LGORT_D. " Storage Location
    START-OF-SELECTION.
    * Clear the Workarea
      CLEAR : WA_MARA,WA_MARC,WA_MARD.
    * Refresh the Internal Tables
      REFRESH: AMARA_UEB,AMARC_UEB,AMARD_UEB.
    * MARA Table
      SELECT SINGLE * FROM MARA INTO CORRESPONDING FIELDS OF WA_MARA WHERE MATNR = P_MATNR.
      IF SY-SUBRC = 0.
      WA_MARA-TCODE = 'MM01'.
      WA_MARA-TRANC = '0000000001'.
      APPEND WA_MARA TO AMARA_UEB.
      ENDIF.
    * MARC Table
      SELECT SINGLE * FROM MARC INTO CORRESPONDING FIELDS OF WA_MARC WHERE MATNR = P_MATNR AND WERKS = P_WERKS.
      IF SY-SUBRC = 0.
        WA_MARC-WERKS = P_NWERKS.
        WA_MARC-TRANC = '0000000001'.
        WA_MARC-PSTAT = SPACE.
        APPEND WA_MARC TO AMARC_UEB.
      ENDIF.
    * MARD Table
        SELECT SINGLE * FROM MARD INTO CORRESPONDING FIELDS OF WA_MARD WHERE MATNR = P_MATNR AND WERKS = P_WERKS AND LGORT = P_LGORT.
       IF sy-subrc = 0.
        WA_MARD-WERKS = P_NWERKS.
        WA_MARD-TRANC = '0000000001'.
        APPEND WA_MARD TO AMARD_UEB.
       ENDIF.
    * Call the Function Module MATERIAL_MAINTAIN_DARK.
          CALL FUNCTION 'MATERIAL_MAINTAIN_DARK'
            EXPORTING
              P_KZ_NO_WARN                    = 'I'
              KZ_PRF                          = 'W'
            IMPORTING
              MATNR_LAST                      = P_MATNR
              NUMBER_ERRORS_TRANSACTION       = NUMBER_ERRORS_TRANSACTION
            TABLES
              AMARA_UEB                       = AMARA_UEB
              AMARC_UEB                       = AMARC_UEB
              AMARD_UEB                       = AMARD_UEB
           EXCEPTIONS
             KSTATUS_EMPTY                   = 1
             TKSTATUS_EMPTY                  = 2
             T130M_ERROR                     = 3
             INTERNAL_ERROR                  = 4
             TOO_MANY_ERRORS                 = 5
             UPDATE_ERROR                    = 6
             ERROR_PROPAGATE_HEADER          = 7
             OTHERS                          = 8.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
          COMMIT WORK.
          ENDIF.
    Thanks
    Bhuvana
    Edited by: Matt on Nov 26, 2010 10:04 AM - added  tags

    Hi,
    This function module used in many standard reports.We can see goto sm37->give the function module name->then click on the
    where used list button on application toolbar u can get the more information regarding that function module.
    RMMM000,L1001UEBU01
    I thing we can get some information.
    regards,
    muralii

  • Extend the Material Code from One Business Area to other Business Area.

    Dear All,
    I have create some material codes in a business area XYZ with Storage Location AA11 in Company code ABC. There is another business area PQR with Storage Location BB22 in Company code ABC. How can I extend the Material Codes of the Business Area XYZ with Storage Location AA11 to Business Area PQR with Storage Location BB22 through LSMW.
    I am waiting your reply.
    Regards,
    Hemang

    To extend material masters you can use anyone of the  SAP given import methods in LSMW.
    But I am a bit confused with the terms you are using, what do you mean by business area? and a material master is not created per company, the company is not among the organisation levels.
    Are you talking about plant and sales area?

  • How to extend the material in the material master?

    hi all gurus
    i have to change and add the MRP tabs in the existing material which is not availble in the material. so, how can i add it in the master data.
    thnx in advance.
    rgrds,
    rajesh

    Hi
    U can do with MM01 to extend the matl master to another plant ...
    If u specific to MRP tabs n the fields... If u r using MRP profile to similar matl master then u can put that while extending, then the all fileds n values will be updated.
    Regards
    Ram

  • Extending the Material from FG Material to Semi Finished good.

    Dear All,
    I am doing the STO (INTRA COMPANY) from plant 1 to Plant 2 for FG
    While receiving the material in plant 2, I have to take as Semi finished good (SFG).
    Is it possible? Bcz the Material Type is FG in Plant 1, so we can't change Valuation class of the Material while extending in Plant as SFG. How can I achieve this with same Material code?
    While selling the same Material from Plant 2, I will add some part and I will it as a FG.
    Please guide me.
    Thanks & Regards,
    Ramu

    Hi Sudhir,
    Thanks for your reply.
    But my requirement is in Plant the Material type should be FERT(FG) and while extending the same material in Plant 2, the Material Type sholud change to HALB(Semi finished).
    As per ur answer I can change the Material Type for the Material in bith the Plants.
    Plz guide me.
    Thanks & Regards,
    RAM

  • Creation of Plant Specific Views while creating or changing the Material

    Hi,
    When saving a material (MM01/MM02), based on data in custom table, I have to extend the material for different plants and plant specific views such as
    1.     Purchasing
    2.     Foreign Trade Import
    3.     MRP1
    4.     MRP2
    5.     MRP3
    6.     Forecasting
    7.     Parts F&P Data (custom view)
    8.     Accounting 1
    How can I achieve this? Is there any FM or BAPI that can be used to extend material for a plant and its specific views?
    Also please suggest me the user exit or BADI which has to be used to achieve this functionality?
    Best Regards,
    Kumar

    We can use the BAPI, BAPI_MATERIAL_SAVEDATA to extend material to different views.

  • For a PR, check the material master

    Hi,
    I have a basic question.
    I have a requirement to check the material master to determine the existence of the material master after a PR is created. Can we create a PR without a material.
    What are the methods of creating PR apart from manual creation
    Thanks.

    > Hi,
    >
    > I have a basic question.
    > I have a requirement to check the material master to
    > determine the existence of the material master after
    > a PR is created. Can we create a PR without a
    > material.
    > What are the methods of creating PR apart from manual
    > creation
    >
    > Thanks.
    Hi,
    Here u can Extend the material master after creating PR,and u can create PR with Out Material master,but this is possible only with Consumable materials and services.
    Thanks & Regards
    suresh

  • Extending the sales view...

    Hi,
    I am creating a material using MM01 TC (for 5 views--Basic data1,2, purchasing, Accounting1,2) and extending the same material to diff plant and storage location using Zprogram(dialog programming) and also creating two more view additionaly (sales view and MRP view). Here we are submitting the values as file through the material master std input program for extending the material as well as creating two additional views for that material..
    But after executing, I am getting the error as " You are not fully maintained the tax classification". So the material is not getting created.
    I am passing the values for tax classification TAXM1 ...values in both the structures BMMH1, BMMH2.
    Also in the header structure BMM00 -- I am passing the indicator as 'X' for the sales view and MRP view .
    Is I am missing any fields? Why I am not able to extend the material?
    Regards,
    Justin.

    Hi,
    Generally same valuation class is used in all the vauation areas because the material grouping and categorization is done at company level.So while extending the material you can extend with the same valuation class.
    And while extending the sales views you have to take confirmation from the sales department about the values in the sales views.Here also you need not worry about the GL accounts at the time of extending the materials.The revenue posting assignments will be taken care by sales consultant.
      The automatic account determination is carried out depending on your configuration.
    We can configure automatic postings in the following ways:
    1.Direct posting to GL account.
    2.Valuation class and GL account.
    3.Valuation grouping code,valuation class and GL accounts.
    Depending on the configuration (in your case 3rd) system will check the valuation grouping code then valuation class then GL account.
    Regards,
    Rambhupal reddy

  • How to extend the costing view for a material

    How to extend the costing view for a material

    Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
    Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save.

  • How to delete the material records related to storage type

    Dear SAP guru's,
    I got a situation that if the material "XXXXXX" exists in two different storage type (let say 001 & 002 ) and the material needs to be removed out of one (Let say 002) to avoid the picking and putaway in future.
    Inorder to accomplish an above requirement we tried the below cases
    Case 1: By flagged the material "XXXXXX" under storage type 002 in MM06 transaction.But it didn't restrict the system on allocating and removing the stock from /to to the storage type 002.
    Case 2:After we flagged the material for deletion under storage type 002 ,we used to MM71 transaction to archive & delete the material record that assocaited with the storage type 002 completely.
    I am kind of queiries to know if there is any other method or procedure available to delete the storage type associated material records in SAP.
    Please guide me with the other options.Thanks.
    Regards,
    John.

    Hi John,
    Its very simple, remove the Storage type indicators from the material master - Warehouse View 1 at Stock placement & Stock removal section, with this it won't pickup or place the materials in the concerned storage type.
    If you have extended this materials to more than 1 storage type, you need to do the same for all the storage types.
    Reward if it is helpful.

Maybe you are looking for