<?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: Default parameter in FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306017#M504467</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;You can check for the field, if its is blank then assign the default date in source code before processing.&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;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 09:57:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T09:57:58Z</dc:date>
    <item>
      <title>Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306014#M504464</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'm creating a Function module in SE37 and i would like to have a default value for my IMPORT parameter (import tab) which is a date that should be set to the actual date - 3 days.&lt;/P&gt;&lt;P&gt;I can't specify sy-datum - 3 and it does not recognize any variable i declare in the source tab. &lt;/P&gt;&lt;P&gt;Is there a way to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 09:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306014#M504464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306015#M504465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; in your FM , check if your parameter is empty, if it is assign actual date - 3 in in before processing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sooness.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 09:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306015#M504465</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-05-23T09:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306016#M504466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomislav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of trying to do it in IMPORT tab why don't you set the imported DATE field in the SOURCE CODE of function module. There it will recognise sy-datum and you can very well write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          date = sy-datum - 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 09:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306016#M504466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T09:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306017#M504467</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;You can check for the field, if its is blank then assign the default date in source code before processing.&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;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 09:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306017#M504467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306018#M504468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;&lt;P&gt;I'm not sure it answers my question : i want the default value to be visible when i test it (i'm going to use this fm with a web service from another app so the fact that the default value is visible is important so it can be changed if not corresmonding to the user needs) and if i just affect a value in my source code, it changes the value of the parameter but this is not visible at selection screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 11:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306018#M504468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306019#M504469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you try calculating the value of your parameter before calling the FM (ie date - 3 if the value is empty) and displaying it directly before the call so the user can still change it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 11:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306019#M504469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T11:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Default parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306020#M504470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Walter,&lt;/P&gt;&lt;P&gt;i'm not sure i can do this because i'm going to create a web service with this function module so if i set my value in a program before i assume it won't be set (and as far as i know, i can't generate a webservice from a program but only from a FM...).&lt;/P&gt;&lt;P&gt;Anyway, i'm going to try your way, thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 11:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-parameter-in-fm/m-p/2306020#M504470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T11:56:57Z</dc:date>
    </item>
  </channel>
</rss>

