Skip to Content
avatar image
Former Member

Error In inbound Processing IDoc

Dear All,

I am facing error while inbound processing of IDoc

In status record of IDoc following errors are occuring

Status 60 : EDI: Syntax error in IDoc (mandatory segment missing)

The segment E1MAKTM has the attribute 'Mandatory' in the syntax description of the basic type MATMAS05 (customer enhancement ). However, the segment is missing in the IDoc

Status 51: Application Document not posted

Log details :

Error : Material Number should be filled.

When i checked IDoc all 4 fields in E1MAKTM have the values in inbound IDoc.

Please guide me how to resolve these issues so that IDoc will be posted and Material Master will get created in reciever system.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Nov 02, 2010 at 02:15 PM

    Hi,

    Check the data in the segment is relevent data or not.

    Regards

    Praveen

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Praveen,

      I checked the data in IDoc for this segment.

      It is ok as required in basic message type.

      e.g. the error says that mandetory segment E1MAKTM is missing.

      when i check basic type

      MSGFN : Function

      internal data type : CHAR

      Internal length : 000003 characters

      Position in segment : 001, Offset : 0063. external length : 000003

      SPRAS : Language Key

      internal data type : LANG

      Internal length : 000001 characters

      Position in segment : 002, Offset : 0066. external length : 000001

      MAKTX : Material Description (Short Text)

      internal data type : CHAR

      Internal length : 000040 characters

      Position in segment : 003, Offset : 0067. external length : 000040

      SPRAS_ISO : Language according to ISO 639

      internal data type : CHAR

      Internal length : 000002 characters

      Position in segment : 004, Offset : 0107. external length : 000002

      is information.

      and data in segment of IDoc is

      MSGFN 005

      SPRAS E

      MAKTX MANATA2000 TEST ALE

      SPRAS_ISO EN

      which i think is ok.

      I have no clue why this syntax error is coming.

      Thanks

      Niketan

  • Nov 02, 2010 at 02:29 PM

    are you talking about 2 different idocs, right?

    the first has no description, and the second has no material number.

    if an idoc has status 60 syntax error, then it cannot be posted, so it never can get status 51.

    how is this IDOC created?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Gautam Mylavarapu

      Hi,

      Is MATNR filled up in segment E1MARAM?

      --> Yes it is filled up. (just one more this in reciever system no external # is allowed)

      What is the message number and description of the error?

      --> At status 60 (Syntax error) ---> Message no. E0072 description: EDI: Syntax error in IDoc (mandatory segment missing)

      Is there any segment showing up in 'Red' color when you see the IDOC

      --> No When I see IDoc i dont see any red color element.

      thanks in advance

  • avatar image
    Former Member
    Nov 10, 2010 at 07:41 AM

    hi niket

    Have u assinged message type to idoc type??

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2010 at 08:13 AM

    Hi Niketan,

    Please make sure while you are receiving the idoc( at the inbound side) the min occurence of the mandatory segment should be 1.

    Regards,

    Vinod

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Gnana,

      in WE02 i opened the IDoc with 51 status.

      But it is saying "No data records flagged as containing errors are available"

      Thanks and regards

  • avatar image
    Former Member
    Dec 01, 2010 at 01:50 PM

    Thanks assigned correct extension

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 08, 2011 at 05:17 AM

    Hi,

    we can check status 60

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 08, 2011 at 05:18 AM

    Hi,

    we can check status 51

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      In your message you said the error message is "Error : Material Number should be filled." and also you confirmed the material number is fille in the Idocs but there is another statement you (just one more this in reciever system no external # is allowed) I don;t understand what is this..

      More over t seems you are using extenstion type, can you please check in which user exit you have written the logic. probably you are not filling all required eport parameters in the user exit.

      Please check and correct the user-exit where you hare writen the logic and let me know the exit name and logic you have written there..