webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

EDI X12 4010 945 FFP.0011.0012 Validation Error: Unexpected element

  • 1.  EDI X12 4010 945 FFP.0011.0012 Validation Error: Unexpected element

    Posted Fri January 22, 2010 09:57 AM

    We are experiencing the below validation error while validating the EDI X12 4010 945.We are using WM 6.1 Integration Server.


    Document Type: X12 4010 945;
    Error Message: SEGMENT ERROR 1
    Error Postion: 15
    Error Message: [FFP.0011.0012] Unexpected element
    Error Code: 12
    Segment Reference: MAN
    ===================================================;
    Error Type: EDI Validation;


    Below is the sample EDI Doc for which we are experiencing this issue.



    As per the T945 schema definition MAN and LX segment occurance is >1.
    Unable to understand what is causing the above validation error.Can someone pls. advice.

    Thanks,
    JP


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: EDI X12 4010 945 FFP.0011.0012 Validation Error: Unexpected element

    Posted Fri January 22, 2010 03:54 PM

    It shows MAN segment coming in the right place under LX/MAN supposed to be.

    Can you just try processing with single ST and remove MAN segment and see how it behaves validation? – this is to debug only see below:

    BTW,did you remove the delimiters?

    HTH,
    RMg


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: EDI X12 4010 945 FFP.0011.0012 Validation Error: Unexpected element

    Posted Mon January 25, 2010 09:58 AM

    We have figured out there are no problems with those EDI transactions where we have one MAN segment per transaction.We have issues only while we need to process a transaction which contains multiple MAN segments.

    This is due to fact the out of box T945 schema definition provided in WM. Since the same production file is getting translated by a different EDI translator without any issues. We have created a custom schema in webMethods to accomodate MAN definition indide the nested LX (say LX20 second loop of LX segment after LX1,MAN1 and W12 segments). It seems the EDI is getting processed now. but I’m unsure if it’s a good practise.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 4.  RE: EDI X12 4010 945 FFP.0011.0012 Validation Error: Unexpected element

    Posted Mon January 25, 2010 03:42 PM

    Ok great!! thanks for the updating back…Some times Schema customization happens for it to work upon research or SAG tech support…Only options.

    HTH,
    RMG


    #edi
    #webMethods
    #Integration-Server-and-ESB