IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

Submitted EDIFACT document is not recognized in TN.

  • 1.  Submitted EDIFACT document is not recognized in TN.

    Posted Wed March 30, 2016 06:34 AM

    Hi Guys,

    I am trying to implement processing of an inbound EDI message : EDIFACT D96A to IDOC, and I stuck on the very first step - EDIFACT document is not recognized in the system (top screenshot in the attached file).
    I attached a file with screenshots of my setup. Here is a description of what I did:

    • I added EDIFACT D96A document type through standard WM menu. Verified that corresponding schema appeared in Designer.
      I added two trading partners, and for each of them added external id with type “EAN” (qualifier 14 in edifact message) that match sender and receiver in my test message.
      I added TPA between these two partners with IS Doctype - wm.b2b.editn.TPA:EDITPA. Did not change anything in it (default values). Enabled it.
      I added a processing rule which invokes debugLog service with a message. I did it to check if message was recognized and correct service called.

    My EDIFACT message header is:
    UNA:+.? ’
    UNB+UNOA:3+9000480000003:14+4016300000004:14+100601:1239+000001845++ORDERS’
    UNH+00717399000001+ORDERS:D:96A:UN:EAN008’
    BGM+220+13152201+9’

    So, my question is what I am missing that it is not recognized?

    Thanks for help.


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


  • 2.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Wed March 30, 2016 01:48 PM

    Hi Alexey, I created that EDI doc type in our test environment and copy/pasted your EDIFACT ORDER snippet in the MWS Submit Documents screen and the doc type was recognized by TN. The partner and EDITPA setup is irrelevant at this point. Of course, I only had the first part of the EDIIFACT ORDERS document, so validation failed, but the doc was still recognized. How did you submit your document? Did you use the Submit Documents screen and, if so, did you select EDI Document Format?


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


  • 3.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Wed March 30, 2016 06:56 PM

    Yes the EDIIFACT snippet works for my test too TN recognizing…basically check the submit as mentioned above.

    HTH
    RMG


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


  • 4.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Thu March 31, 2016 05:20 AM

    Hi Guys,

    Thank you for trying to help.
    I submit documents through Submit Documents screen in B2B Settings. I use Upload FIle and EDI options with PRT ignore set to true (otherwise it fails with some DB error).

    Because it worked for you I decided to start from scratch on a new virtual machine.
    Did the same things:

    • Added two TPs with EAN codes
      Added D96A edifact message
      Created processing rule for these trading partners + D96A message → show message in a server log.
      Did not create a TPA (there is a default EDITPA)

    What I get now is that the message is recognized like this - screenshot attached.
    So, from here I have a few questions:

    1. Why is it recognized only as EANCOM Envelope? I expected it to recognize exact message - D96A because I added this DocType. I know that for custom doc types Identifying Query should be setup for recognition, but my understanding is that EDI is supported with built-in functionality if required packages are installed (they are).
    2. Why there are four other transactions before “EANCOM Envelope” as a result of submitting the file?

    I tried to move up my specific processing rule for this case, but it did not help.

    Waiting for your advice, guys.


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


  • 5.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Thu March 31, 2016 09:00 AM

    Hi Everyone,

    One of my colleagues helped me with this :slight_smile:
    It did not work for me because I added UNEDIFACT 96A message, while I had to add EANCOM 96A message. I always thought these are only different names for the same standard. After I did it the message was correctly recognized.
    I also know why there were 5 transactions: 1 for envelope and 4 per each order in the file (did not notice there were 4 of them).

    I hope this will help someone in future :slight_smile:

    Thanks to everyone for help.


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


  • 6.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Thu March 31, 2016 03:56 PM

    Glad to hear issue is resolved and human error happens :slight_smile:

    Cheers!
    RMG


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


  • 7.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Sun April 05, 2020 11:07 PM

    Hi,

    I am also doing same POC and i am getting same error as you mentioned on the top of this thread.

    Can you please send me the data you submitted in TN if you have or help me to get result from this POC.

    Thanks

    Surya


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


  • 8.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Mon April 06, 2020 01:46 PM

    Hi Surya,

    Do you have the correct EDIFACT payload for the test you are trying?

    What format you are actually doing POC EDIFACT or EANCOM messages and as per your screenshot it is EANCOM ?

    HTH,
    RMG


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


  • 9.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Mon April 06, 2020 06:54 PM

    Hi Surya,

    I’m not familiar with EANCOM specifically, but it appears to be a subset of UN/EDIFACT. Your TN is recognizing the document type as EANCOM, but is unable to determine the sender and receiver which, I’m pretty certain, are based on the Sender/Receiver ID’s/Qualifiers in the UNB (Interchange Header segment). Those ID’s and qualifiers must be added as external ID’s in their corresponding TN partner profiles.

    Thanks,
    Mary


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


  • 10.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Tue April 07, 2020 12:36 AM

    Hi Surya,

    What Mary has mentioned is correct, most likely your EDI document is not recognized due to EDI ID qualifier not able to resolve to a valid TN partner profile.

    Please read page 59 of http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/adapters_estandards/eStandards/EDI/EDI_9-12/9-12_Module_for_EDI_Install_and_Users_Guide.pdf.

    From what I can see, it’s able to recognize the EANCOM envelope, but not the actual EANCOM payload. Hence that indicates something is not right there.

    You can also increase the logging level to TRACE in IS subsystems for TN and also EDI adapter to see more details.


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


  • 11.  RE: Submitted EDIFACT document is not recognized in TN.

    Posted Tue April 07, 2020 01:41 AM

    Hi Surya,

    Based on the experts opinions above as suggested check your EANCOM payload (data) and cross check the EDI ID (Sender,Receiver qualifier/value) are matched with respect to the TN ExternalID configuration in the MWS/TN Partner Profile’s section. This way the first step of TN recognition will work and triggers the PR (rule) for it’s further processing.

    ID’s and qualifiers must be added as external ID’s in their corresponding TN partner profiles.

    Test the above solution and post your results again!

    HTH,
    RMG


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