<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Dynamic Folder with File to File (XML) without Mapping in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831523#M3963779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with variable subtitution: &lt;A href="http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm"&gt;http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 15:56:47 GMT</pubDate>
    <dc:creator>former_member258865</dc:creator>
    <dc:date>2015-01-19T15:56:47Z</dc:date>
    <item>
      <title>Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaq-p/10831521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have received a new requirement on File to File scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PI has to pick a file from one network directory and place it on specific directory. Please note that there &lt;STRONG style="text-decoration: underline;"&gt;will not be any mapping&lt;/STRONG&gt; as client does't want to change the file content...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File Names will be:&lt;/P&gt;&lt;P&gt;Partner1_001_Invoice.xml&lt;SPAN style="font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;Partner1_002_Invoice.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;.........&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;Partner2_001_Invoice.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;Partner2_002_Invoice.xml &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In Target System, the directories will be like following....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partner1&lt;/P&gt;&lt;P&gt;---001&lt;/P&gt;&lt;P&gt;---002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partner2&lt;/P&gt;&lt;P&gt;---001&lt;/P&gt;&lt;P&gt;---002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, PI has pick the file 'Partner1_001_Invoice.xml' file and it should place file on following directory...&lt;/P&gt;&lt;P&gt;Partner1&lt;/P&gt;&lt;P&gt;---001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help to configure the above interface....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaq-p/10831521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-19T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831522#M3963778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/Dynamic+file+name+in+a+File+to+File+pass+through+scenario" title="http://wiki.scn.sap.com/wiki/display/Snippets/Dynamic+file+name+in+a+File+to+File+pass+through+scenario"&gt;Dynamic file name in a File to File pass through scenario - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a java mapping as per this blog. Using this option, you can create both dynamic file name and dynamic folder with some manipulations in this java code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kedar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831522#M3963778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-19T15:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831523#M3963779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with variable subtitution: &lt;A href="http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm"&gt;http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831523#M3963779</guid>
      <dc:creator>former_member258865</dc:creator>
      <dc:date>2015-01-19T15:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831524#M3963780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://wiki.scn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario"&gt;http://wiki.scn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="30824" data-containertype="37" data-objectid="119314" data-objecttype="38" href="https://answers.sap.com/community/pi-and-soa-middleware/blog/2015/01/12/dynamic-and-yet-perfectly-static-benefits"&gt;http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/01/12/dynamic-and-yet-perfectly-static-benefits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please follow steps mentioned in wiki. Use dynamic folder instead of filename.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831524#M3963780</guid>
      <dc:creator>RaghuVamseedhar</dc:creator>
      <dc:date>2015-01-19T15:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831525#M3963781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rams,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="58827" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Step by Step Dynamically choosing target folder using JAVA mapping with SFTP adapter." href="https://community.sap.com/" modifiedtitle="true" title="Step by Step Dynamically choosing target folder using JAVA mapping with SFTP adapter."&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar concept can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Praveen T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 17:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831525#M3963781</guid>
      <dc:creator>praveen_sutra</dc:creator>
      <dc:date>2015-01-19T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831526#M3963782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create java code by copying your code, however i am getting many errors. (shown on below screenshot). Could you please check and help me to resolve these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Instance the error is like...the import com.sap.aii.mapping.api.AbstractTransformation cannot be resolved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for your feedback...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks-&lt;BR /&gt;Rams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/627848" height="277" width="549" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 09:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831526#M3963782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831527#M3963783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rams,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would require to perform step 3 mentioned in the blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.63636302948px; font-family: inherit; background: transparent;"&gt;Step 3: Right Click on Project-&amp;gt; Properties -&amp;gt; Java Build Path -&amp;gt; Add External Jars.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;this should resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Praveen T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 09:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831527#M3963783</guid>
      <dc:creator>praveen_sutra</dc:creator>
      <dc:date>2015-01-20T09:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831528#M3963784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am trying to change the java code as per my requirement. However I am unable to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to you to help me to build the java code as per my requirement? I have to pick the Root and Subdirectory from the file name and place the file with same name as it picks from the source field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very thankful if you could help me in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 10:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831528#M3963784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T10:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831529#M3963785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to complete the JAVA mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using File Adapters both ends and enabled 'Adapter-Specific Attributes' with 'File Name'. Also in the receiver File Adapter i mention * in the target Directory and also on Target File Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I ran the interface and it is failed on receiver file adapter with following error...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;File processing failed with Target directory 'T:\usr\sap\XD1\DVEBMGS68\j2ee\cluster\server0\*' does not exist and cannot be created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However in the Java Code, for time being i have passed constant Target Directory name. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Following is the code....Could you please check and help me to resolve....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;String targetDir= "//intsap/intpi/XD1";&lt;/P&gt;&lt;P&gt;&amp;nbsp; // set the target root directory ends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; String subDir ="/";&lt;/P&gt;&lt;P&gt;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp; InputStream inputstream = transformationInput.getInputPayload()&lt;/P&gt;&lt;P&gt;&amp;nbsp; .getInputStream();&lt;/P&gt;&lt;P&gt;&amp;nbsp; OutputStream outputstream = transformationOutput.getOutputPayload()&lt;/P&gt;&lt;P&gt;&amp;nbsp; .getOutputStream();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Map mapParameters = (Map) transformationInput.getInputHeader()&lt;/P&gt;&lt;P&gt;&amp;nbsp; .getAll();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; mapParameters.put(DynamicConfigurationKey.create("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sap.com/xi/XI/Dynamic"&gt;http://sap.com/xi/XI/Dynamic&lt;/A&gt;&lt;SPAN&gt;",StreamTransformationConstants.DYNAMIC_CONFIGURATION), "");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DynamicConfiguration conf = (DynamicConfiguration) mapParameters.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; DynamicConfigurationKey key = DynamicConfigurationKey.create("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sap.com/xi/XI/System/File"&gt;http://sap.com/xi/XI/System/File&lt;/A&gt;&lt;SPAN&gt;", "FileName");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DynamicConfiguration conf1 = (DynamicConfiguration) mapParameters.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; DynamicConfigurationKey key1 = DynamicConfigurationKey.create("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sap.com/xi/XI/System/File"&gt;http://sap.com/xi/XI/System/File&lt;/A&gt;&lt;SPAN&gt;", "Directory");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; String filename=conf.get(key); &lt;/P&gt;&lt;P&gt;&amp;nbsp; // Setting the Directory and Filename &lt;/P&gt;&lt;P&gt;&amp;nbsp; conf.put(key,filename);&lt;/P&gt;&lt;P&gt;&amp;nbsp; conf1.put(key1,targetDir);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Copying Input file and writing it as Output file&lt;/P&gt;&lt;P&gt;&amp;nbsp; byte[] b = new byte[inputstream.available()];&lt;/P&gt;&lt;P&gt;&amp;nbsp; inputstream.read(b);&lt;/P&gt;&lt;P&gt;&amp;nbsp; outputstream.write(b);&lt;/P&gt;&lt;P&gt;&amp;nbsp; } catch (Exception exception) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; getTrace().addDebugMessage(exception.getMessage());&lt;/P&gt;&lt;P&gt;&amp;nbsp; throw new StreamTransformationException(exception.toString());&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831529#M3963785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831530#M3963786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's strange, i could see the directory name on Message but it is trying to put it on different folder...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however in the Audit Log...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapter Framework caught exception: Target directory 'T:\usr\sap\XD1\DVEBMGS68\j2ee\cluster\server0\*' does not exist and cannot be created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/628188" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831530#M3963786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831531#M3963787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Target directory can not be '*', that is the reason why it is failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831531#M3963787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831532#M3963788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&amp;gt;&amp;gt;&amp;gt;File processing failed with Target directory 'T:\usr\sap\XD1\DVEBMGS68\j2ee\cluster\server0\*' does not exist and cannot be created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Did you also select the check box for Directory name under adapter specific message attributes in your receiver channel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;I see that you are trying to create the files under "&lt;SPAN style="color: #333333; font-size: 12px;"&gt;//intsap/intpi/XD1" ? Are you sure if this directory path exists? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;is it a shared drive? "//&lt;SPAN style="color: #333333; font-size: 12px;"&gt;intsap&lt;/SPAN&gt;" ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:27:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831532#M3963788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831533#M3963789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kedar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, what should be there on Target Directory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing dynamic target directory from Java Mapping...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831533#M3963789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831534#M3963790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Hareesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't select the 'Directory' on Adapter-specific attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the target directory is exists and its been using for other interfaces also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831534#M3963790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831535#M3963791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;gt;&amp;gt;&amp;gt;I didn't select the 'Directory' on Adapter-specific attributes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Please select it. In order to use the dynamic configuration that you set in java mapping, you should select the checkboc for directory as well&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831535#M3963791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831536#M3963792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From where you are getting this &lt;SPAN style="color: #333333;"&gt;'T:\usr\sap\XD1\DVEBMGS68\j2ee\cluster\server0\*' path?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What do you want in your target directory? Is there any condition based on which you will choose particular target directory out of multiple option??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831536#M3963792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831537#M3963793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hareesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After choosing the 'Directory' i could see that the correct directory name on channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831537#M3963793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831538#M3963794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. You may close the thread if your issue has resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831538#M3963794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831539#M3963795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hareesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now, I have passed the target Directory as a constant. However as per the requirement I have get the Directory/SubDirectory names from the File Name and place the file on it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i am not JAVA resource, I am unable to write the logic on JAVA. It would be thankful if you could provide me some code to get the directory names from the file name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this i will close the thread...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;BR /&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831539#M3963795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T15:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Folder with File to File (XML) without Mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831540#M3963796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your logic? You can simply add if then logic.. below for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #333333; font-size: 12px;"&gt;filename.equals("&lt;SPAN style="color: #333333; font-size: 14px;"&gt;Partner2_001_Invoice.xml") {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;targetDir = "//configure your directory";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;else if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 16:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dynamic-folder-with-file-to-file-xml-without-mapping/qaa-p/10831540#M3963796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T16:01:00Z</dc:date>
    </item>
  </channel>
</rss>

