<?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: Offset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573184#M258796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what you need to do exactly, but you should consider if you change the value for the output you should restore the original value for the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 08:43:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T08:43:46Z</dc:date>
    <item>
      <title>Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573179#M258791</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;I am getting the value like w183-145-001 in select option.&lt;/P&gt;&lt;P&gt; But i need to display only the w183 in output, &lt;/P&gt;&lt;P&gt; how can i do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573179#M258791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573180#M258792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Suppose ur field  VAR contains  = w183-145-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1) Use Split Command. split VAR at '-' into var1 var2 &lt;/P&gt;&lt;P&gt;       var3. Var1 will contain w183&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   2) Use offset var1 = VAR+0(3). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur problem.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manish Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573180#M258792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573181#M258793</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;U should create a convertion routine for output, for example the field BKPF-BELNR is linked to domanain BELNR uses the routine ALPHA (fm CONVERSION_EXIT_ALPHA_INPUT,&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573181#M258793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573182#M258794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use SPLIT lvalue AT '-' into v1 v2 v3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v1 has the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second way is to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH lvalue for '-'.&lt;/P&gt;&lt;P&gt;If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   write lvalue(sy-fdpos) into v1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v1 has the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Adding to the above you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len = strlen(v1).&lt;/P&gt;&lt;P&gt;lfinal = v1+3(len).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573182#M258794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573183#M258795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am having a valu like IEQw183.&lt;/P&gt;&lt;P&gt; I want to show only w183 in output.How to split this to final display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573183#M258795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573184#M258796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what you need to do exactly, but you should consider if you change the value for the output you should restore the original value for the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573184#M258796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573185#M258797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai anurag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting error field strlen is unknown.&lt;/P&gt;&lt;P&gt; how to declare this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 08:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573185#M258797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573186#M258798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; While splitting use p_var-low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;plit p_var-low at '-' into var1 var2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first 3 letters IEQ are for selection options&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 09:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573186#M258798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T09:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Offset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573187#M258799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   is VAR = IEQw183. or QW183 (I think IE is comming because of numeric field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Anyway if VAR = IEQw183-145-001&lt;/P&gt;&lt;P&gt;             var1 = VAR+3(3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code below will clarify your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: VAR type char10 value '0123456789',&lt;/P&gt;&lt;P&gt;      var1 type char3,&lt;/P&gt;&lt;P&gt;      var2 type char3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      var1 = var+0(3). " result = 012&lt;/P&gt;&lt;P&gt;      var2 = var+3(3). " result = 345&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      write:/ var1, var2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Reward points if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 09:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset/m-p/1573187#M258799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T09:07:35Z</dc:date>
    </item>
  </channel>
</rss>

