<?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: extraction from a list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742109#M322355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you have to separate the values induvidually in order to pass this to the FM. you can use the command &amp;lt;b&amp;gt;SPLIT&amp;lt;/b&amp;gt; to separate the values into different variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that you can pass each variable into the FM and get the required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2006 05:32:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-08T05:32:38Z</dc:date>
    <item>
      <title>extraction from a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742108#M322354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all.&lt;/P&gt;&lt;P&gt;we have a requirement that&lt;/P&gt;&lt;P&gt;there is a FILE having no's separated by commas( Ex: file contents are 402,80-,567-,666,942-,.....(n rows and r colomns)) where the negative sign appears at the end rather than at the front. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we want that to be at the front.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that we have found one FM named  'CLOI_PUT_SIGN_IN_FRONT' which changes the negative sign in front.but for this i need to extract each and every number from the above mentioned file contents to be inputted into this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas how to implement this FM for  the above FILE ????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742108#M322354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T05:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: extraction from a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742109#M322355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you have to separate the values induvidually in order to pass this to the FM. you can use the command &amp;lt;b&amp;gt;SPLIT&amp;lt;/b&amp;gt; to separate the values into different variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that you can pass each variable into the FM and get the required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742109#M322355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T05:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: extraction from a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742110#M322356</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;&lt;/P&gt;&lt;P&gt;try it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_xyz = itab-abc.                                                  " &amp;lt;b&amp;gt;value = 100-&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;VALUE = itab-abc.&lt;/P&gt;&lt;P&gt;v_xyz = itab-abc.                                                    "&amp;lt;b&amp;gt;value = -100&amp;lt;/b&amp;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;Pankaj singh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reward all helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742110#M322356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T05:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: extraction from a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742111#M322357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pankaj,the problem is how to extract each particular no. from the FILE i mentioned so as to input it to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actuall the FILE is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2&lt;/P&gt;&lt;P&gt;              itab2-sales_doc&lt;/P&gt;&lt;P&gt;              itab2-sales_itm&lt;/P&gt;&lt;P&gt;              itab2-prod_date&lt;/P&gt;&lt;P&gt;              itab2-ship_date&lt;/P&gt;&lt;P&gt;              l_revenue&lt;/P&gt;&lt;P&gt;              l_mat_pla&lt;/P&gt;&lt;P&gt;              l_mat_act&lt;/P&gt;&lt;P&gt;              l_mat_var&lt;/P&gt;&lt;P&gt;              l_lab_pla&lt;/P&gt;&lt;P&gt;              l_lab_act&lt;/P&gt;&lt;P&gt;              l_lab_var&lt;/P&gt;&lt;P&gt;              l_bur_pla&lt;/P&gt;&lt;P&gt;              l_bur_act&lt;/P&gt;&lt;P&gt;              l_bur_var&lt;/P&gt;&lt;P&gt;              l_tot_cost_pla&lt;/P&gt;&lt;P&gt;              l_tot_cost_act&lt;/P&gt;&lt;P&gt;              l_tot_cost_var&lt;/P&gt;&lt;P&gt;              l_prm_var&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;where each variable has some value changing after the loop.&lt;/P&gt;&lt;P&gt;now i have to input each and every variable into this FM.........&lt;/P&gt;&lt;P&gt;any ideas???????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742111#M322357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T05:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: extraction from a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742112#M322358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kunal ,&lt;/P&gt;&lt;P&gt;first thing u need to is read the entire file into an internal table .&lt;/P&gt;&lt;P&gt;declare th internal table as follows...&lt;/P&gt;&lt;P&gt;data: it_nos(80) type c occurs 0 with header line .&lt;/P&gt;&lt;P&gt;data: it_no(4) type c occurs 0 with header line .&lt;/P&gt;&lt;P&gt;data: no type i .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then do the foll ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_nos .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; split it_nos at ',' into table it_no &lt;/P&gt;&lt;P&gt; loop at it_no .&lt;/P&gt;&lt;P&gt;  no = it_no .&lt;/P&gt;&lt;P&gt;  call ur function module here passing it variable no .&lt;/P&gt;&lt;P&gt; endloop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endoop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this shud solve ur problem .&lt;/P&gt;&lt;P&gt;here i am using only 4 digit nos u can change dat as per ur requirement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF HELPFUL THEN PLZ REWARD POINTS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards ,&lt;/P&gt;&lt;P&gt;swapnil .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 06:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extraction-from-a-list/m-p/1742112#M322358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T06:52:55Z</dc:date>
    </item>
  </channel>
</rss>

