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

Creating STSE EDI segments

  • 1.  Creating STSE EDI segments

    Posted Thu March 13, 2003 01:35 PM

    I am relatively new to the webMethods world. I have performed all the mappings for an ANSI x12 outbound 810 and would like to wrap it with the ST/SE segments. It is my understanding that I can call validate then convertToString for this but for some reason after calling this service I don’t have a valid ST/SE structure. Am I missing something? Thanks in advance


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


  • 2.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 01:39 PM

    It would be helpful if you could paste your sample edi file here.
    Thanks


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


  • 3.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 02:02 PM

    Did you do an envelope process at the beginning? I tried to recreate your issue and was successful. I got the record structure until GE and then there was undefData.

    I think it could be something about setting the delimiters for the EDI file.

    Good Luck and if we dont find out the solution soon, the experts will help us for sure.
    Thanks


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


  • 4.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 04:29 PM

    ST/SE isn’t considered part of the envelope. It’s part of the transaction set. Therefore it is part of the 810 record definition. You need to set a value for ST01 (in this case, to 810). Set SE01 to an empty string and convertToString will plug-in the segment count. You can either set ST02 and SE02 yourself, using wm.b2b.edi.util:controlNumber, or set them as an empty string and convertToString will add in the control number.

    HTH


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


  • 5.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 04:49 PM

    Worked like a charm Rob. Thanks for your help!!!


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


  • 6.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 05:18 PM

    Glad to be of help. Perhaps you can “Pay It Forward”. :slight_smile:


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


  • 7.  RE: Creating STSE EDI segments

    Posted Thu March 13, 2003 06:09 PM

    “Pay It Forward”… great concept, depressing movie. My daughter has it on her list of “movies I will never see again”.

    :wink:

    Mark


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


  • 8.  RE: Creating STSE EDI segments

    Posted Thu August 21, 2003 06:34 PM

    Hi,
    i am doing mapping from delimited flatfile to 835 EDI mapping in 6.0.1.
    i am done with segment mapping , and when i do converttoString service i am getting NullPointer exception.
    i am passing the EDI document as input and ns record as actual EDI document.
    what could be the problem here?
    when i look into the EDI document from my mapping , only i see ST01 as 835 and ST02, SE01 and SE02 all are blanks.
    any help is appreciated.its some what urgent.

    Thanks,
    Rao.


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


  • 9.  RE: Creating STSE EDI segments

    Posted Thu August 21, 2003 07:57 PM

    Make sure your mapping of segments are perfect(IData Values).

    And Instead of giving nsRecord,try with passing the ffschema param(EDIFFSchema.X12.V4010:T835)of convertToString,This should work.

    Above mentioned schema will be stored in EDIforTN Package.

    HTH.


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


  • 10.  RE: Creating STSE EDI segments

    Posted Wed April 20, 2005 11:02 PM

    Version 6.1 My 850 SE is not counting my records correctly. Consistantly I have 4 extra items in my se count. I am sending a group of ST/SEs in one ISA envelope. It seems like it is counting my ISA GS IEA and GE in every ST Loop.

    I am using
    wm.b2b.editn.TAP:getEDITPAData
    Looping over the values
    wm.b2b.edi:convertToString
    wm.b2b.edi.util:addGroupEnvelope
    wm.b2b.edi.util:addICEnvelope
    wm.tn.doc.xml:routeXML

    Any suggestions.
    Below an example of 850 Outbound

    ISA00 00 ZZMAN 121111875441 0504201606U004012016061700T|
    GSPOMAN1111875441200504201606201606169004010
    ST85050114100
    BEG00SA*36-50114100
    20050114
    PERBDPURCHASING DEPARTMENTEMMaryjo.Holman@man.com
    PERBDPURCHASING DEPARTMENTFX918/461-5376
    PERBDPURCHASING DEPARTMENTTE918/250-8541
    DTM00220050117
    TD5ZZFULL FRT ALLWD
    N9
    PO
    36-50114100
    MSG
    BOX & TAG MIDLANDSHIP W/35-50114-107 TO ODESSA
    N1STMAN PIPE AND SUPPLY CO.0805929670001
    N32206 GARDEN CITY HIGHWAY
    N4
    MIDLANDTX79702
    N1BTMAN PIPE AND SUPPLY
    0805929670001
    N3P.O.BOX 35632PURCHASING DEPARTMENT
    N4TULSAOK74153
    N1
    VNOKLAHOMA RIG & SUPPLY CO.
    N3
    2348 EAST SHAWNEE
    N4MUSKOGEEOK
    PO100136.0EA1.65BP3723445
    PID
    F0947-12 GOJO NATURAL ORANGE HAND CLEANER14 OZ GRIPPIT BTL W/NAIL BRUSH
    PO1
    002
    12.0
    EA
    8.08
    BP3726455
    PID
    F422.072 ROUGH TOUGH SCRUBS IN A BUCKET(72/BUCKET)
    PO1
    003
    24.0
    EA
    0.57BP3728940
    PID
    F1/2 X 520 ROLL TFE THD TAPE
    PO1
    004
    72.0
    EA
    2.23
    BP3729010
    PID
    F1 X 1296 ROLL TFE THD TAPE
    PO1
    005
    20.0
    EA
    0.5BP3843330
    PID
    F025-1627-B ALEMITE HYD FTG STR 7/8X 1/4 PT
    PO1
    006
    6.0
    EA
    8.46
    BP3921080
    PID
    F197-K437 CORBIN SESAMEE LG SHANK KEYLESSPADLOCK
    PO1
    007
    10.0
    EA
    0.87BP3990300
    PID
    F1-3/16 X 150 FT HIGH VISIBILITY ORANGLOVINYL FLAGGING TAPE
    PO1
    008
    100.0
    EA
    0.01
    BP4107150
    PID
    FCT-4B 4 BLK TYWRAP (PKG/100)
    PO1
    009
    3.0
    EA
    7.43BP4296403
    PID
    F278G PROTO PLIERS
    PO1
    010
    1.0
    EA
    8.38
    BP4296430
    PID
    F292R PROTO 10 LEV WRENCH PLIERS W/QUICKRELEASE
    PO1
    011
    1.0
    EA
    19.17BP4378830
    PID
    F023-56026 ALLEN HEX KEY SET
    PO1
    012
    3.0
    EA
    3.86
    BP4381170
    PID
    F4103 1-1/2 RED DEVIL STIFF PUTTY KNIFE630-4103
    PO1
    013
    2.0
    EA
    11.4BP4446100
    PID
    F8 RIDGID HD PIPE WRENCH 31005
    PO1
    014
    1.0
    EA
    44.4
    BP4446150
    PID
    F24 RIDGID HD PIPE WRENCH 31030
    PO1
    015
    3.0
    EA
    9.26BP4451247
    PID
    F708 PROTO 8 ADJ CR WRENCH
    PO1
    016
    3.0
    EA
    11.79
    BP4451250
    PID
    F710 PROTO 10 ADJ WRENCH FULL FINISH
    PO1
    017
    12.0
    EA
    2.89BP5278710
    PID
    F
    *&


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


  • 11.  RE: Creating STSE EDI segments

    Posted Wed April 20, 2005 11:24 PM

    Hello,
    What exactly is happening in your "Looping over the values " section? And, are you manually setting the segment count or letting convertToString do it for you? Have you tried it with only less than or greater four transaction sets? Have you tried to set this up with a minimal amount of data like 1 shipping request on one transaction? Good day.

    Yemi Bedu


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


  • 12.  RE: Creating STSE EDI segments

    Posted Thu April 21, 2005 12:15 AM

    Hi Cheryl,

    ST/SE isn’t considered part of the envelope. It’s part of the transaction set. Therefore it is part of the 810 record definition. You need to set a value for ST01 (in this case, to 810). Set SE01 to an empty string and convertToString will plug-in the segment count. You can either set ST02 and SE02 yourself, using wm.b2b.edi.util:controlNumber, or set them as an empty string and convertToString will add in the control number.
    Hope This helps


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


  • 13.  RE: Creating STSE EDI segments

    Posted Thu April 21, 2005 12:17 AM

    Sorry i mentioned wrong in the previous post.
    Set the ST01 to 850 for your case.

    Ramesh


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


  • 14.  RE: Creating STSE EDI segments

    Posted Thu April 21, 2005 01:55 AM

    Cheryll,

    Please follow as Ramesh suggested,just set empty value to SE01 using setValue and convertToString will do all the rest gives exact count of segments.

    HTH,
    RMG.


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


  • 15.  RE: Creating STSE EDI segments

    Posted Thu April 21, 2005 02:01 AM

    Cheryll,

    One small suggesstion please do not disclose your EDI document data to outsiders,its always advised to maintain data confidential.Even if you put also just put some xyz test data etc…

    Regards,


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