MAIN EAN Number of artcile

Hi
I m creating a new EAN number for artcile through  BAPI_MATERIAL_MAINTAINDATA_RT but how to make that ean number as main EAN number.
is there any other F.M or Bapi exsit to make a Ean as main ean.
reagrds
bunty

Hi bunty,
I am using BAPI_MATERIAL_MAINTAINDATA_RT to create new materials and also cannot find a way to flag an EAN as main. My problem is that I cannot even create the material since I always get this error:
M3-535: First specify the main EAN for the unit PC
Here's the thread I just started on this issue:
BAPI_MATERIAL_MAINTAINDATA_RT for MARA 'Z' fields
Did you solve your problem? If so please let me know how.
Thanks,
Nuno

Similar Messages

  • Updating EAN number for artcile within a sales order

    Hi Everyone,
    We are running SAP R/3 E, I have a situation where a sales order can be created using a material which does not have a EAN article number associated within MM.
    One particular partner gets their invoice by EDI and needs this field in the invoice, even if we update the material in MM02 with the EAN code its not copied through to the invoice, even if we cancel the invoice the same problem exists.  I can also look in the sales order and see that the EAN did not update in their either, it will do for new sales orders.
    Please can somebody advise how to get this though to my Invoice so it will appear in the IDOC?  If we have to cancel/re-invoice that's not a problem
    Many thanks

    Hi Arundel
    I am not sure whether the following links will be of helpful to you.  Anyway please go through that
    http://help.sap.com/saphelp_46c/helpdata/en/b9/738d4df73f11d2b442006094b9301e/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/54/998c9f66bf11d3955500a0c92f024a/frameset.htm
    Thanks
    G. Lakshmipathi

  • Deleting main EAN (MEAN-HPEAN = 'X') in retail material master data

    Hello experts,
    I have a customer (IS Retail) that realized, after data migration from legacy system, that many EAN including the main ones were obsolete or wrong. They asked me to clean all the EANs for a set of items, before deciding the new ones to be migrated.
    I tried 'BAPI_MATERIAL_MAINTAINDATA_RT' that deletes all EAN but not the main one, and I can manage to remove the flag of main ean (MEAN-HPEAN = 'X'), but after that I cannot cancel the last EAN anyway, because in effect it's not correct, as SAP best practices suggest.
    Please consider that all OSS notes available have been implemented, and that I have checked with all available threads and posts on the network with no answer.
    Could please somebody help me?
    thanks in advance
    Chiara

    Hello,
    I used this 'BAPI_MATERIAL_MAINTAINDATA_RT' (that works for RETAIL solutions, otherwise you have to use 'BAPI_MATERIAL_SAVEDATA')
    DATA: T_BAPIE1MATHEAD TYPE BAPIE1MATHEAD OCCURS 0 WITH HEADER LINE.
    DATA: T_RET TYPE BAPIRETURN1 OCCURS 0 WITH HEADER LINE..
    DATA: T_MEAN TYPE BAPIE1MEANRT  OCCURS 0 WITH HEADER LINE.
    (You have to select the material number and EANs you want to delete in two internal tables, such as T_MARA1 and *T_MEAN1, then loop at those tables and:)
          REFRESH: T_BAPIE1MATHEAD, T_MEAN. "T_MARA, T_MARAX.
    *header
          T_BAPIE1MATHEAD-FUNCTION = '003'. "function code for DELETING
          T_BAPIE1MATHEAD-MATERIAL = T_MARA1-MATNR.
          T_BAPIE1MATHEAD-NO_APPL_LOG = 'X'.
          APPEND T_BAPIE1MATHEAD.
    *mean
            T_MEAN-FUNCTION = '003'.
            T_MEAN-MATERIAL = T_BAPIE1MATHEAD-MATERIAL.
            T_MEAN-UNIT = 'ST'.
            T_MEAN-UNIT_ISO = 'PCE'.
            T_MEAN-EAN_UPC = T_MEAN1-EAN11.
            T_MEAN-EAN_CAT = T_MEAN1-EANTP.
            APPEND T_MEAN.
          CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
             EXPORTING
               HEADDATA                   = T_BAPIE1MATHEAD
            IMPORTING
              RETURN                     = T_RET
         TABLES
          INTERNATIONALARTNOS        = T_MEAN
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT = 'X'.
    *(Close the loops) This works for all NON MAIN EAN, but not for the main.
    If you are in a non-retail system, this changes into:
    **header
          T_BAPIMATHEAD-MATERIAL = T_MARA1-MATNR.
          APPEND T_BAPIMATHEAD.
            T_MEAN-UNIT = 'ST'.
            T_MEAN-UNIT_ISO = 'PCE'.
            T_MEAN-EAN_UPC = T_MEAN1-EAN11.
            T_MEAN-EAN_CAT = T_MEAN1-EANTP.
            T_MEAN-DEL_FLAG = 'X'.
            APPEND T_MEAN.
         CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
            EXPORTING
            HEADDATA            = T_BAPIMATHEAD
          TABLES
              INTERNATIONALARTNOS = T_MEAN.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
            WAIT = 'X'.
    hope this can help
    kind regards
    chiara

  • How do you assign a main EAN in BAPI_MATERIAL_SAVEDATA

    I am trying to assign a main EAN to an existing material (which does not currently have an EAN) using BAPI_MATERIAL_SAVEDATA.  I have implemented the following steps in an ABAP program:
    (a) Load the BAPI_MARM (unitsofmeasure) table with one row containing data for the main EAN, including its unit of measure.
    (b) I have a matching row in BAPI_MARMX  with the relevant fields set.
    (c) Load the BAPI_MEAN (internationalartnos) table with one row containing relevant data for the EAN.
    (d) After calling BAPI_MATERIAL_SAVEDATA I am calling BAPI_TRANSACTION_COMMIT.
    When I run the program it does not add the EAN or assign a main EAN.
    In debug the FM is returning the message MG 160 – ‘First specify the main EAN for the unit EA’
    I have read that there are problems with this BAPI and EAN's, but we seem to have applied the various notes (eg 406160 and others) that address this issue.
    Any help would be appreciated - thanks.

    why not use a BDC to update the same.

  • BAPI_MATERIAL_MAINTAINDATA_RT - no way to set MAIN EAN?

    Hi,
    I'm using BAPI_MATERIAL_MAINTAINDATA_RT to create new materials. Everything was going fine until I added an EAN to the material, when it started giving the following error:
    M3-535: First specify the main EAN for the unit PC
    What this error says makes sense. But in structure MARM (parameter INTERNATIONALARTNOS) of this BAPI the field "main EAN" (HPEAN) is not available. So, how can I set it if it is not available?
    I do see that in structure VENDOREAN has field main ean but I tried to set it and still nothing happened. Besides, I believe it doesnt make sense to set it from here since we don't need vendor data in order to add EANs to an article.
    Having debugged I found the data flowing from INTERNATIONALARTNOS structure to internal table MEAN_ME_TAB which has a structure similar to MEAN and then the place where this internal table the existence of a main EAN is tested. Of course it always fails, since there is no way to fill that field from the BAPI.
    Unless I'm missing something, I don't see how I can set the main EAN from the BAPI.
    Please help.
    Regards,
    Nuno

    I found the solution. Main EAN goes in MARM but when I had tried it and it failed it was actually because I forgot to set this field in X structure.
    Thanks.

  • Re: EAN number should be substituted by material number

    Hi all,
    I am having a r/3 ecommerce scenario.
    I have a requirement that when a customer enters EAN number for a material in frontend , the material should be determined automatically.
    I have mantained the material determination record accordingly in r/3 and when I am creating a order in r/3 and entering the EAN number in material field, it automatically substitutes the EAN with the material maintaied in  condition record.
    What settings do I do , so that the same works in frontend?
    Thanks and regards,
    Nilesh

    Like this?
    SELECT TO_CHAR(123456123.122234,'FM999,999,999.000009')  FROM DUAL;
    123,456,123.122234

  • Commitment item can not derived from main asset number

    Dear all,
    Our client have 1 G/L LVA and divided to many asset class LVA. Asset lva will post to general expense when run depreciation, and they want the acquisition/procurement of LVA should check the budget of the general expense.
    It means the acquisition of LVA will check the budget of general expense, then no budget when run depreciation.
    I already setting for no check budget for run depreciation. However, i found trouble when set the derivation from main asset number to commitment item. I want to set from main asset number because only 1 G/L LVA.
    Derivation rule from main asset number not populated to commitment item which i'm expecting, example
    FMDERIVE (1)   CI from main asset number (for acquisition)
                       asset number         CI
                      23000000000        7400000102
    FMDERIVE  (2)  CI from g/l account
                       G/L acct.                CI
                     2290000001          2290000001
    Because asset number 23000000000 assign to g/l 2290000001, then the tracing always read the g/l account, then derive to commititem 2290000001 NOT to 7400000102.
    I already give many condition however it can not work. Even i deactivate fmderive (2), asset number can not populate to relevant commitment item.
    Please give me advice how derive the commitment item from main asset number or relevan things.
    Regards,
    Dewi

    Hi Dewi
    Please have a look at these notes which I think are interesting:
    [736914|https://service.sap.com/sap/support/notes/736914]     Budget relevance of asset transactions
    [1268001|https://service.sap.com/sap/support/notes/1268001] FI313 - No funds center entered/derived
    So, if you need to derive the FMAA from the Asset master data, you could enable a derivation step calling function module FMDT_READ_MD_ASSET. Take care of following derivation steps which may be overwriting the derived values from FMDT_READ_MD_ASSET. See the trace log, according to note [666322|https://service.sap.com/sap/support/notes/666322]
    Cheers
    Mar

  • EAN number missing leading zeroes

    Hi,
    I have configured two types of EAN/UPC numbers, one being 12 characters and one being 14.  In our business, we have a situation where a material has a case UPC number 00099999123456 and a package UPC of 099999123456.
    When these values are displayed on the material master I will see either
    099999123456  or
    00099999123456 
    but not both values with the correct number of leading zeroes.
    Is there a way to have the correct value with the right number leading zeros when the EAN number is the same except for the leading zeroes?
    The standard conversion routines i've looked at do not take into account there could be a different number of leading zeroes based on the EAN type assigned as the type is not a import parameter for  CONVERSION_EXIT_EAN11_OUTPUT.
    thanks!

    Hi,
    As per your query this is related to your configuration setting. Pls consult with SD/FI consultant and also consult with ABAPER. If configuration is ok then may be your have develop a programe and the programe may be wrong.
    Anil

  • How can i find out EAN number of my ipad

    Dear Apple experts
    I have a quite old ipad and would like to sell it. Is there any way to find out the EAN number so that I can get all specifications of this IPAD?
    Thanks

    Here's a list of all iPad specs.
    http://www.everymac.com/systems/apple/ipad/index-ipad-specs.html
     Cheers, Tom

  • Offsetting the EAN number

    Hello Experts,
               iam having the requirement where i need to extract the data from bw server using open hub destination in csv format and the data iam extracting consists of EAN number of a product  which is 13 digit number  and my requirement is if EAN number is 2 digit like 16 then i need to prefix the 0's before 16 .how should i acheive this?

    Hi
    you can achieve this by using aplha conversion routine for your characteristic and late you can incluse this under infoobjetcs list while creating infospoke
    cheers,
    Swapna.G

  • AUC Asset Number and Main Asset Number Line Item Details

    Hi Assets Experts,
    My Customer wants see the details of line item from AUC asset to Main Asset Number, we have create Capital PO Rs. 100000/- One Lac  and Assign Internal Order No.600600 in PO.when good receipt MIGO. with reference internal Order no.600600 for Particular AUC Asset, coz we have assign the Internal Order No.600600 into  AUC Asset.number 900600, now we started commissioning for Plant Asset and booked some expenses like 25000 thousand now Asset has been use for production. so we have settlement the AUC asset to Main Asset . Main Asset Number is 200600
    we have settled thru KO88 then AIAB and AIBU , in AIBU give FXA No. i.e 200600.
    So whenever want to see the particular Asset Number i.e 200600 should be shown all the line item here only two line item one is GR. Rs. 1,00,000/- and another line item is 25,000/- Booked Expenes.
    how can we see the details in SAP. thru line item wise. wht T.Code
    Kindly advice wht should i do for the fetch the details of Particular main Asset i.e 200600 which show two line item.
    Kind regards
    Pranav Kr. Gupta
    SAP FICO Consultant

    Thanks Narasimhulu,
    for immediate reply,
    But sir in T.Code AB03  we can see the AUC  Asset Details Line Item, wht Customer wants link between from AUC Asset  number to Main Asset  number as well so that it is easy to understand under AUC Asset see the Details  i said mentioned in above mail,
    Against AUC Asset Number 900600 to display main asset as well i.e 200600.
    there is any T.code where we can see the links from AUC to Main Asset Number should be display along with Line item.
    Kindly help me in this regards
    for Audit Purpose customer requirement.
    its urgent.
    Note : We working on  ECC6, but NEW GL Document Splitting not activated... till now.
    Kind regards
    Pranav Kr. Gupta.
    SAP FICO Consultant

  • EAN number and its Barcode

    I just test in smartform to print the barcode of article EAN number, the barcode is printed, but I'd like that EAN number is also printed just under the barcode with the same width as below:
    IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
    1 2 3 4 5 6 7 8 9 0
    How can I implment this?! it's some option to make when I copy the new technolog barcode as Z*? I copied both the C128A and Interleaved 2of5.
    Thanks in advance

    Hello, i've the same problem. How have you solved it?
    Many thanks in advance for replying...
    Christian

  • EAN Number and Another Code Like: MC815B A

    To all
    im looking to sell my Mini and eBay is asking for my EAN Number, where is that?
    and most sellers list Minis with a model such as: MC815B A. what is this number? My system profiler doesnt list this model number anywhere?!!?
    confused..

    isitjustmeor wrote:
    How can I get some support and a fix on this problem?
    Whenever I call someone using my skype phone number it shows up on their phone with a California (Palmsdale) area code and phone number.  I live in Florida and have a Florida area code/phone number.  People don't know it's me when I'm calling them and it's causing me some problems.  I don't think there's anything I can do about this so I'd like to find out how to get skype to address and fix this problem.
    Thanks.
    isitjustmeor
    You can access your account's Caller ID settings by logging into your Skype account here on the Skype web site.  Use the "Account" link at the top of this page, and once you log in you will see Caller ID settings.  You should be able to change it to your Florida number, since Skype's Online Numbers in the US can be used as Caller ID.  These numbers are not automatically set up as Caller ID when you purchase them.
    Patrick
    Location/Ubicacion: Arizona USA
    Time Zone/Hora Local: UTC/GMT -7
    If this message has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.
    Si esto mensaje le ha ayudado, por favor haga clic en "Aceptar como solución". Si encuentra un mensaje útil, por favor "Da Kudos" al final del mensaje, por lo que esta información puede beneficiar a otros.
    I am not a Skype employee. No soy un empleado de Skype.

  • EAN number problem : Alphanumeric

    Hello ,
    We are doing a retail implementation for a client.
    Our client has a specific requirements for Alphanumeric EAN number maintainence as most of the vendors who send the goods to them use the same .
    I did tried to check the configuration as per the F1 help , SAP allows either Numeric or Aplhabhatical EAN numbers.
    Though in EAN category option there is a check available for Alphanumeric indicator
    I did tried to create a new EAN category , I have not defined a Check rule ....and the number Range I have assigned is external as 0000AAAAAAA to 0000ZZZZZZZ
    while creation of article I am not able to specifiy my Aplhanumeric number range.
    Gurus , can you suggest a solution and also whether am I doing the steps correctly ( Such as number ranges etc) and if incase doing something incorrectly pls let me know
    Please help........
    Thanks

    Hi,
    The EAN category distinguishes between the different types of EAN. The SAP Retail System supports all EAN categories including:
    Manufacturer EANs
    Instore EANs
    Short EANs
    Fresh produce EANs
    You define EAN categories in Customizing for the Article Master in the activity Define Attributes of EANs. The EAN category defines the following attributes of the relevant EAN:
    (a) Type of number assignment, that is, internal and/or external number assignment
    (b) Check digit algorithm determining whether a check digit is required. A check digit is required with check digit algorithm 1 (the standard EAN check digit algorithm). In the case of internal number assignment, the check digit is determined automatically.
    A check digit is not required with the other check digit algorithms.
    (a) Prefix in the case of fresh produce EANs
    (b) EAN length
    (c) Whether the EAN may be alphanumeric
    If you specify an EAN, but not an EAN category, when creating an article master record, the system determines the EAN category automatically. If you specify the EAN category, but not an EAN, the system determines the EAN automatically if internal number assignment is allowed by the EAN category.
    Bye,
    Muralidhara

  • System should calculate the UPC/EAN Number automatically

    Can we add the UPC calculator to SAP, MM01 so the system can calculate the ending checkdigit for us?  Currently when we need to calculate the ending checkdigit for upc codes we go to an online site, key the number, calculate the ending digit, copy and paste into MM01. Can this calculation be added to MM01, Basic Data 1, EAN/UPC field?
    If we key the 14 digit upc ending in 0, the system message can then tell us what the corrected digit should be or change it automatically for us. Currently the message says "the EAN xxx has an incorrect checkdigit"
    example temp upc-key 55000011564120 and the message should say "ending digit should be 6" or the system can change to 0 to a 6 for us.
    example real upc-00036000915450 and the message should say "ending digit should be 7" or the system can change to 7 for us.
    We have to key the zero on the end or the system adds a leading zero up front (to make the full 14 digits) and just accepts.
    Website we use to calculate the ending digits is http://www.gs1.org/barcodes/support/check_digit_calculator
    Please help me in solving this scenario.....
    Marc.

    Hi Mark,
                 For this scenario you will need to add custom code for automatic calculation of Check digit and thus modifying EAN/UPC no. entered by you to a correct EAN/UPC no.
    However as soon as we enter EAN/UPC( with wrong check digit) no in basic data 1 tab we get an error u201CThe EAN 36000915450 has an incorrect check digitu201D. And it seems that in between entry of EAN/UPC and error message there is no customer exit/BADI  is coming in which we could have written our custom code to generate check digit and correct EAN/UPC.
    So an option is that if you are uploading multiple materials you can use BDC to upload all such materials and there you will have the possibility to correct the EAN/UPC using ABAP custom code before submitting it to MM01 screen.
    Regards,
    Rajwin.

Maybe you are looking for

  • Copy/paste in save as dialog box

    I am using your pdf plugin with Safari but when I click the save icon I cannot paste text into the file name box.  I have to manually type it in.  Can I copy & paste in the save dialog box?

  • Submenus are moving to top of screen in IE8? All other browsers show correctly

    First off, I am new to web design and Dreamweaver, but a fast learner. So please - presume I know very little. I am using a mac, and created a horizontal nav bar using the spry widget (DMCS3; Spry 1.6.1). Everything is ok, except for the submenus in

  • View of Cheque format n Payment advice Note

    HI, Is there any t.code to see the payment advice note and Cheque format in APP Configuration . Other than OBVU from where actually the forms are selected in APP Config. For Payment method for Company Code Transaction. Becoz Abaper is asking where ex

  • User Exit program

    I have a shell script which will send the data to DOC1 and receive the pdf file. Can you please help me to plug in the script as a user exit when the user clicks the display bill? Please let me know if i can find any document which i can refer for th

  • How to edit original raw from LR?

    Sometimes in my workflow id like to take the original raw, edit it in photoshop cs3 acr instead of LR, but save the resulting image as a stacked image under the original in LR. Why cant I just do 'edit original' as a RAW in LR? What would be the best