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.

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

Similar Messages

  • Part of sender File name at the receiver side?

    Hello All,
    My requirement is like this.
    iam picking the file from FTP server and place the file in another FTP server with out mapping.
    I need to use part of sender file name to create the receiver side along with current date.
    for example.
    sender side file name : LM01000008.txt
    recevier side file name need to generate : LM01dd/mm/yyyy
    Please let me know how to achive this.
    i tried with the blog given below, but partial file name is not possible with that blog.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0229698450DB11989196758750510369End?blog=/pub/wlg/6400
    Thanks and Regards,
    chinna

    Hi Chinna,
    Use this code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
    String timestamp = dateformat.format(new Date());
    String newfilename=fileName+timestamp+".txt";
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards
    Suraj

  • Configure receiver file name as Sender file name

    Hi All,
        In PI7.1.  We have scenario(file to file). Here the sender system send multiple files and In the receiver system we need to populate the same filenames as Sender file Names.
    Could you please let me know is there a configuration to have Receiver file schem name As like sender file names.
    Thanks in Advance,
    Naga.

    Hi Naga,
    This can be achieved using either variable substitution or Dynamic Configuration by enabling Adapter Specific Message Attributes in sender and receiver file channels.
    If the sender file name and receiver file name needs to be exactly same then just check Adapter Specific Message Attributes in advanced tab of both sender and receiver channels. Check on File Name under that.
    Lot of help over this is already available in sdn, kindly serach and you will get lot of helpful blogs and wikis
    Regards,
    Gautam Purohit
    Edited by: Gautam Purohit on Apr 16, 2010 11:26 AM

  • How to keep same sender file name for receiver mail attachement

    Hi,
      i am working with File to Mail scanario. There i want to pick a flat file from native file system and then send it as email attachment. Now i am able to send the file but the flat is getting converted as an xml file. is there any method to keep the same sender file name and type for receiver mail attachment. i am not using any mail package. i am using XI payload and keep attachments.
    Thanks in advance.
    -Siva

    Hi,
    Yes,With out using the mail package u can send the Mail Attachments to the receiver side,
    In that case no need of Integration Repository objects.
    Chck this links.
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/community.user/blog/2006/09/07/email-reporting
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    If u dont get ur requirement then let me know ur Mail id i will send u a Doc.
    Regards,
    Phani
    Reward points if Helpful

  • I had to set up a new email ID, because I no longer had access to my old email address and Adobe was forcing me to change password, but I could not access the verification email. Now I cannot read my books under my new ID, even though I got Adobe support

    I had to set up a new email ID, because I no longer had access to my old email address and Adobe was forcing me to change password, but I could not access the verification email. Now I cannot read my books under my new ID, even though I got Adobe support to set up my new ID.

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • HT201320 if i set up a new email account on my iphone 4 can i get security code or extra pin to stop others accessing the new email account?

    if i set up a new email account on my iphone 4 can i get security code or extra pin to stop others accessing the new email account?

    No, and if I noticed anyone that I allowed to use my iPhone checking my email which is the same as opening any of my snail mail without my permission, that would be the last time they used my iPhone.

  • Condition check (based on sender file name) at receiver determination step

    Hi,
    My scenario is File to AS2 (Sender side file adapter and receiver side AS2 adapter)
    We have 5 customers, but the source location is same to pick the files, Here we are not using any ESR objects.
    Based on the source file name PI need to determine to whoom this file need to send at receiver determination step
    Craeted objects
    1 Sender CC,
    1 Sender agreement,
    1 Receiver determination
    5 Interface determinations
    5 Receiver agreements
    5 Receiver CCs.
    Could you please provide me your valuable inputs.
    Thanks
    Ramesh

    Hi Venkataramesh,
    I understand your scenario as, picking files (different file naming standard for different target customer) from one source folder. Based on file name, that payload should be sent to corresponding target customer. You have mentioned u201CHere we are not using any ESR objectsu201D. I can see two reasons for this decision
    1. PI is used to route the messages, i.e., no need to transform the payload. OR
    2. Files can binary files like PDF, ZIP, JPG, GIFu2026
    Now I can see two possible solutions
    1.     Simple solution, as proposed by u201CPrabhu Rajesh Janardananu201D, make it into 5 different scenarios  (5 sender channels).
    2.     Bit complex solution, only one sender channel, using extended receiver determination
    Step 1:- In Sender File channel check u201CAdapter u2013 Specific Message Adapteru201D in Advanced tab. File Name should be checked.
    Step 2:- In Receiver Determination, Select Type of Receiver Determination as u201CExtendedu201D. http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a423a8e5430e10000000a42189b/frameset.htm
    Step 3:- Do a Graphical Mapping (use it Operation Mapping in Receiver Determination).
    Step 4:-
    Source and target of graphical mapping will be same (below), because you donu2019t want to access input payload (it can be XML, flat file, JGP, GIF and you donu2019t have its structure).
    <Receivers>
       <Receiver>
          <Party agency="" scheme=""></Party>
          <Service></Service>
       </Receiver>
    </Receivers>
    Step 5:- Write a UDF in Graphical mapping as below. http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/03612cdecc6e76e10000000a422035/frameset.htm Pay attention to method declaration
    public String Determine_Receiver( Container container) throws StreamTransformationException
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String valueOld = conf.get(key);
    //Put your logic here
    if (valueOld.equal(u201Cuser1u201D)) {
    return u201Cuser1u201D;}
    if (valueOld.equal(u201Cuser2u201D)) {
    return u201Cuser2u201D;}
    if (valueOld.equal(u201Cuser3u201D)) {
    return u201Cuser3u201D;}
    Step 6: Now use this UDF to map to u201CReceiveru201D and u201C Serviceu201D.
    This solution need more fine tuning.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Jan 8, 2011 5:56 PM

  • Map File name in BPM to email response

    I have a scenario I am working:
    File FTP -> FTP -> RFC
    The file is deleted off initial server and pulled into our landscape to Processing server, then processed into SAP via RFC.  I wish for an email response to send on pass/fail of interface.
    This is all done and executing as expected with pass/fail message in body of email, received in inbox - no problem.
    However, one thing is missing....
    When the file is first processed, the File name is deleted and renamed with a time and date stamp (not ideal, but I got this working) is added when the file is created on receiving server.  I am using a BPM to do the file send mapping and email response.
    I wish to map the initial file name to the new file name, and then process then add time/date stamp when placed into Archive folder.  I would like the email to have the original name oif the file in the Subject line of the email, if possible....
    Has anyone done something similar?  Can you point me in the right direction?

    Hi,
    You can do this using Adapter specific identifiers in receiver CC. You can get the same filename as your source file.
    Blog: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Go thro this thread as well for more details: Target file of the same name as source file
    Then in BPM, add one more send step for a file receiver CC and place the file in the archive directory with timestamp.
    Regards,
    P.Venkat.
    Message was edited by:
            Venkataramanan

  • Dynamic Sender File Name

    Hi,
    It’s a File to ABAP Proxy Scenario.
    The files would be processed differently depending on the file name which would be dynamic.
    It would suffice if the file name can be made visible in the payload.
    Does any one have any idea on how to implement this without creating a file adapter module? This method would make it complex.
    Thanks,
    Rosine.

    Hi,
    If yor are on SP14,
    pls have alook at below blog.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    if you are lesser SP level, than
    1. you can ask for the file name in payload from source.
    2. You have to use adapter module for the same.
    Regards,
    Satish

  • Same sender file name with a different extension

    Hello Friends,
    My scenario is I have an xyz.xml file coming and i need to have the same file name in the receiver but with a different extension as xyz.csv and the source file name will not be the same, it will be changing.
    Can you please help me on this.this is a bit urgent to me.
    Thanks in advance.
    Regards,
    Kumar

    Kumar,
    Write <b>UDF</b> with <b>no input</b> parameters.
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        “http://sap.com/xi/XI/System/File”,
        “FileName”);
    String fname = conf.get(key);
    StringTokenizer st = new StringTokenizer(fname,".");
    String[] name = new String[2];
    while(st.hasMoreElements())
    for(int i=0;i<1;i++)
    name<b>[</b>i<b>]</b>=st.nextElement();
    String finalname = name[0]+".csv";
    conf.put(key,finalname);
    <b>Mapping Logic</b>
    UDF -
    > Target Rootnode.
    Make sure that u checked the Adapter specific message attributes in both comm.channel.
    If you have doubts reply back.
    Best regards,
    raj.
    Message was edited by:
            Raj

  • How can I verify my iCloud account if I can not access the primary email account associated with my Apple ID?

    The email address I had set for my Apple ID when I had originally signed up was through my college.  I have been out of college now for a few years and the email account has been deleted. I was trying to set up iCloud on my iPad and iPhone but it says I need to access the account to verify through email.  I have tried to change my Apple ID email to my current email address but it tells me I can not do this either because that email is set up as my rescue email.  How can I change my primary email address for my Apple ID or get my iCloud verified in this situation I'm in?

    Go to http://appleid.apple.com and click 'Manage your account'. You will be able to change the non-Apple email address you use as a login. You will then need to log out and in again on all your devices.

  • I cannot access the Advaced Email set up screen from my 9300 Curve

    Can I talk to someone in Blackberry who can solve my email problem? Blackberry premium email team have been unable to help me for the last 5 weeks despite many attempts. Blackberry forums and BIS do not address why I cannot access the Advanced Setting screen to set POP/IMAP details for my primary email address from my phone. I have 3 other email address's working fine. I have had a 9300 Curve for the past year and this problem only occurred when updating the Blackberry software to 6.0 Bundle 2647 (V6.0.0.00 - Platform 6.6.0.223) 5 weeks ago.I am desperate for help....Jeff Dakin - 

    Hi and Welcome to the Community!
    So as to avoid wasting your time with redundant advice, please post EVERYTHING you have already attempted, with exactness and clarity, especially since you've already been escalated to the folks who certainly should have been able to solve it.
    Thanks.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • HT1277 2012, Sept 11, I can't access the icloud email server since early this morning

    2012 Sept 11; I'm unable to access the iCloud mail server since early this AM. Is there a problem with the mailservers?

    Current
    iCloud: Mail & Notes - Users Affected: <1% - Next Update: 09/11/2012 13:00 PDT
    09/11/2012 10:54 PDTUsers may be unable to access iCloud mail. Normal service will be restored ASAP.

  • File name as subject in email

    Is there a way to make XI Pro automatically insert the pdf file name as the subject when emailing a pdf from Acrobat XI Pro like the older versions did?  I've tried installing Email_(file_name_as_subject).sequ but I get an error message stating it "has the same filname as one that's already been imported" but the action does not show up on the "manage actions" list.

    Hi, I have the same problem as Alan L. Whenever I have a file open in Acrobat 9 Pro Extended and click File-> Attach to Email it creates a new Outlook message and attaches the file but does not populate the subject line with the file name. The subject line is blank. I tried to email the same PDF file from Foxit Reader and it correctly populated the subject field with the file name.
    If anyone can help me I would really appreciate it.
    Thanks,
    Michael

  • Dynamic sender  file name Pattern and collecting into one file

    Hi Experts,
    Could you please let me know how to achieve below scenario.
    1)     File Directory: TEMP: files: test1,test2,ign1,ign2..etc.
    2)     Get the files of pattern test*
    3)     Received files test1, test2.
    4)     Club contents of file Hemanth1, Hemanth2.
    Ex: test1 contains------REC1
          test2  contains------REC2
    OUTPUT FILE contains REC1,REC2.
    5)     Pass OUTPUTFILE and filenames (test1,test2) to R/3.
    PS: Please dont give references of blogs..I went through most of them could n't finad anything helpful.
    My concern is how to collect files into one file and sending filename pattern..
    Thanks in advance..

    Hi Experts,
    Could you please let me know how to achieve below scenario.
    1)     File Directory: TEMP: files: test1,test2,ign1,ign2..etc.
    2)     Get the files of pattern test*
    3)     Received files test1, test2.
    4)     Club contents of file Hemanth1, Hemanth2.
    Ex: test1 contains------REC1
          test2  contains------REC2
    OUTPUT FILE contains REC1,REC2.
    5)     Pass OUTPUTFILE and filenames (test1,test2) to R/3.
    6) Suppose poling is for 2 minutes..I dont want to read the files which I already read again (I dont want to delete or modify source directory files)
    PS: Please dont give references of blogs..I went through most of them could n't finad anything helpful.
    Thanks in advance..

Maybe you are looking for

  • Can i share my meetings/appointments with another iphone user?

    It would be fantastic if I could send my calender reminders and appointments to my family members from an iphone to another iphone.

  • Hot Key of Link to action won't work

    Hi, tried to create a link to action witha hotkey, but unfortunately the action is not triggered. Action is triggered when I click the link using 7.1.1 is there something else i need to activate? Tried it with IE7 and FF Stefan

  • Jobs in schema export

    Hi, I am doing export and import of schema in Oracle 10g. After doing an import I noticed all the jobs are missing in imported schema. Any suggestions on this. Thanks

  • Adobe Muse CC trial has expired and now I cannot enter a activation code for the product

    I installed Muse and the original instructions I obtained from my corporate office stated to use the enterprise key for our Adobe package and then accept the trial for Muse. The trial version of Muse has expired and I have a serial number but I can n

  • Automatic system assignement to new users

    Hi all, I'm managing users with the CUA. This CUA sync with our MS Active Directory. I would like to know if new users coming from the AD and created in the CUA can be automatically created in a child system (without any role or profile assignement).