<?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 dynamic field length in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882841#M1478911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a text field which have legth 150 . it gets filled fully or partially. and finally i want to take only the last ten digits of the filled message  into another variable. please let me know the way.&lt;/P&gt;&lt;P&gt;tehre is no fixed length it is flled dynamically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg error in the material whcih have the number as 4000888&lt;/P&gt;&lt;P&gt;here i want the last 10 characters to be taken.&lt;/P&gt;&lt;P&gt;the length of this message can varry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Apr 2010 03:50:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-30T03:50:10Z</dc:date>
    <item>
      <title>dynamic field length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882841#M1478911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a text field which have legth 150 . it gets filled fully or partially. and finally i want to take only the last ten digits of the filled message  into another variable. please let me know the way.&lt;/P&gt;&lt;P&gt;tehre is no fixed length it is flled dynamically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg error in the material whcih have the number as 4000888&lt;/P&gt;&lt;P&gt;here i want the last 10 characters to be taken.&lt;/P&gt;&lt;P&gt;the length of this message can varry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 03:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882841#M1478911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-30T03:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic field length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882842#M1478912</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;you can use strlen function and can take that length in a variable then you can take the last ten words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will solve your prob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 04:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882842#M1478912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-30T04:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic field length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882843#M1478913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
V_IP_TXT TYPE STRING,
V_OFF TYPE I,
V_OP_TXT TYPE STRING.

V_OFF = STRLEN( V_IP_TXT ) - 10.

V_OP_TXT = V_IP_TXT+V_OFF(10).

WRITE: 
/ V_IP_TXT,
/ V_OP_TXT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 04:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882843#M1478913</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-04-30T04:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic field length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882844#M1478914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: x(150) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var1(150) type c,&lt;/P&gt;&lt;P&gt;         var2(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = STRLEN( x ).&lt;/P&gt;&lt;P&gt;var2 = STRLEN( x ) - 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = x+var2(var1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 04:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882844#M1478914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-30T04:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic field length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882845#M1478915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Revanth....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this piece of code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : string type string.&lt;/P&gt;&lt;P&gt;data : string1 type string.&lt;/P&gt;&lt;P&gt;data : len type i.&lt;/P&gt;&lt;P&gt;data : offset type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  string = 'fdshfjfhjh34876384yfdi3jhf80'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  len = strlen( string ).&lt;/P&gt;&lt;P&gt;  offset = len - 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  string1 = string+offset(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write string1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should resolve your problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 05:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-field-length/m-p/6882845#M1478915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-30T05:05:54Z</dc:date>
    </item>
  </channel>
</rss>

