Automate

 View Only
  • 1.  Query EAN/UPC in MARA

    Posted 03-19-2021 14:15
    Hi,
    I created a Query with Table MARA.
    Criteria are EAN/UPC and Material Type.

    Output are Material Number, Material Type and EAN/UPC.

    When I tested (with an existing EAN already in SAP) just to test and to get Data Preview, I received "No data are available". In SAP, MARA  found one record with material number.
    Is there a specific format to follow?
    Any input is highly appreciated.

    Thank you,

    ------------------------------
    Luzpur Parrell
    Sr Data Analyst
    PACTIV EVERGREEN
    570730780
    ------------------------------


  • 2.  RE: Query EAN/UPC in MARA

    Posted 03-21-2021 18:23
    Hi Luzpur,

    check your input and check the table entry.
    Field length in the table is 18, the length of your input is 11.
    For some tables you have enter the full length of the field, so with leading zeros or leading or preceding spaces.


    ------------------------------
    Jan van Asseldonk | Consultant
    CTAC | +31629078169
    ------------------------------



  • 3.  RE: Query EAN/UPC in MARA

    Posted 03-22-2021 08:31
    Hi @Luzpura Parrell -

    For me, I needed to take off the padding in the EAN field and I did not need to provide the leading zeroes as inputs. So you may need to try a few different ways on your system.


    Thank you!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------



  • 4.  RE: Query EAN/UPC in MARA

    Posted 03-22-2021 09:20
    Hi Jennifer,

    Thank you for the response.

    That field is grayed out in my script. Is it related to SAP role?


    Thanks

    ------------------------------
    Luzpur Parrell
    Sr Data Analyst
    PACTIV EVERGREEN
    570730780
    ------------------------------



  • 5.  RE: Query EAN/UPC in MARA

    Posted 03-22-2021 13:47
    Hi Luzpur -

    If you can create a new Query script, then you should be able to set any of the properties, including the padding. So I'm not sure what is going on. You should open up a support ticket. Can anyone else who's also a developer change this or is it just affecting you?

    Thank you!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------



  • 6.  RE: Query EAN/UPC in MARA

    Posted 03-29-2021 14:23
    Hi Jennifer,
    Is there an template in the Library to Query EAN?

    Thank you.

    ------------------------------
    Luzpura Parrell
    Sr Data Analyst
    PACTIV EVERGREEN
    570730780
    ------------------------------



  • 7.  RE: Query EAN/UPC in MARA

    Posted 03-29-2021 14:41
      |   view attached
    Hi Luzpur -

    I've attached an example.  Please open a Support ticket to get your padding issue addressed. 

    Thank you,

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------

    Attachment(s)

    Qsq
    QueryEAN.Qsq   192 KB 1 version


  • 8.  RE: Query EAN/UPC in MARA

    Employee
    Posted 03-25-2021 11:48
    Hi Luzpur
    Since you have Foundation, you'll need someone who has access to Settings -> Preferences -> Foundation tab, where you can check a box to allow developers to manage padding.  IMHO, it should always be checked.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 9.  RE: Query EAN/UPC in MARA

    Posted 03-29-2021 14:16
    Hi Sigrid,
    Thank you for the reply. My setting in Foundation IMHO has been updated but I still cannot change Criteria to Padding.


    ------------------------------
    Luzpur Parrell
    Sr Data Analyst
    PACTIV EVERGREEN
    570730780
    ------------------------------



  • 10.  RE: Query EAN/UPC in MARA

    Posted 03-22-2021 02:11

    Hi Luzpura,

     

    as mentioned before, you have to fill your Material number to 18 letters.

    Then the query should work.

     

     

    Mit freundlichen Grüßen

     

    Guido Berens

     

    RWE Power Aktiengesellschaft

    Tagebau Hambach

    TZ Maschinentechnik – Technik Komponenten

    Frechener Str. 12, 50226 Frechen

     

    T          +49 2234 935 58441

    M        +49 15209204446

     

    mailto: guido.berens@rwe.com

     

     

    ---------------------------------------------------------------
    RWE Power AG
    Vorsitzender des Aufsichtsrates: Zvezdana Seeger
    Vorstand: Dr. Frank Weigand (Vorsitzender), Dr. Lars Kulik, Kemal Razanica, Nikolaus Valerius

    Sitz der Gesellschaft: Essen und Koeln
    Eingetragen beim Amtsgericht Essen
    Handelsregister-Nr. HRB 17420
    Eingetragen beim Amtsgericht Koeln
    Handelsregister-Nr. HRB 117

    USt-IdNr. DE 8112 23 345