<?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: How to get Multiple Values for a single Variable in BPS....... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900768#M1328005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it did not work....!  It does not bring the date format at all.  &lt;/P&gt;&lt;P&gt;I tested the FM entering the Planning Area, Variable, and the Charateristic 0CALDAY and it returns just 1 value but it is not in any date format.  The existing code does bring 'Today's date'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions please.....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 19:38:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-08T19:38:15Z</dc:date>
    <item>
      <title>How to get Multiple Values for a single Variable in BPS.......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900766#M1328003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a layout for planning, where I can plan for 5 days of the week. I also have a day column (yesterday) where I have the actual values. Users want to edit/foecast the next 5 days values. I am using a Variable to get the Date column which uses the System Date. However, since I am getting just one date in the Function Module (Code given below), the remaining days are greyed out and I can not enter the forecast values. I would like the same variable to get a series of dates in the same function module. What changes do I nee dto make in the ABAP code so that the remaining columns (Date) becaoe available for editing??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM code I have to get "Today's Date" is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZCSHFL_GET_TODAY.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;""Local Interface:&lt;/P&gt;&lt;P&gt;*" IMPORTING&lt;/P&gt;&lt;P&gt;*" REFERENCE(I_AREA) TYPE UPC_VAR-AREA&lt;/P&gt;&lt;P&gt;*" REFERENCE(I_VARIABLE) TYPE UPC_Y_VARIABLE&lt;/P&gt;&lt;P&gt;*" REFERENCE(I_CHANM) TYPE UPC_Y_CHANM&lt;/P&gt;&lt;P&gt;*" REFERENCE(ITO_CHANM) TYPE UPC_YTO_CHA&lt;/P&gt;&lt;P&gt;*" EXPORTING&lt;/P&gt;&lt;P&gt;*" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;data: ls_charsel type upc_ys_charsel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_charsel-seqno = 1.&lt;/P&gt;&lt;P&gt;ls_charsel-sign = 'I'.&lt;/P&gt;&lt;P&gt;ls_charsel-opt = 'EQ'.&lt;/P&gt;&lt;P&gt;ls_charsel-CHANM = I_chanm.&lt;/P&gt;&lt;P&gt;ls_charsel-low = sy-datum.&lt;/P&gt;&lt;P&gt;insert ls_Charsel into table eto_charsel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the Yestarday's Date as weel as dates for next 4 days from Today for this variable which are being used in the layout. Can anyone suggest the code tor this please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much in advance......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best.... ShruMaa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900766#M1328003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T19:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Multiple Values for a single Variable in BPS.......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900767#M1328004</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;What I understand you need to return those dates from function module using parameter &lt;STRONG&gt;ETO_CHARSEL&lt;/STRONG&gt; , right? If so just use this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ls_charsel-seqno = 1.
ls_charsel-sign = 'I'.
ls_charsel-opt = 'BT'.  "we are giving ranges, so days between...
ls_charsel-CHANM = I_chanm.
ls_charsel-low = sy-datum - 1.  "...first day is yesterday
ls_charsel-high = sy-datum + 4. "...and last day is 4 days from today
insert ls_Charsel into table eto_charsel.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This way you provide 5 days starting from yesterday till 4 days from today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900767#M1328004</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-08T19:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Multiple Values for a single Variable in BPS.......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900768#M1328005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it did not work....!  It does not bring the date format at all.  &lt;/P&gt;&lt;P&gt;I tested the FM entering the Planning Area, Variable, and the Charateristic 0CALDAY and it returns just 1 value but it is not in any date format.  The existing code does bring 'Today's date'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions please.....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-multiple-values-for-a-single-variable-in-bps/m-p/5900768#M1328005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T19:38:15Z</dc:date>
    </item>
  </channel>
</rss>

