<?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: ADDING INPUT INTIGERS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626985#M2013069</link>
    <description>&lt;P&gt;Thank you Shantraj for your valuable feedback.&lt;/P&gt;&lt;P&gt;it is correct for only string length 8.&lt;/P&gt;&lt;P&gt;Meanwhile i tried and got the logic. Here it is.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.&lt;BR /&gt;  PARAMETER P1 TYPE STRING.&lt;BR /&gt;  SELECTION-SCREEN END OF BLOCK B.&lt;BR /&gt;&lt;BR /&gt;DATA: A TYPE I,&lt;BR /&gt;      B TYPE I,&lt;BR /&gt;      C TYPE I,&lt;BR /&gt;      L TYPE I.&lt;BR /&gt;&lt;BR /&gt;L = STRLEN( P1 ).&lt;BR /&gt;&lt;BR /&gt;DO L TIMES.&lt;BR /&gt;  A = P1+B(1).&lt;BR /&gt;  B = B + 1.&lt;BR /&gt;  C = C + A.&lt;BR /&gt;ENDDO.&lt;BR /&gt;&lt;BR /&gt;WRITE: 'Sum of all the digits is =', C LEFT-JUSTIFIED.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 11:44:11 GMT</pubDate>
    <dc:creator>former_member814849</dc:creator>
    <dc:date>2022-11-15T11:44:11Z</dc:date>
    <item>
      <title>ADDING INPUT INTIGERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626982#M2013066</link>
      <description>&lt;P&gt;If I give input parameter (type string) = 45612789 output should be 42 (i.e., 4+5+6+1+2+7+8+9 = 42 ).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626982#M2013066</guid>
      <dc:creator>former_member814849</dc:creator>
      <dc:date>2022-11-15T09:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: ADDING INPUT INTIGERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626983#M2013067</link>
      <description>&lt;P&gt;This is an exercise, you should do it instead of asking expert to do it for you. Otherwise you will stay as Padawan all your life.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626983#M2013067</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-11-15T09:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: ADDING INPUT INTIGERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626984#M2013068</link>
      <description>&lt;P&gt;Please check the below offset method.&lt;/P&gt;&lt;P&gt;data(lv_add) = str1+0(1) + str1+1(1) + str1+2(1) + str1+3(1) + str1+4(1) + str1+5(1) + str1+6(1) + str1+7(1).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626984#M2013068</guid>
      <dc:creator>shantraj6</dc:creator>
      <dc:date>2022-11-15T09:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: ADDING INPUT INTIGERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626985#M2013069</link>
      <description>&lt;P&gt;Thank you Shantraj for your valuable feedback.&lt;/P&gt;&lt;P&gt;it is correct for only string length 8.&lt;/P&gt;&lt;P&gt;Meanwhile i tried and got the logic. Here it is.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.&lt;BR /&gt;  PARAMETER P1 TYPE STRING.&lt;BR /&gt;  SELECTION-SCREEN END OF BLOCK B.&lt;BR /&gt;&lt;BR /&gt;DATA: A TYPE I,&lt;BR /&gt;      B TYPE I,&lt;BR /&gt;      C TYPE I,&lt;BR /&gt;      L TYPE I.&lt;BR /&gt;&lt;BR /&gt;L = STRLEN( P1 ).&lt;BR /&gt;&lt;BR /&gt;DO L TIMES.&lt;BR /&gt;  A = P1+B(1).&lt;BR /&gt;  B = B + 1.&lt;BR /&gt;  C = C + A.&lt;BR /&gt;ENDDO.&lt;BR /&gt;&lt;BR /&gt;WRITE: 'Sum of all the digits is =', C LEFT-JUSTIFIED.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 11:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-input-intigers/m-p/12626985#M2013069</guid>
      <dc:creator>former_member814849</dc:creator>
      <dc:date>2022-11-15T11:44:11Z</dc:date>
    </item>
  </channel>
</rss>

