BAPI_MATERIAL_SAVEDATA - Deletion of EAN in Material Master

Dear Everyone,
While using the BAPI_MATERIAL_SAVEDATA to update material master, I am trying to set the deletion flag to EAN code in the Basic data>>Additonal Data view.
I am setting the deletion flag in the internal table for table bapi_mean. After running the bapi, the EAN code is not deleted.
Please can you tell me how this could be done... and where am I wrong?

Hello,
you could check OSS-Note 406160 .
Even when it's implemented, you could set a break-point into the form "MEAN_UEBERGEBEN" of function-pool "1001UEB" and look, what happens there.
Regards Wolfgang

Similar Messages

  • Deletion of view in Material master

    Hi all I have created Classification view for one material by mistake . As I dont want this material to be manage by batch I want to remove/ delete/ deactivate that view . How I can do this

    I hope when you are trying to deactivate the checkbox it isn't letting you to do so.At the same time you will find that in the same screen itself at top DISPLAY ERRORS tab is appearing.Check that tab and you will find out the reason yourself of why the system isn't letting you to do the activity.
    regards,
    indranil

  • Issue while updating EAN in Material Master

    Hi Friends,
       We are using the following code to update the EAN of an existing material, but no changes are being done in the article.
    I am getting a message "Messages for article 100002268: log number 0000000000012552" from the BAPI. When I checked the log its says that "No Changes made". Please let us know what we are missing.
    PARAMETERS p_matnr TYPE mara-matnr.
    DATA : lt_headdata TYPE bapie1mathead,
            ls_return TYPE bapireturn1,
            lt_clientdata TYPE STANDARD TABLE OF bapie1marart,
            lt_clientdatax TYPE STANDARD TABLE OF bapie1marartx,
            ls_clientdata TYPE bapie1marart,
            ls_clientdatax TYPE bapie1marartx,
            lt_addclientdata TYPE STANDARD TABLE OF bapie1maw1rt,
            lt_addclientdatax TYPE STANDARD TABLE OF bapie1maw1rtx,
            lt_uom TYPE STANDARD TABLE OF bapie1marmrt,
            ls_uom TYPE bapie1marmrt,
            lt_uomx TYPE STANDARD TABLE OF bapie1marmrtx,
            ls_uomx TYPE bapie1marmrtx,
            ls_art_ean TYPE zmm_art_ean,
            lt_art_ean TYPE STANDARD TABLE OF zmm_art_ean.
    lt_headdata-material = p_matnr.
    lt_headdata-basic_view = 'X'.
    ls_clientdata-material = p_matnr.
    ls_clientdata-base_uom = 'EA'.
    APPEND ls_clientdata TO lt_clientdata.
    CLEAR ls_clientdata.
    ls_clientdatax-material = p_matnr
    ls_clientdatax-base_uom = 'X'.
    APPEND ls_clientdatax TO lt_clientdatax.
    CLEAR ls_clientdatax.
    ls_uom-material = p_matnr.
    ls_uom-alt_unit = 'EA'.
    ls_uom-ean_upc = '82901237792'.
    ls_uom-denominatr = 1.
    ls_uom-numerator  = 1.
    APPEND ls_uom TO lt_uom.
    CLEAR ls_uom.
    ls_uomx-material = p_matnr
    ls_uomx-alt_unit = 'X'.
    ls_uomx-ean_upc =  'X'.
    ls_uomx-denominatr = 'X'.
    ls_uomx-numerator  = 'X'.
    APPEND ls_uomx TO lt_uomx.
    CLEAR ls_uomx.
    CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
      EXPORTING
        headdata        = lt_headdata
      IMPORTING
        return          = ls_return
      TABLES
        clientdata      = lt_clientdata
        clientdatax     = lt_clientdatax
        unitsofmeasure  = lt_uom
        unitsofmeasurex = lt_uomx
      EXCEPTIONS
        OTHERS          = 1.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

    Hi,
    Check this include LWPLGF04.
    Regards,
    Nagaraj

  • Mass deletion of material master at plant level

    Hi,
    Is there any way to flag materials nearly 500 Nos for deletion at plant level.
    Regards,
    Vengat

    hi,
    Use mass transaction for putting the delete indicator for the material master...this is to be done from MM17 tcode...
    and later they all could archived...Archive it from MM71 and can display this from MM72..
    Regards
    Priyanka.P

  • Deleting ? Archive Material Master

    Hi,
    Please help me how to delete or Archieve Material Master?
    how to use Tx SARA and MM71?
    Please Urgent.
    Thanks
    Prasad

    hi
    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.
    Reward points if helpful
    Thanks and regards
    Ravikant Dewangan

  • Material master-additonal unit of measurement

    HI, I have three questions
    a) we have the follwoing data defined in material master (additonal data)
    X UOM Y UOM EAN
    1 LITRES 1 LITRES NIL
    1 IGB (inner packg) 20 LITRES 345922222222
    1 GBE (packg) 20 LITRES 345922222222
    I need to know what is EAN no and in our case the EAN no is same for both inner packg and pack. . what does this mean. Sometimes we also see the EAN no is different. why... what it signifies ?
    2) We have outbound idoc trigerred from delivery. message type is WHSOD. in one of the segments (E1EDL24), the system shows the delivery qty and material no. This segment also shows the EAN NO AS 345922222222. In segment E1EDL26, the filed UMVKZ shows as 1 which is ok (numerator as shown above) but the numerator field shows 1 only (it does not show 20 litres,, i think the field name is UB something ).
    I need to know why the system is not showing 20 litres in numerator in the filed for segment E1EDL26.
    3) Had we have two different EAN in material master as above, did our standard message type would have shown the conversion factors (numerator and denomi ) as per the EAN nos.....If yes, then in which segments ,the WHSORD shows the Conversion factors based on different EAN nos in material master-UOM tab (for instance if 1 GBE (packg) = 30 LITRES and EAN IS 345911111111.... I think there will be as many segments in idoc as there are entries in Additonal data-UOM tab )
    rgds
    pamela

    Hi Jurgen,
    I think you did not understand. My questions is as follows.
    a) why we maintain alternative UOM in material  mastr (additional data) ? an example ould be good.
    b) We have in our system base unit of masuement as  litres and sales unit as blank. that means system will take sales unit of measurementt as litres only.
    now we make sales order and make delivery and a outbound whsord idoc is sent to third party warehouse. the third party warehouse undertsands only IGB(pack ) unit of measure wherase our idoc i think will carry LT (litres ) as UOM...
    we do maintain the conversion factor between litres and IGB in our material master (additional data tab).That is our idoc shud carry conevrsion factor as maintained in ur material maste ( 20litres =1 igb ). so our idoc shud carry .05 as conversion factor
    so that our third party warehouse understands that and dispatch 1 IGB of qty (2 litres as per our delivery )
    rgds
    Pamela
    Edited by: Pamela79 on Aug 11, 2011 4:49 AM

  • View in material master

    Hi Gurus,
    How to delete the view of material master say ex:storage location view for a material
    Regards,
    Subbu

    Hi Subbu,
    Views are dependent on the the material type.
    if u do not want a view for a material type then, u can go to tcode OMS2 and there u can deselect the view in the userdepartment. and save.
    Now that view wont be their for that material type.
    Hope it wud have answered ur question
    Reward if useful
    Shawn

  • Idoc segments for additional UOM in material master

    HI, I have three questions
    a) we have the follwoing data defined in material master (additonal data)
    X UOM Y UOM EAN
    1 LITRES 1 LITRES NIL
    1 IGB (inner packg) 20 LITRES 345922222222
    1 GBE (packg) 20 LITRES 345922222222
    I need to know what is EAN no and in our case the EAN no is same for both inner packg and pack. . what does this mean. Sometimes we also see the EAN no is different. why... what it signifies ?
    2) We have outbound idoc trigerred from delivery. message type is WHSOD. in one of the segments (E1EDL24), the system shows the delivery qty and material no. This segment also shows the EAN NO AS 345922222222. In segment E1EDL26, the filed UMVKZ shows as 1 which is ok (numerator as shown above) but the numerator field shows 1 only (it does not show 20 litres,, i think the field name is UB something ).
    I need to know why the system is not showing 20 litres in numerator in the filed for segment E1EDL26.
    3) Had we have two different EAN in material master as above, did our standard message type would have shown the conversion factors (numerator and denomi ) as per the EAN nos.....If yes, then in which segments ,the WHSORD shows the Conversion factors based on different EAN nos in material master-UOM tab (for instance if 1 GBE (packg) = 30 LITRES and EAN IS 345911111111.... I think there will be as many segments in idoc as there are entries in Additonal data-UOM tab )
    rgds
    pamela

    Hi,
    As for as i know EANs  are not relevant to unit conversion. This is a number which uniquely identifies a material for a particular UoM.
    And regarding the numerator and denominator, check whether any logic is added in the corresponding segment which overwrites the value

  • Material Master Archive Process

    Hi
    1. How can we archive a material master? Explain in details..
    2. Wats the impact on the above.. pls describe
    Vijay

    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record.
    You have to Flag the material master record for deletion. This is known as logical deletion.
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    The Archiving steps :-
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.

  • BAPI to create Material master record

    Hi All,
    I need to create a new material master record using a reference Mterial number. Please let me know, if there is any BAPI to achieve this.

    Hi,
    Check these links .You will get your answer in detail.
    Re: How to use BAPI BAPI_MATERIAL_SAVEDATA
    Re: Mass creation of Material Master Records
    Hope it will help you.
    Regards:
    Alok

  • MATERIAL MASTER DATA ARCHIVING

    Dear Experts,
    I have archive material master data from the data base.
    As a prerequisite for material master data archive,
    Purchase orders for the materials are archived already.
    Invoices documents are archived already
    Material documents are archived already
    No material stocks exists for these materials.
    Please tell me deletion flag is to be set for the material at client level ?
    Table MARA
    Field LVORM

    you can delete and archive a material master at any level.
    If you want archive the full material master, then you have to set the deletion indicator in MM06 on top level. if you just want archvie a storage location view, then you set your deletion indicator at this level only, as well in MM06.
    In general MM06 is not necessary, as the SARA MM_MATNR write program allows to archive materials without having a deletion flag.

  • Archiving material master valuation type

    Hii ,
    I am trying to archive material master valuation type using SARA transaction   . Material is maintianed as FERT in system and we have created its valuation type as HM .  Now we are trying to archive this material master HM view .
    But it is throwing us error as :
    MBEW: 1501 HM Dependent batch stocks exist
    MBEW: 1501 HM dependent batch records exist
    We have checked stock in system .... No stock present (Tried  MMBE  , MC.9 , Table MBEW ) .
    How can I delete ths material master ? Where can I find stock ?
    Regards ,
    Pallavi .
    Edited by: Pallavi Deshpande on Jun 10, 2009 10:44 AM

    Hi,
    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.
    A D V E R T I S E M E N T
      All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :-
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.
    Thanks
    Prashanth

  • Archive Material Master

    Hi guys,
    Sorry maybe this is not a correct place!
    But i dunno where to ask
    My functional doing archive material master using (SARA), and some material can, some can't. After i browse from internet it's said can't archive is because that material still got  dependency like Purchase info records must be archive first, etc.
    And until now he still blame that the program that run the job (auto generated by SAP) got errors, why morning can now can't and the funny things what he try the material in the morning and now is different material
    So, need your guys hint
    can we just see the exactly what the problem/error why let say material A can't be archive (maybe still got Purchasing Info records) or some error like that!
    Best Regards,
    Victor.

    Hi,
    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.
    ********please reward points if the information is helpful to you*************

  • Cleaning & archiving material master

    hello,
    I am going to start project where one of the tasks will be cleaning material master.
    My client system version is 4.7
    Can you suggest and documentation on procedures and tools provided by SAP for this purpose?
    Thanks & regards,
    Andrzej

    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.

  • Deletion of EAN number in Material Master using a BAPI BAPI_MATERIAL_SAVEDA

    Hello ,
    I am  using the BAPI_MATERIAL_SAVEDATA to update material master, I am trying to set the deletion flag to EAN code in the Basic data>>Additonal Data view.
    I am setting the deletion flag in the internal table for table bapi_mean. After running the bapi, the EAN code is not deleted.
    Any inputs how to do it.,
    Regards
    Irfan

    Hi,
    Refer the link:
    http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm

