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

Inbound EDLNOT IDocs (Consumptions) - Customer material number conversion

Dear experts,

we face a problem processing consumptions (EDLNOT IDocs) from our customers.

The first lines in function module IDOC_INPUT_EDLNOT_START look like this:

ENHANCEMENT-POINT IDOC_INPUT_EDLNOT_START_G1 SPOTS ES_SAPLVED4.
*$*$-Start: IDOC_INPUT_EDLNOT_START_G1----------------------------------------------------------$*$*
ENHANCEMENT 15  MGV_GENERATED_SAPLVED4.    "active version
*{ALE Begin} generation http://intranet.sap.com/materialversion
 CALL FUNCTION 'MGV_ALE_ADD_INTERNAL_MATNR'
      TABLES
           idoc_data       = idoc_data
           idoc_contrl     = idoc_contrl
      EXCEPTIONS
           NUMBER_MISMATCH = 1
           OTHERS          = 2.
*{ALE End} generation
ENDENHANCEMENT.
*$*$-End:   IDOC_INPUT_EDLNOT_START_G1----------------------------------------------------------$*$*

Within this function module, the customer material number from the IDoc is modified. It's filled up with leading zeros, until it's 18 digits long. How can we deactivate this? We do not want to change the material number sent by the customer.

Best regards,

David

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2011 at 07:20 PM

    Hello, please verify the OSS message 619328. You'll have to change the table "MGVMAPMATNRALE" a little bit.

    BR,

    Joerg

    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.