Skip to Content
author's profile photo Former Member
Former Member

accessing the sender file name in the response email

Hi,

I have an asynchronous proxy scenario wherein I am calling an outbound proxy within an inbound proxy.

Basically a file is sent from an external partner and response is sent back to them if there are any errors. Also email notification will be sent and that email should include the sender file name so that they can know which file is erroneous and can resend that file after making changes. Any help will be appreciated.

Many Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 03:15 PM

    I believe we have to use some adapter specific message attibutes in the sender file adapter, but I am not sure how to include that in the email that I will be sending back.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 03:15 PM

    Hi,

    Have a look just two threads below yours !!

    File recr Adapter : How to set target directory based on sender interface ?

    See "Adapter-Specific Message Attributes" for a Sender File Adapter

    http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm

    I suppose your flow is:

    1. File -> PI -> proxy_req (request)

    2. proxy_resp -> PI -> Mail (response)

    Thanks to "Adapter-Specific Message Attributes" ofr a Sender File Adapter, you will be able to store filename in DynamicConfiguration and then you will able to use a UdF to catch the source file and provide it somewhere in your proxy_req.

    After for the returned flow "2. proxy_resp -> PI -> Mail (response)", your proxy_resp has to returned to PI the filename providen with the 1st step.

    And then, In PI you will be able to send by email the source filename.

    Regards.

    Mickael

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.