<?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>topic Run time error while saving values in File (Tcode) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265245#M1385660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM   call function 'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            logical_filename = logical_filename&lt;/P&gt;&lt;P&gt;            parameter_1      = program_name&lt;/P&gt;&lt;P&gt;            parameter_2      = file_id_param&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            file_name        = physical_filename&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            file_not_found   = 1&lt;/P&gt;&lt;P&gt;            others           = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this I am trying to maintain dynamic values(field symbols) in Tcode FILE Logical file name definition , physical path as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical file   =&amp;lt;PARAM_1&amp;gt;.&amp;lt;PARAM_2&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while saving it dumps, saying filed symbol assinment to substring is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical path for the same is /&amp;lt;V=Z_DIR_MAIN&amp;gt;/&amp;lt;SYSID&amp;gt;/&amp;lt;V=Z_DIR_OUT&amp;gt;/&amp;lt;FILENAME&amp;gt;.&amp;lt;CLIENT&amp;gt;.&amp;lt;DATE&amp;gt;&amp;lt;TIME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mohinder Singh Chauhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2009 07:14:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-26T07:14:37Z</dc:date>
    <item>
      <title>Run time error while saving values in File (Tcode)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265245#M1385660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM   call function 'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            logical_filename = logical_filename&lt;/P&gt;&lt;P&gt;            parameter_1      = program_name&lt;/P&gt;&lt;P&gt;            parameter_2      = file_id_param&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            file_name        = physical_filename&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            file_not_found   = 1&lt;/P&gt;&lt;P&gt;            others           = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this I am trying to maintain dynamic values(field symbols) in Tcode FILE Logical file name definition , physical path as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical file   =&amp;lt;PARAM_1&amp;gt;.&amp;lt;PARAM_2&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while saving it dumps, saying filed symbol assinment to substring is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical path for the same is /&amp;lt;V=Z_DIR_MAIN&amp;gt;/&amp;lt;SYSID&amp;gt;/&amp;lt;V=Z_DIR_OUT&amp;gt;/&amp;lt;FILENAME&amp;gt;.&amp;lt;CLIENT&amp;gt;.&amp;lt;DATE&amp;gt;&amp;lt;TIME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mohinder Singh Chauhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 07:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265245#M1385660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-26T07:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error while saving values in File (Tcode)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265246#M1385661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should first concatenate field symbol contents to a filename / foldername before sending them to the function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 14:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265246#M1385661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-26T14:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error while saving values in File (Tcode)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265247#M1385662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mohinder,&lt;/P&gt;&lt;P&gt;the better way to analyse these kind of things is by entering the function module in se37 and providing the required test data.&lt;/P&gt;&lt;P&gt;In your scenarion as you say its throwing a runtime dump related to field symbols better you concatenate the data param1 and param2 into a new variable and then pass that value into the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;M.Naveen kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 07:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265247#M1385662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T07:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error while saving values in File (Tcode)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265248#M1385663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;P&gt;I got to know about one of th SAP note to be implemented for the same, Sap note 1297989 . That solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Mohinder Singh Chauhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 03:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-while-saving-values-in-file-tcode/m-p/6265248#M1385663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T03:30:27Z</dc:date>
    </item>
  </channel>
</rss>

