Skip to Content

Convert xml to EDIFACT format -SFTP communication

Hello,

Requirement: We need to convert xml messages to EDIFACT format using SFTP.

We are going to get the license for B2B Add-on from SAP soon.

Questions:

1) We have a regular SFTP adapter already installed on our current PI system but do we need to install any separate B2B SFTP adapter apart from normal SFTP adapter ? Or both are same ?

2) Standard mappings delivered with the installation of B2B Add-on would be Idoc based or xml based mappings ? So that we can take a decision how to deal with SAP system either with Idoc or Proxy.

3) If the standard mappings are Idoc based mappings, is it good practice to avoid using standard mappings based on Idoc and use proxy then create own mappings ?

If any one could help me to get any kind of example based scenarios on how to configure EDIFACT conversion using SFTP adapter that would be great.

Or any reference documents related to EDIFACT conversion using SFTP adapter specifically. Thank you !

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 07, 2017 at 09:08 PM

    Hi Bhavana,

    See below for the answers to your questions:

    1. The SFTP adapter is merely a technical adapter that is not restricted in how you use it to transmit messages meaning you can use it for B2B or any other requirement.

    2. SAP has only provided a small number of template mappings but those are based on XML -> IDoc or vice versa.

    3. I'm not really sure why you would choose to defer to proxy for B2B message transfer in place of IDoc. IMO, I would always opt for IDoc in this type of scenario. Do you have some reason why you are thinking about proxy for this integration?

    As for the conversion you can simply add the converter module for EDIFACT into your SFTP channel by referring to localejbs/EdifactConverterModule under module name.

    Regards,

    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bhavana,

      If you have some version that closely represents the versions you cannot find then I think it is an approach worth looking into. I think it all depends on what kind of gaps may exist from versions that may be close. If you only have to remove a couple of fields/segments for instance then it could solve your issue. If you find that you are having to create/delete a lot of content then I would revert back to asking SAP on your needs.

      Regards,

      Ryan Crosby

  • Mar 08, 2017 at 02:54 PM

    Hi,

    My few cents, when you talk about EDIFACT in PI, you talk about module beans and the the module beans are supported in determinated adapters, i am not sure if it is supported by SFTP adapter the B2B module beans, but in the worst case you can do two scenarios and to send by SFTP form PI directory in the second one.

    Check this blog

    https://blogs.sap.com/2012/02/03/the-new-b2b-add-on-for-sap-netweaver-process-integration/

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • I can confirm that it will work in the SFTP adapter as we use them in some of our scenarios. As you have stated though it may not be supported :)

      Regards,

      Ryan Crosby