<?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: setting a batch job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510200#M567676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proceed as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While saving the variant, the system prompts for Variant name and description, over here you can do the following steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check the checkbox(Selection Variable - Under L) for date selection-parameter.&lt;/P&gt;&lt;P&gt;2. Click on "Selection-Variables" button in application toolbar.&lt;/P&gt;&lt;P&gt;3. In the new screen, you will find by default the green light is under "T", click on Orange Light under "D" to make it green.&lt;/P&gt;&lt;P&gt;4. You will find an icon with down arrow symbol for F4 Values. Click on that.&lt;/P&gt;&lt;P&gt;5. Scroll down to find a value "Current date - xxx,current date + yyy". Select the same and "Choose".&lt;/P&gt;&lt;P&gt;6. In the next popup screen give 30 for XXX and 0 for YYY.&lt;/P&gt;&lt;P&gt;7. Save twice.&lt;/P&gt;&lt;P&gt;8. Now you will be back in selection screen, select the variant again to see the data values populated automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="766266"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above info helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Naren Someneni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 17:57:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T17:57:55Z</dc:date>
    <item>
      <title>setting a batch job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510199#M567675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an question that I need some help. I have an report that I schedule to run on a weekly basis as a batch job. The parameters for selection on the screen is date field with Startdate and enddate. The date range is friday to friday everyweek. How can I do ths? &lt;/P&gt;&lt;P&gt;With the screen field as parameters I was able to do it, but need to know how to do it for a select option field because every week the ' startdate' and the 'enddate'  has to change on its own since the job is scheduled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the piece of code that I was trying to do..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF block block1 with frame title text-002.&lt;/P&gt;&lt;P&gt;select-options: p_date for sy-datum default sy-datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF block block1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  p_date-high = sy-datum.&lt;/P&gt;&lt;P&gt;  p_date-low =  sy-datum - 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and so on...&lt;/P&gt;&lt;P&gt;However it did not work. Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 17:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510199#M567675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T17:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: setting a batch job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510200#M567676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proceed as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While saving the variant, the system prompts for Variant name and description, over here you can do the following steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check the checkbox(Selection Variable - Under L) for date selection-parameter.&lt;/P&gt;&lt;P&gt;2. Click on "Selection-Variables" button in application toolbar.&lt;/P&gt;&lt;P&gt;3. In the new screen, you will find by default the green light is under "T", click on Orange Light under "D" to make it green.&lt;/P&gt;&lt;P&gt;4. You will find an icon with down arrow symbol for F4 Values. Click on that.&lt;/P&gt;&lt;P&gt;5. Scroll down to find a value "Current date - xxx,current date + yyy". Select the same and "Choose".&lt;/P&gt;&lt;P&gt;6. In the next popup screen give 30 for XXX and 0 for YYY.&lt;/P&gt;&lt;P&gt;7. Save twice.&lt;/P&gt;&lt;P&gt;8. Now you will be back in selection screen, select the variant again to see the data values populated automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="766266"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above info helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Naren Someneni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 17:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510200#M567676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T17:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: setting a batch job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510201#M567677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, It worked. Shall reward the points &lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 18:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-a-batch-job/m-p/2510201#M567677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T18:11:33Z</dc:date>
    </item>
  </channel>
</rss>

