<?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: Replacing internal table  values with selection screen parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743441#M900724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venky Neela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For replacing _X with B or M first u need to get the value into the string and u need to calculate the string length.&lt;/P&gt;&lt;P&gt;u need to check the last 2 charecters are '_X' or not.&lt;/P&gt;&lt;P&gt; if the last two charecters '_X',  by using offset u need to replace with B or M.&lt;/P&gt;&lt;P&gt;U need to check the selection screen parameters. depending on that u need to write if condition and replace the last 2 charecters.&lt;/P&gt;&lt;P&gt;I din't understand from this part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again , i need to replace TEMPLATE from the above example with the content of another ITAB2 with the following field (SBU) values are &lt;/P&gt;&lt;P&gt;SBU_1 &lt;/P&gt;&lt;P&gt;SBU_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 05:03:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T05:03:53Z</dc:date>
    <item>
      <title>Replacing internal table  values with selection screen parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743440#M900723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I  have a ITAB1 i need to replace the contents of itab with selection parameters detail explanation as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab contains following values of field ATEXT &lt;/P&gt;&lt;P&gt;VR:MM_PURCH_REL_O_POXX&lt;/P&gt;&lt;P&gt;VR:TEMPLATE_MM_MATMA_MNT_X&lt;/P&gt;&lt;P&gt;VR:TEMPLATE_SC_XPLNT_MNT_X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen parameters will be 1 and 3 these are the trade indicators indicator corresponds to the values like&lt;/P&gt;&lt;P&gt;1 is B &lt;/P&gt;&lt;P&gt;3 is M&lt;/P&gt;&lt;P&gt;i need to replace _X from the above examples with these indicators&lt;/P&gt;&lt;P&gt;again , i need to replace TEMPLATE from the above example with the content of another ITAB2 with the following field (SBU) values are &lt;/P&gt;&lt;P&gt;SBU_1 &lt;/P&gt;&lt;P&gt;SBU_2 &lt;/P&gt;&lt;P&gt;solution required urgently &lt;/P&gt;&lt;P&gt;useful suggestions will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tanks and regards&lt;/P&gt;&lt;P&gt;venky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 03:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743440#M900723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T03:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing internal table  values with selection screen parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743441#M900724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venky Neela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For replacing _X with B or M first u need to get the value into the string and u need to calculate the string length.&lt;/P&gt;&lt;P&gt;u need to check the last 2 charecters are '_X' or not.&lt;/P&gt;&lt;P&gt; if the last two charecters '_X',  by using offset u need to replace with B or M.&lt;/P&gt;&lt;P&gt;U need to check the selection screen parameters. depending on that u need to write if condition and replace the last 2 charecters.&lt;/P&gt;&lt;P&gt;I din't understand from this part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again , i need to replace TEMPLATE from the above example with the content of another ITAB2 with the following field (SBU) values are &lt;/P&gt;&lt;P&gt;SBU_1 &lt;/P&gt;&lt;P&gt;SBU_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 05:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743441#M900724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T05:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing internal table  values with selection screen parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743442#M900725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kodandaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   tanks for u  r reply&lt;/P&gt;&lt;P&gt;i need to replace always at the end _X with wat i m selected in selection screen parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VR:MM_PURCH_REL_O_POXX&lt;/P&gt;&lt;P&gt;VR:TEMPLATE_MM_MATMA_MNT_X&lt;/P&gt;&lt;P&gt;VR:TEMPLATE_SC_XPLNT_MNT_X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also i need to replace the template in above values with another internal table contents &lt;/P&gt;&lt;P&gt; the itab consist sbu1 and sbu2 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;the selection screen parameter will be 1 and 3 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;the output should be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VR:SBU1_MM_MATMA_MNT_1&lt;/P&gt;&lt;P&gt;VR:SBU2_MM_MATMA_MNT_1&lt;/P&gt;&lt;P&gt;VR:SBU1_MM_MATMA_MNT_3&lt;/P&gt;&lt;P&gt;VR:SBU2_MM_MATMA_MNT_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u understand this&lt;/P&gt;&lt;P&gt;please revert back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 06:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743442#M900725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T06:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing internal table  values with selection screen parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743443#M900726</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;As i said before first we need to get the value into the charecter variable and u need to calculate the string length because at waht position we get this '_X'.&lt;/P&gt;&lt;P&gt;after finding the string length u need to use off set to replace '_X'.&lt;/P&gt;&lt;P&gt;for example if  length of the string VR:TEMPLATE_MM_MATMA_MNT_X  is 26, then u need to use logic  var+24(2) = 1 or 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find the string length use &lt;STRONG&gt;STRLEN&lt;/STRONG&gt; Command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the same way u need to do for the the TEMPLETE also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please revert back if u need help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 06:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacing-internal-table-values-with-selection-screen-parameters/m-p/3743443#M900726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T06:24:07Z</dc:date>
    </item>
  </channel>
</rss>

