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

IDOC File port format to XML format

  • 1.  IDOC File port format to XML format

    Posted Thu September 18, 2003 04:21 PM

    Hi,

    I’m using webMethods 4.6 with the SAP Adapter. I would like to transform one IDOC File port format to one IDOC in XML, the problem is that i haven’t connection to the SAP system to use the pub.sap.idoc:decodeString service. I tried too, to use the sap.idoc:transformFlatToHierarchy service with unsuccessfully results.

    If can be useful, i have the IDOC dtd.

    Could you please help me?

    Thanks in advance.


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


  • 2.  RE: IDOC File port format to XML format

    Posted Thu September 18, 2003 05:02 PM

    Hi Mario,

    you absolutely need a connection to the SAP where the idoc file has been created to import all the structure of your idoc. (see inside DDIC Cache for idoc structure)

    then use theses services :
    decodeString
    decodeSDATA (for idoc type 3 or 4)
    transformFlatToHierarchie

    without SAP connection you have to use the EDI Adapter and declare a template for your file

    best regards
    Daniel


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


  • 3.  RE: IDOC File port format to XML format

    Posted Tue September 23, 2003 09:11 AM

    Thanks Daniel,

    That was my impression.

    Best Regards.


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