IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  send IDOC to SAP

    Posted 05/12/09 04:54 AM

    Originally posted by: heyspo


    Hello,
    I have a file with head (only one) and lines (more than 1000 lines) and I have to send it to SAP in a IDOC format.The IDOC can not be over 950 lines so that this file would have to send two IDOC.The first with a header and 950 lines and the second with the same header and the remaining lines.

    Can someone give me some idea to do it?

    Thanks
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: send IDOC to SAP

    Posted 05/12/09 10:04 AM

    Originally posted by: LaurentB


    I would consider changing the input type tree so that the file is made of a header, made of LineSet(s), each LineSet being made of Line(s), up to a maximum count of 950.

    Then it would be failrly easy to run a functional map as many times as there are LineSets, to generate as many Idocs as needed
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: send IDOC to SAP

    Posted 05/12/09 10:18 AM

    Originally posted by: heyspo


    I've done what you say. I generate a file with a header and 950 lines, but
    can not put the same header and the remaining lines.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: send IDOC to SAP

    Posted 05/13/09 04:18 AM

    Originally posted by: LaurentB


    What's the issue when you do this ?

    If the file is something like

    File
    Header
    LineSet(s)
    Line(s)

    Then it is possible to call FMap (LineSet, Header) to call the map as many times as there are Linesets, and pass the header for reference as a second argument
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 5.  Re: send IDOC to SAP

    Posted 05/13/09 10:53 AM

    Originally posted by: heyspo


    Thank you Laurent for the appointment.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange