Skip to Content
avatar image
Former Member

SFTP Receiver-Deep Structure Content Conversion Required.

Hi Experts,

in one of our requirement- receiver is IDOC- structure and we need write the data in SFTP file. can you please suggest the module parameters for receiver sftp adapter.

Regards,

Krushi.

idoc structure.jpg (77.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Sep 09, 2015 at 11:11 AM

    Hi Krushi,

    Sender is SFTP?

    If yes,get the data using normal content conversion using beans,Then used Java/Multimapping.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 09, 2015 at 11:24 AM

    Hi,

    Your requirement is not clear.

    Please elaborate a bit.

    Thanks,

    Apu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2015 at 11:26 AM

    Hi Krushi,

    You can use below modules to configure your receiver SFTP

    Module name: localejbs/AF_Modules/MessageTransformBean

    key:XML2PLAIN

    Regards,

    -Partha


    Capture.JPG (40.8 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Pratha,

      The module parameters which you mentioned helped for creating desired output file- with header and line item info-but still we are not able read the data internal nodes as per the below.

      we are still not able to read the content of the data which is inside hierarchy structure..

      E1MATMAS [Inside node] -->

      -->E1BPBATCHATT---not able to read the data - --can you suggest module parameter for this?

      we used SimpleXML2Plain --instead of StructXML2Plain- this makes the difference.

      Regards,

      Krushi.

  • avatar image
    Former Member
    Sep 09, 2015 at 11:43 AM

    Hi Krushi,

    As we have the limitation in FCC where we can use for only up to 3 levels. I guess same goes for message transform bean also.

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0?QuickLink=events…

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 10, 2015 at 01:43 AM

    Hi Krushi

    If your target payload is already in IDoc XML format, and all you want is to convert it to IDoc Flat format, you can just use standard module IDOCXmlToFlatConvertor for the conversion. There is no need to go for FCC or MTB which both wouldn't work anyway.

    There are more details in the following blogs.

    Converting IDoc XML to Flat File and Vice-Versa

    How to Use User-Module for Conversion of IDoc Messages Between Flat and XML Formats

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded