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
  • 1.  IDOC error

    Posted Wed August 27, 2003 03:18 PM

    Hi,
    I’m sending a custom IDOC to SAP. I’m using following steps:-
    transformHeirarchyToFlat
    encodeSDATA
    ale.inboundProcess

    I am able to create the IDOC in SAP but the Header Record & detail name changes at SAP.
    The record name is appended with space and first field.
    For example the webMethods document is
    Header
    -ordernum
    -deliveryType
    But in SAP the value goes as
    Header ordernum
    -ordernum
    -deliveryType
    I have checked all services, the documents are absolutely perfect but when they reach SAP its distorted. I’m not losing any data in any of the records but the record names change.
    How to solve this . I’m not even able to debug since all are adapter services.
    Do I need to make any setting to resolve this.

    Rgds
    mike


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: IDOC error

    Posted Thu August 28, 2003 11:34 PM

    Try submitting IDOC in XML format. Here are the steps…

    IDOC Structure –> recordToDocument –> xmldata
    –> decode –>
    –> call ALE InboundProcess–>

    I believe you should pass message type, may be extension of message type

    Regards
    Rao


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: IDOC error

    Posted Fri August 29, 2003 07:20 AM

    Hi,
    I am passing the message type in the IDOC . Even the document structure is perfect at before calling inboundprocess . But in SAP Z_HDR become Z_HDR UK where UK is value of first field.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 4.  RE: IDOC error

    Posted Fri August 29, 2003 09:21 AM

    This probably is becoz of the length definition of the fields in IDOC. Just have a check there.

    HTH
    BS


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB