Skip to Content
author's profile photo Former Member
Former Member

MARA_EAN11

Hello SAPPERS!

I have to check EAN-nrs (that I get from our client).

The numbers have to be checked in combination with their EAN Category.

I´ve debugged MM02, and I´m pretty sure I have to use the function Module 'MARA_EAN11'.

Unfortunately there is no documentation to this FM... 😔

I can´t get the FM to run because (whilst debugging) I came across some very weird entries in the tables-section of the FM. I have no idea why the entries are what they are, and not something else.

Has anybody used this FM yet?

Some explanation on the inport/exportand tables -section would be very appreciated!!!! 😊

PS: To Debug MM02, you can just enter a material in Basic Data 1, start the debugger (/H) and enter a different EAN-Number than the one that was there before... 😊

Thanx!!!!!!

Kind Regards,

Pieter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2005 at 02:35 PM

    Hi,

    Try the following:

    call function 'MARA_EAN11'

    exporting

    p_matnr = /eur/xreqmath_s-matnr

    p_numtp = <fs_numtp>

    p_ean11 = <fs_ean11>

    p_meinh = <fs_meins>

    ret_ean11 = i_ean11

    ret_numtp = i_numtp

    binpt_in = sy-binpt

    p_message = 'N'

    sperrmodus = ' '

    importing

    p_numtp = i_numtp

    p_ean11 = i_ean11

    msgid = i_msgid

    msgty = i_msgty

    msgno = i_msgno

    msgv1 = i_msgv1

    msgv2 = i_msgv2

    msgv3 = i_msgv3

    msgv4 = i_msgv4

    tables

    marm_ean = lt_marm_ean

    exceptions

    ean_error = 1

    others = 2

    regards

    Aveek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2005 at 02:56 PM

    Hello Pieter,

    You have not mentioned what exactly you want to do with the EANs and MATNRs. What will be the data that you can provide as Input and what is the data you need as output.

    There are a lot of other function modules for EAN which might just suit your purpose (i.e., the crux of the logic may be the same for a lot of these function modules), even if they are not used in the MM02 transaction.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Pieter,

      I have a problem using about Function Mara_Ean11. Maybe you can help me.

      I have a screen about material create. I want to create EAN number with MARA_EAN11 Function. In your program, you are creating

      "TABLES

      MARM_EAN = i_MARM_EAN

      MEAN_ME_TAB = i_mean

      ME_TAB = i_ME_tab

      YDMEAN = i_YDMEAN"

      like that.

      Would you please a give me a example about this ?

      In fact, I understood i_marm_ean and i_mean. But I did not understand i_ydmean.

      Regards,

      Tanju

  • Posted on Jul 11, 2005 at 03:02 PM

    Hi,

    I don't know which exactly information ypu need but EAN numbers for materials are stored in MEAN table.

    Krzys

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.