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
  • 1.  Missing Record Branch Step

    Posted Wed January 30, 2019 03:25 AM

    Hi All,

    Hope you’re all well. I was wondering if you could help with an issue I’m having.

    In my outgoing ORDER CONFIRMATION idoc document (SAP) I have the record E1EDP20.

    E1EDP20 only exists/appears in the idoc if the product on that lineis on back order.

    If the line item is OK and in stock then E1EDP20 doesn’t appear in the doc.

    My question is when I branch out and create a sequence what expression do I write to checdk whether the Record E1EDP20 exists or not?

    I’ve tried

    %/E1EDP20% = $null

    but it doesn’t work and just always goes to to my $default label

    Cheers


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: Missing Record Branch Step

    Posted Wed January 30, 2019 05:05 AM

    Can you throw a screenshot showing the flow code with branch properties and also the document structure of E1EDP20.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 3.  RE: Missing Record Branch Step

    Posted Wed January 30, 2019 05:56 AM

    Hi Mahesh,

    You well? Thank you for responding; very kind of you.

    Please see attached.

    Again, after the order is received by SAP, it sends out an order confirmation.

    As you can see, E1EDP20 segment/record is a child of E1EDP01. E1EDP01 represents each line on the order received.

    If E1EDP20 is missing then that means that the whole of that line is ‘accepted’

    If E1EDP20 is visible then it means that line is on ‘backorder’

    I hope I’ve been clear Mahesh.

    Cheers.



    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 4.  RE: Missing Record Branch Step

    Posted Fri February 01, 2019 08:25 AM

    Hi Mahesh,

    Any further thoughts?

    Cheers.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Missing Record Branch Step

    Posted Fri February 01, 2019 09:21 AM

    Hi John,

    Use Branch on Variable
    use label “/.+/” - if the value exists
    Default - for null

    Find the screen shot for more details:

    Regards,
    Sreekanth
    BranchC.PNG


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 6.  RE: Missing Record Branch Step

    Posted Fri February 01, 2019 09:37 AM

    another way with branch on condition is:

    set label as %/testDoc/XYZ%==null ( for Null check)

    Regards,
    Sreekanth


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 7.  RE: Missing Record Branch Step

    Posted Fri February 01, 2019 09:58 AM

    Sreekanth,

    Thank you for your support. You’re very kind.

    I tried another way before I saw your response and it seems to work…

    Here is the E1EDP20 segment again…

    0 20170116 093402

    I noticed the 'SEGMENT = “1” ’ part so I did a branch on two sequences…

    %/E1EDP20/@SEGMENT% = “1”

    or

    $default

    This seemed to work.

    How do I check if E1EDP20 in its entirety? Could I use %/E1EDP20% == null (shouldn’t it be $null)

    Can you indly also tell me what “/.+/” means?

    Thank you for your help. You have been brilliant.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Missing Record Branch Step

    Posted Sat February 02, 2019 06:12 AM