<?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 Re: Import parameter to method does not default when executed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433939#M1845840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafi..this&amp;nbsp; is exactly whet i have...but when test run it,,,the date field is blank....not even '00000000'.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 11:58:41 GMT</pubDate>
    <dc:creator>former_member649643</dc:creator>
    <dc:date>2014-07-09T11:58:41Z</dc:date>
    <item>
      <title>Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433933#M1845834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody...i have a method with import parameter &lt;STRONG&gt;IV_DATE&lt;/STRONG&gt; type &lt;STRONG&gt;SY-DATUM&lt;/STRONG&gt; default &lt;STRONG&gt;SY-DATUM&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When i execute the method the system date does not default...the IV_DATE field is blank(Spaces). Is there anybody that can help. This is very strange.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433933#M1845834</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-08T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433934#M1845835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you checking the value of the importing parameter? By debugging from SE24 directly OR by calling the method in another program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433934#M1845835</guid>
      <dc:creator>rahul_mb</dc:creator>
      <dc:date>2014-07-08T16:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433935#M1845836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There....by executing TEST from se24.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433935#M1845836</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-08T16:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433936#M1845837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default Value only works when you dont send the parameter, if you send the parameter with initial value you are sending a blank value, in this case '00000000', that happens too when you test the class from SE24, you are already sending the 00000000 while testing.&lt;/P&gt;&lt;P&gt;You can test this behavior in a Z program, sending lv_date with initial value(it will be 00000000 inside the class) and without sending the variable in the exporting parameters it will be the right date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 17:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433936#M1845837</guid>
      <dc:creator>former_member197622</dc:creator>
      <dc:date>2014-07-08T17:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433937#M1845838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;the IV_DATE field is blank(Spaces)&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The initial value for date is not blank but 00000000. Hence I think there is some mismatch in the definition of the formal param IV_DATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would help everybody if you gave more information e.g., code snippet, screenshots etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 17:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433937#M1845838</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-07-08T17:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433938#M1845839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created&amp;nbsp; a custom class and used date as exporting parameter&lt;/P&gt;&lt;P&gt;I am able to get the date value. Please see screen shot for reference.&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/493413" /&gt;&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/493415" /&gt;&lt;/P&gt;&lt;P&gt;&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;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 17:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433938#M1845839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-08T17:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433939#M1845840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafi..this&amp;nbsp; is exactly whet i have...but when test run it,,,the date field is blank....not even '00000000'.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 11:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433939#M1845840</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-09T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433940#M1845841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas...see Rafi's screen shot...mine is exactly the same...but test run it,,,does not bring the date in.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 12:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433940#M1845841</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-09T12:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433941#M1845842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you already tried testing the class in a program ? &lt;/P&gt;&lt;P&gt;i have already tested a class in the same way, when testing the parameter is blank and translates to 00000000, if you try it in a program and dont send the parameter it works well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433941#M1845842</guid>
      <dc:creator>former_member197622</dc:creator>
      <dc:date>2014-07-09T14:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433942#M1845843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you share the screen shot of the method and its parameters of the class you created.&lt;/P&gt;&lt;P&gt;Also can you try calling this class method in a program and see if the value for the date is populating.&lt;/P&gt;&lt;P&gt;&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;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433942#M1845843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-09T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433943#M1845844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MC...it Works perfectly in a program...it is when i am test running it...that it does not default the date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433943#M1845844</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-10T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433944#M1845845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as soon as you test the class(or even a FM) and you send in blank the testing class will initialize the value, the sy-datum initial value is 00000000, thats the initial value of that type&lt;/P&gt;&lt;P&gt;the difference is that in SE37 when you set a default value it will show the default value at the moment you test it, but if you clear the value it will take 00000000 as soon as you run the FM&lt;/P&gt;&lt;P&gt;its sad that the SE24 doesnt show a default value in testing mode, but thats how it works(for now)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the default value is applied when you dont send the parameter in a FM or CLASS and variables have initial values, maybe you should have a validation code in your program or class or fm that if the value is 00000000 then change it to sy-datum.&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;MC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 17:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433944#M1845845</guid>
      <dc:creator>former_member197622</dc:creator>
      <dc:date>2014-07-10T17:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import parameter to method does not default when executed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433945#M1845846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MC...sorry coming back now...of with Flu...we have establish that it works fine on another system...we have 2 DEV systems...how is this possible.&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-parameter-to-method-does-not-default-when-executed/m-p/10433945#M1845846</guid>
      <dc:creator>former_member649643</dc:creator>
      <dc:date>2014-07-15T15:44:46Z</dc:date>
    </item>
  </channel>
</rss>

