How to delete MRP view data after create in Material master data ?

Hi all ,
      After user  create a useless MRP view data in Material master data , how to remove it ?

Hi
Material master once created cannot be deleted.Only thing u can do is to mark it for deletion
Go to Logistics > Materials management > Material master > Material > Flag for deletion > Immediately.
Give the necessary data that is needed for the view you want to delete.
Press and flag the view you want to delete.
Now the view is flagged for deletion. This means that it's use is limited and it will be cleaned up or really deleted at the next clean up of the system.
regards
Anand

Similar Messages

  • Create a material master data.

    Hello,
    this code doesn't create a material master data.
    Does it make sense to put additional views?
    Thank you in advance.
    DATA: w_bapimathead TYPE bapimathead.
      DATA: i_bapi_makt TYPE TABLE OF bapi_makt,
            w_bapi_makt TYPE bapi_makt.
      w_bapimathead-basic_view = 'X'.
      w_bapimathead-material = 'AAABBBCCCDDD'.
      CLEAR w_bapi_makt.
      w_bapi_makt-langu = 'EN'.
      w_bapi_makt-matl_desc = 'Screwdriver'.
      APPEND w_bapi_makt TO i_bapi_makt.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
         EXPORTING
              headdata            = w_bapimathead
         TABLES
              materialdescription = i_bapi_makt.
              write:/.

    Ilhan,
    We already take the time to reply to YOU here :
    create material master data
    Erwan

  • How to delete sale view?

    dear all:
        i kown i can extend  the view of material using mm50.
    but i am unable to delete the sale view of the material ?
      who can help me ?
    thank you !
       bset regards!

    dear all:
    thanks for your help.
    i was unable to resolved my problem follow you said.
      i explain my problem detailedly:
      the guy in my company created a material master data using tcode mm01.
    the material type should be semi-manufactured good,but he have already created
    the material as finished good.
      so i want to change the material type of that material using tcode mmam,
    but i was not successful .the system tell me :
    the new material type requires that all the follwing deta for the mat. is
    first archived and deleled.
    sales data (mvke) .
    i want to change the material of the finished goods type  using tcode oms2   ,but i am afraid there are
    other prolems.
    what should i do for this problem.
    thank you.
    best regards!
    null
    Message was edited by:
            zhao gang

  • Create Material Master Data with BAPI

    Hi,
    I don't know using of BAPI. I want using BAPI_MATERIAL_SAVEDATA bapi for creating material master data for Basic Data1, Basic Data2, Purchasing and MRP views. Does anybody can help me ?
    Thank you
    Good night

    Hi,
    Please refer to the documentation below:
    BAPI_MATERIAL_SAVEDATA
    Short Text
    Create and Change Article Master Data
    Functionality
    You use this method to create new material master data or to change existing material master data. The data on a material can be transferred for each call.
    When creating material master data, you must transfer the material number, the material type, and the industry sector to the method. You must also enter a material description and its language.
    When changing material master data, you need enter only the material number.
    In the header data, you must select at least one view for which data is to be created. Depending on the view selected, you must maintain other required parameters. If you do not enter values for all of the required parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first be supplied with data by the calling program. An indicator must also be set for each of these fields so that the data is written to the database by the method. This requires the calling program to supply the corresponding field with the indicator in a checkbox table (for example, CLIENTDATAX). Checkbox tables exist for tables that do not contain any language-dependent texts (MAKT, MLTX), International Article Numbers (MEAN), or tax classifications (MLAN). Several data records for a material can be created in these tables.
    If a structure contains fields for units of measurement (such as structure CLIENTDATA, field BASE_UOM), language indicators (such as structure MATERIALDESCRIPTION, field LANGU), or country indicators (such as structure TAXCLASSIFICATIONS, field DEPCOUNTRY), there is always a field of the same name with the ending _ISO. This makes it possible to transfer either the internally used SAP code or a standardized ISO code for the units of measurement, language indicators, or country indicators. ISO codes are converted to an SAP code internally for further processing. The ISO code is used only if the SAP code is not transferred. If you use ISO codes, there must be a unique assignment of the ISO code to the SAP code in the following activities in Customizing for Global Parameters:
    Check Units of Measurement
    Define Countries
    If you want to maintain long texts (basic data texts, internal comments, purchase order texts, material memos, or sales texts) or customer-defined fields for a material, some special conditions have to be observed. They are described in the documentation for parameters MATERIALLONGTEXT and EXTENSIONIN.
    Parameters
    HEADDATA
    CLIENTDATA
    CLIENTDATAX
    PLANTDATA
    PLANTDATAX
    FORECASTPARAMETERS
    FORECASTPARAMETERSX
    PLANNINGDATA
    PLANNINGDATAX
    STORAGELOCATIONDATA
    STORAGELOCATIONDATAX
    VALUATIONDATA
    VALUATIONDATAX
    WAREHOUSENUMBERDATA
    WAREHOUSENUMBERDATAX
    SALESDATA
    SALESDATAX
    STORAGETYPEDATA
    STORAGETYPEDATAX
    FLAG_ONLINE
    FLAG_CAD_CALL
    NO_DEQUEUE
    NO_ROLLBACK_WORK
    RETURN
    MATERIALDESCRIPTION
    UNITSOFMEASURE
    UNITSOFMEASUREX
    INTERNATIONALARTNOS
    MATERIALLONGTEXT
    TAXCLASSIFICATIONS
    RETURNMESSAGES
    PRTDATA
    PRTDATAX
    EXTENSIONIN
    EXTENSIONINX
    Exceptions
    Function Group
    1001UEB
    Thanks,
    Sandeep.

  • Zprogram to create material master data using bapi

    can anyone send me a zprogram which uses a
    bapi to create\update material master data .
    thanks ,
    Amit

    hi,
    here below a code sample that will help you
    FORM execution .
      DATA: is_headdata TYPE bapimathead.
      DATA: is_clientdata TYPE bapi_mara.
      DATA: is_clientdatax TYPE bapi_marax.
      DATA: is_plantdata TYPE bapi_marc.
      DATA: is_plantdatax TYPE bapi_marcx.
      DATA: is_valuationdata  TYPE bapi_mbew.
      DATA: is_valuationdatax  TYPE bapi_mbewx.
      DATA: it_materialdescription TYPE bapi_makt OCCURS 0 WITH HEADER LINE.
      DATA : is_storagelocationdata TYPE bapi_mard,
             is_storagelocationdatax TYPE bapi_mardx.
    *... views
      is_headdata-material = mara-matnr.
      is_headdata-ind_sector = 'M'.
      is_headdata-matl_type = 'ROH'.
      is_headdata-basic_view = 'X'.
      is_headdata-purchase_view = 'X'.
      is_headdata-mrp_view = 'X'.
      is_headdata-account_view = 'X'.
      is_headdata-cost_view = 'X'.
      is_headdata-storage_view = 'X'.
    *... constants
      is_clientdata-pur_valkey = '3'.
      is_clientdatax-pur_valkey = 'X'.
    *... Données article générales (de l'écran)
      is_clientdata-base_uom = mara-meins.
      is_clientdata-matl_group = mara-matkl.
      is_clientdata-mfr_no = mara-mfrnr.
      is_clientdata-manu_mat = mara-mfrpn.
      is_clientdata-pur_status = mara-mstae.
      is_clientdata-old_mat_no = mara-bismt.
      is_clientdatax-base_uom = 'X'.
      is_clientdatax-matl_group = 'X'.
      is_clientdatax-mfr_no = 'X'.
      is_clientdatax-manu_mat = 'X'.
      is_clientdatax-pur_status = 'X'.
      is_clientdatax-old_mat_no = 'X'.
    *... Description
      it_materialdescription-langu = sy-langu.
      it_materialdescription-matl_desc = makt-maktx.
      APPEND it_materialdescription.
      is_plantdata-sm_key = '000'.
      is_plantdata-dep_req_id = '2'.
      is_plantdata-availcheck = '02'.
      is_plantdata-auto_p_ord = 'X'.
      is_plantdatax-sm_key = 'X'.
      is_plantdatax-dep_req_id = 'X'.
      is_plantdatax-availcheck = 'X'.
      is_plantdatax-auto_p_ord = 'X'.
      is_plantdata-pur_status = mara-mstae.
      is_plantdatax-pur_status = 'X'.
          is_plantdata-profit_ctr = '100012'.
      is_plantdata-proc_type = 'F'.
      is_plantdata-determ_grp = 'Z001'.
      is_plantdata-deploy_horiz = '000'.
      is_plantdatax-proc_type = 'X'.
      is_plantdatax-determ_grp = 'X'.
      is_plantdatax-deploy_horiz = 'X'.
    *... Plant data
      is_plantdata-plant = marc-werks.
      is_plantdata-pur_group = marc-ekgrp.
      is_plantdata-abc_id = marc-maabc.
      is_plantdata-mrp_type = marc-dismm.
      is_plantdata-plnd_delry = marc-plifz.
      is_plantdata-lotsizekey = marc-disls.
      is_plantdata-safety_stk = marc-eisbe.
      is_plantdata-mrp_ctrler = marc-dispo.
      is_plantdata-iss_st_loc = marc-lgpro.
      is_plantdata-sloc_exprc = marc-lgfsb.
      is_plantdata-round_prof = marc-rdprf.
      is_plantdatax-plant = marc-werks.
      is_plantdatax-pur_group = 'X'.
      is_plantdatax-abc_id = 'X'.
      is_plantdatax-mrp_type = 'X'.
      is_plantdatax-plnd_delry = 'X'.
      is_plantdatax-lotsizekey = 'X'.
      is_plantdatax-safety_stk = 'X'.
      is_plantdatax-mrp_ctrler = 'X'.
      is_plantdatax-iss_st_loc = 'X'.
      is_plantdatax-sloc_exprc = 'X'.
      is_plantdatax-round_prof = 'X'.
    *... Valuation
      is_valuationdata-val_area = marc-werks.
      is_valuationdatax-val_area = marc-werks.
      is_valuationdata-price_ctrl = 'V'.
      is_valuationdata-price_unit = '1'.
      is_valuationdata-val_class = '3000'.
      is_valuationdata-qty_struct = 'X'.
      is_valuationdata-orig_mat = 'X'.
      is_valuationdata-price_unit = mbew-peinh.
      is_plantdata-lot_size = mbew-peinh.
      is_valuationdatax-price_ctrl = 'X'.
      is_valuationdatax-price_unit = 'X'.
      is_valuationdatax-val_class = 'X'.
      is_valuationdatax-qty_struct = 'X'.
      is_valuationdatax-orig_mat = 'X'.
      is_valuationdatax-price_unit = 'X'.
      is_plantdatax-lot_size = 'X'.
    Storage
      IF NOT marc-lgpro IS INITIAL.
        is_storagelocationdata-plant = marc-werks.
        is_storagelocationdata-stge_loc = marc-lgpro.
        is_storagelocationdata-stge_bin = mard-lgpbe.
        is_storagelocationdatax-plant = is_storagelocationdata-plant.
        is_storagelocationdatax-stge_loc = is_storagelocationdata-stge_loc.
        is_storagelocationdatax-stge_bin = 'X'.
      ENDIF.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
      headdata                   = is_headdata
      clientdata                 = is_clientdata
      clientdatax                = is_clientdatax
      plantdata                  = is_plantdata
      plantdatax                 = is_plantdatax
      FORECASTPARAMETERS         =
      FORECASTPARAMETERSX        =
      PLANNINGDATA               =
      PLANNINGDATAX              =
       storagelocationdata        = is_storagelocationdata
       storagelocationdatax       = is_storagelocationdatax
      valuationdata              = is_valuationdata
      valuationdatax             = is_valuationdatax
      WAREHOUSENUMBERDATA        =
      WAREHOUSENUMBERDATAX       =
      SALESDATA                  =
      SALESDATAX                 =
      STORAGETYPEDATA            =
      STORAGETYPEDATAX           =
      FLAG_ONLINE                = ' '
      FLAG_CAD_CALL              = ' '
      IMPORTING
      return                     = return
    TABLES
         materialdescription        = it_materialdescription
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
         returnmessages             = it_returnmessages
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    endform.
    Regards.
    David

  • Problem when creating material master data

    Hi,
      I use MM01 to create a material master data and save it, the system appears the material created successfully. But when I use MM03 to display the material, the system appears no this material exists in the system. I use ST22 find some runtime error:  "Insert into MARA values MARA" .
    How can I solve this problem?
    Fiona Zhang

    Hi,
    Have you executed the MARA table by material name.
    Then try with MARA-ERNAM field. Enter ur user id and then execute. lets see whether it is really created or not in ur system.
    If u dont find any material created by ur name then go to SO01 transaction and check ur inbox....U will find some mails like update terminated.
    U can talk to ABAPer to get this resolved.
    Thanks & Regards,
    Shaik Hussain

  • How to modify  industry sector of material master data

    dear all:
    i have already created a material master data using a wrong industry sector through tcode MM01.
    and i have created BOM&ROUTTING for this material.
    now ,i want to modify the  industry sector of  this  material.
    what should i do for this case?
    thank you!
    best regards!

    Hi,
    Industry sector is at client level & once you create the material you can't change the industry sector.
    However, if you have debug rights then you can change it directly in the table MARA with field MBRSH.
    Hope your query get resolved.
    Thanx

  • How do I automatically delete a .ps file after creating a pdf?

    Hi all! I vaguley remember in the past that there is a preference to automatically delete a .ps file after creating a pdf. Can someone remind me of how to do this? I'm using Distiller version 9.2.0. Thank you so much!
    Julie
    PS: I'm creating the .ps file from Quark 7, if that makes a difference.

    I am unaware of any feature allowing automatic delete of .PS files.
    The adobePDF print driver which has been removed in OSX.6.x (Snow Leopard) That you choose when ina Document would go through the following steps in the background this made it slow.
    create .ps File (hidden)
    Checksum Verify the .ps File
    Open Distiller in background (hidden)
    Create Pdf
    Checksum Verify the .pdf File
    shut down Distiller in Backgroun (hidden)
    Delete .ps File (hidden)
    Pdf suddenly appears
    If at any point in this chain something dies the pdf was not made.
    Actually in prior OS to X.3.x the print driver provided for my Hp Inkjet, it was actually better to go to print menu, and choose save as  postscript, then drop the postsript file on distiller and creat the PDF. or just open the ps in Acrobat.
    with the PRint Drive provided for my HP Inkjet for X.3 it was changed to  create Postcsript file from PDF.  In the start having the PDF button on print menu. The pdf's were not as good as those created in the AdobePDF driver. But were aceptable for most purposes.

  • HT2905 Most all of my 1700 songs have been duplicated in iTunes. I have downloaded the instructions how to delete the duplicates but it says "sort by the date you added" and i have no column that says that. I am running windows xp.

    Most all of my 1700 songs have been duplicated in iTunes. I have downloaded the instructions how to delete the duplicates but it says "sort by the date you added" and i have no column that says that. I am running windows xp.

    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • How to delete a View(Local) defined on a Query in Bex Web Analyzer

    Hi,
      I created a No of Views (Local) on a query in Bex Web Analyzer and saved them.
    How can i delete the view i created when i checked the PFCG i can't find the views i created
    How can i delete the views (Local) i created on a query
    Thanks

    Right click and delete when you're in the "open" dialog in Analyzer.

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
    Regards,
    Prabahar

    Hi Raju,
    If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
    I would suggest following approch :
    1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
    2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
    3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
    This is just deleting the entries...this does not delete any objects from the system.
    4)Now click on Back arrow, and delete the entry for IUICMRD...save.
    5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
    6) We did not touch to the entries for IUICMD  in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
    7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
    All the best !!
    Thanks & Regards,
    Suchita
    If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion...

  • How to save report in PersonalCategory  after creating it using java panel?

    Hi,
    Anybody knows How to save report in PersonalCategory  after creating it using java panel?
    I dont want to save it in public folder. I want to save report (webi) in user's personal category.
    can anybody send me source code?
    It will help me a lot.
    Thanks in advance
    Amol Mali

    Hi teda,
    i'm assuming that you have seen my post that i did successfuly save report in user's personal category.
    Actually the report is created in webi java panel using RE SDK and  is saved in Report Sample Folder then i'm saving it in user's personal category by following code
    string query = "Select SI_PERSONAL_CATEGORIES From CI_INFOOBJECTS Where "
                         + "SI_INSTANCE=0 And SI_ID=" + reportID;
                    InfoObjects infoObjects = infoStore.Query(query);
                    InfoObject infoObject = infoObjects[1];
                    Webi wreport = (Webi)infoObject;
                    ObjectRelativeIDs personalIDs = wreport.PersonalCategories;
                /personalIDs.Add(Convert.ToInt32(categoryID));
                   infoStore.Commit(infoObjects);
    But the report is presents in the Folder also and in user's personal category also.
    I dont want the report to be in the folder (Report Sample) if i saved it in user's personal category.
    How can i do that?
    any idea.
    Please help me.
    Thanks in advance
    Amol Mali
    Edited by: amol mali on Jan 9, 2009 7:55 PM

  • Material Master MRP View not be created till Basiv View is created

    Hello All,
    I need an information where i would like to know if an MRP view in a Material master can be restricted without the creation of the Basic View. Basically an MRP view is getting created even though the Basic View of material master is not there and it needs to be stopped.
    Thanks for your inputs.
    Ismail

    Dear Syed ,
    If you want to prevent end users update other material master views , you can apply the concept of SAP note 545380 - FAQ: Authorizations material master , with this you will not more problem with this kind of problem.
    Hope this can help you.
    Please let me know if my thinking about your question is correct.
    best regards,
    Carlos Moçatto

  • How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    Darrell,
    Thanks for this response. After I posted mine, I saw that the resetForm JavaScript method is documented as being supported starting with version 10.5: http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html
    But I haven't been able to get it to work. Can you clarify if support was indeed added and if it works for you?

  • How can you make a field "key" in transformation rules - master data maping

    Hello ,
    We are in the process of creating some custom master data datasources for HR module. In this we are trying to extract fields from particular infotypes. In my situation we are pulling fields from only one table PA0032.  From this table I am making a view where in I am selecting all the key fields from that table and including 2 other fields (Buliding name and room number). Now I create an ATTR master datasource with this view and check in RSA3 I see the data very good. All this is time dependent data like for Employee he might be in buliding AB room 32 first and then get moved to Buliding CD room 34. So we need to keep a history of the records. Now I replicate the DS in BW system, and create custom infoobjects for building and room no. I create an infoobject called Zworkaddress and dates I use 0VALIDTO and 0VALIDFROm. I make both the dates, bulding and room as attributes of ZWORKADDRESS. Now I map all the fields from datasource to the infoobject but field ZWORKADDRESS is on,y coming up as KEy field not the dates and subtype. Thats why I am getting only the last record not all the records of the emplyee work address. 
    We are using BI 7.0, so my question is how can I make the other fields as key's so that I can have all records.
    Thanks in advance.

    Kiran,
       If you make any one time dependant system will create Dateto and date from internally. we don't need to add those.
    1. for Employee, add Company Address as attribute. make this as Time Dependant. keep Subtype as Compounding key to your employer. then you will get Employee, Sub Type and Dates as key fields. you can have complete history of Employee Address change.
    Hope this helps.
    Nagesh Ganisetti.

Maybe you are looking for