Maybe you are looking for

  • 2.5 y/o macbook develops random shutdown?

    Hi, my 2.0 ghz core2duo white macbook has done the random shutdown thing 2 nights in a row, and its never happened before. no warning, no prior indication, it just instantly shuts down. I haven't heard of this developing on an older macbook. Both tim

  • Final Cut Express Render Files

    Hello all. Just wondering what files are okay to delete in User > Documents > Final Cut Express Documents I already have deleted most of the files inside of the folders, such as the render files, because I've already exported them as quicktime movies

  • How to localize cause of GPF at RunUserInterface (unknown position)

    Hallo, I'm facing the random GPF pointed to the RunUserInterface thread at unknown position; unfortunately the condition of the crash is really random (sometime suddenly after the initialization the application, sometimes after quite log run, sometim

  • Windows 7 Boot Camp download

    I have my brand new MacBook Pro 13" 2011 that shipped with lion tripple booting OSX, Windows 7, and Ubuntu 11.04. When I got the computer I put in a new 1TB hard drive in, and installed OSX from a USB drive I created. I paritioned it using disk utili

  • Zen Micro and Windows Vista 32

    I have managed to get Windows Vista to detect my Zen when I connect it so can anybody please advise me what I need to do next? Do I now need to install the software from my disc that I got with it and then download the Firmware? If that is right, ple