<?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 command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058430#M425158</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 am getting a value from a function module to a variable in a combined form of year and week eg: 200711, 200712 etc. into a variable w_year_week.how to get only the year ?? .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select year and week in the selection screen it should display the combined year and week in the alv columns.. Any suggestions on this pls..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 12:49:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T12:49:42Z</dc:date>
    <item>
      <title>command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058430#M425158</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 am getting a value from a function module to a variable in a combined form of year and week eg: 200711, 200712 etc. into a variable w_year_week.how to get only the year ?? .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select year and week in the selection screen it should display the combined year and week in the alv columns.. Any suggestions on this pls..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058430#M425158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058431#M425159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Once you got the combined field(v_yearmm) from the fun module, You can seperate the Year and week from it by Offsetting that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year = v_yearmm+0(4)&lt;/P&gt;&lt;P&gt;week = v_yearmm+4(2)&lt;/P&gt;&lt;P&gt;You can display these fields in the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058431#M425159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058432#M425160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: year(4),
         week(2).

year = w_year_week+0(4).

week = w_year_week+4(2).

write: year, week.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058432#M425160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058433#M425161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  zlv_year(4) type N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zlv_year = w_year_week+0(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But perhaps your requirement is a little more complicated than this?&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;&lt;/P&gt;&lt;P&gt;john.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058433#M425161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058434#M425162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from 200712 if u want to separate 2007 and 12....&lt;/P&gt;&lt;P&gt;u try this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  :year(4),&lt;/P&gt;&lt;P&gt;            week(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year  = w_year_week+0(4).&lt;/P&gt;&lt;P&gt;week = w_year_week+4(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will separate 2007 into variable year and 12 into variable week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward helpful answers.,...&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tejas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command/m-p/2058434#M425162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T12:54:14Z</dc:date>
    </item>
  </channel>
</rss>

