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

Target file of the same name as source file

Hi,

I am working on a file to file scenario. I need the target file name to be same as the source file name.

I checked the adapter specific message attributes in the sender as well as receiver file adapter,and also checked the file name.

Now am using variable substitution for the file name in the receiver file adapter.

I defined the variable value as :

message:FileName

But no file is getting created in the destination folder.

Can anyone help me out with this.

Thanks and regards,

Pravesh Puria.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Sep 28, 2006 at 12:02 PM

    Pravesh,

    If you have selected File adapter --> Adapter Specfic Attribuest --> File name in the sender and receiver file adapter , then do not go for variable name substittutuion.

    Just make a dummy file name in the receiver file adapter for the file name field and XI will automatically use the same file name as the source when creating the file.

    Regards,

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2006 at 12:13 PM

    Have a look at this - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

    you are not required to use variable sub.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2006 at 04:37 PM

    Hi,

    Thank you for help.

    Its working now.

    I have awarded the points.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 06:57 PM

    Hi

    I have worked on the dynamic configuration from weblog,its working fine but i want to make that as dynamic this function dynamic enough so that in my team to adapt this into their project.becuase most of our mappings are abap mapping.Is there any way to call the user define funtion at the adapter module.

    Any help would be highly appreciated.

    Thanks

    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.