<?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 code for exit variables variables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-exit-variables-variables/m-p/3409559#M818836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write customer exit variable code code in SE24.it is implemented in CMOD. but the same code if i write in se24 it's giving errors.i don't know the reason.i am writing the customer exit code is se24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://code.google.com/p/simplebwvariables/wiki/DeveloperDoc" target="test_blank"&gt;http://code.google.com/p/simplebwvariables/wiki/DeveloperDoc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example, the current month is taken from an input-ready variable; this is then used to generate an interval that cumulates all months from January (01) up to the current month. The customer exit variable COMMONTH contains the interval as the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_S_RANGE TYPE RSR_S_RANGESID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_S_VAR_RANGE TYPE RRRANGEEXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE I_VNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'CUMMONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I_STEP = 2. "after the popup &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'MONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_S_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, for example, 200601&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-LOW+4(2) = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-SIGN = 'I'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-OPT = 'BT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND L_S_RANGE TO E_T_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&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;Sruthi Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 13:41:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T13:41:29Z</dc:date>
    <item>
      <title>code for exit variables variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-exit-variables-variables/m-p/3409559#M818836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write customer exit variable code code in SE24.it is implemented in CMOD. but the same code if i write in se24 it's giving errors.i don't know the reason.i am writing the customer exit code is se24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://code.google.com/p/simplebwvariables/wiki/DeveloperDoc" target="test_blank"&gt;http://code.google.com/p/simplebwvariables/wiki/DeveloperDoc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example, the current month is taken from an input-ready variable; this is then used to generate an interval that cumulates all months from January (01) up to the current month. The customer exit variable COMMONTH contains the interval as the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_S_RANGE TYPE RSR_S_RANGESID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_S_VAR_RANGE TYPE RRRANGEEXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE I_VNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'CUMMONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I_STEP = 2. "after the popup &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'MONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_S_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, for example, 200601&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-LOW+4(2) = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-SIGN = 'I'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_S_RANGE-OPT = 'BT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND L_S_RANGE TO E_T_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&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;Sruthi Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 13:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-exit-variables-variables/m-p/3409559#M818836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: code for exit variables variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-exit-variables-variables/m-p/3409560#M818837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through your coding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a statement &lt;/P&gt;&lt;P&gt;"  L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, for example, 200601 "&lt;/P&gt;&lt;P&gt;which should give the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly do as follows :I HAVE added one temp variable p_period and modified the code.&lt;/P&gt;&lt;P&gt;kindly check and get back to me in case of any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : p_period(6).&lt;/P&gt;&lt;P&gt;DATA: L_S_RANGE TYPE RSR_S_RANGESID.&lt;/P&gt;&lt;P&gt;DATA: L_S_VAR_RANGE TYPE RRRANGEEXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE I_VNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'CUMMONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I_STEP = 2. "after the popup &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'MONTH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_S_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*""""L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)." low value, for example, 200601 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate LOC_VAR_RANGE-LOW+0(4) '01' into p_period.&lt;/P&gt;&lt;P&gt;L_S_RANGE-LOW = p_period.&lt;/P&gt;&lt;P&gt;L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input &lt;/P&gt;&lt;P&gt;L_S_RANGE-SIGN = 'I'. &lt;/P&gt;&lt;P&gt;L_S_RANGE-OPT = 'BT'. &lt;/P&gt;&lt;P&gt;APPEND L_S_RANGE TO E_T_RANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 11:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-exit-variables-variables/m-p/3409560#M818837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T11:59:42Z</dc:date>
    </item>
  </channel>
</rss>

