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.  Posting IDOCS to SAP from BC

    Posted Mon March 28, 2005 11:56 PM

    I receive an XML Document through a FTP site. I have associated this to a flow service. In my flow service, I am invoking documentToRecord to get my XML document and map it to a record structure.

    After documentToRecord step, I am mapping my XML record structure to DELVRY03 structure. This is followed by step OutboundProcess. I got all this information from BIT531. My question is how do I map my DELVRY03 structure to pipeline in of OutboundProcess. Also, where do I get the transactionID. Is this generated automatically? In SAP, I have the inbound SHPCON message type assigned. Please clarify, how I need to proceed in the OuboundProcess step. As you can tell, I am still learning these things.

    I have searched in the discussion groups looking for an answer. I have not been successful so far.

    I appreciate your help.

    Regards,
    Roger


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


  • 2.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 11:54 AM

    Roger,

    The input structures for the OutboundProcess service (IDOC_CONTROL and IDOC_DATA or IDOC_CONTROL_REC40 and IDOC_DATA_REC40) can be created from a document in the pipeline using pub.sap.idoc:transformHierarchyToFlat.

    Hope this helps,

    Koen


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


  • 3.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 04:42 PM

    Koen,
    Thanks for the reply. I did not understand the solution.
    These are the steps in my flow service

    1. docmentToRecord (pub.web:documentToRecord)
      Here the makeArrays has been set to ‘True’ and the boundnode from the service out is mapped to my record structure for the incoming XML document.
    2. I am looping through my XML record structure and mapping to DELVRY03
    3. OutboundProcess (pub.sap.transport.ALEutboundProcess)
      My question is at the third step. How do I map my DELVRY03 to IDOC_CONTROL and IDOC_DATA or IDOC_CONTROL_REC40 and IDOC_DATA_REC40?

    I would sincerely appreciate your help.

    Roger


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


  • 4.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 04:52 PM

    Before the 3rd step use the pub.sap.idoc:transformHierarchyToFlat service this will create IDOC_CONTROL_REC40 and IDOC_DATA_REC40 respectively finally map to the OutboundProcess.

    HTH,
    RMG.


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


  • 5.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 06:09 PM

    RMG,
    Thanks for the reply.

    When I invoked sap.idoc:transformHierarchyToFlat, I am not sure about the inputs and the outputs to this service. How do I map DELVRY03 to transformHierarchyToFlat?

    Thanks,
    Roger


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


  • 6.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 07:01 PM

    Rogger,

    Check this link,if it helps.
    [url=“wmusers.com”]wmusers.com


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


  • 7.  RE: Posting IDOCS to SAP from BC

    Posted Tue March 29, 2005 07:01 PM

    Sorry there is a typo in your name (Roger)


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


  • 8.  RE: Posting IDOCS to SAP from BC

    Posted Thu March 31, 2005 05:31 AM

    RMG,
    Thanks for the information.

    Roger.


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