Skip to Content

Append IDoc number to Filename in HCI

Hi Experts,

Our scenario is IDoc --> File. We need to append IDoc number from control record of sender IDoc and generate the filename and post it to SFTP server using SAP HCI. Please guide me to achieve this in HCI.

Thanks,

Ramu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 24, 2017 at 07:42 AM

    Hi Ramu,

    u can use Dynamic COnfiguration in your Message Mapping (https://blogs.sap.com/2015/08/26/dynamic-configuration-usages-in-sap-pi/).

    ESR: In your Mapping, set key "idocNum"

    IntegrationEngine: in Receiver Channel -> Advanced Tap -> aktivate "Use Adapterspecific Message-Attributes" and fill "Filename Attribute Name" with "idocNum"

    Regards,

    Alex

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 24, 2017 at 09:16 AM

    Hello Ramu,

    Please find the below blog which will help you to achieve the same.

    https://blogs.sap.com/2016/07/10/sap-hcp-is-sap-hci-dynamic-configuration-for-sftp-adapter/

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 24, 2017 at 01:22 PM

    Hi Shivaram,

    Can you please help me to resolve this since above configuration is not working for me.

    Thanks,

    Ramu.

    Add comment
    10|10000 characters needed characters exceeded