<?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 Programmatic variant manipulation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatic-variant-manipulation/m-p/8965478#M1695230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question: Programmatic variant manipulation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program SAPF100&lt;/P&gt;&lt;P&gt;Phony logical database in attributes: D$S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code changes the company entries in a variant monthly based on a ZTABLE.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Pulling the contents of a variant using FM RS_VARIANT_CONTENTS&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 90px;"&gt;&lt;SPAN class="pasted-list-info"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Be careful and use M rather than W to prevent conversion exits.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Deleting the BUKRS entries from TABLE VALUETAB.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Adding new entries BUKRS entries to the TABLE VALUETAB.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Writing the variant back with new table using FM 'RS_CHANGE_CREATED_VARIANT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works well, except some of the variants have FREE selections.&amp;nbsp; FM RS_VARIANT_CONTENTS doesn’t seem to pull them correctly, possible because of the weird logical database attached to the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the FREE selections to be written back to the variant, currently they are being lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or suggestions are welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 20:50:50 GMT</pubDate>
    <dc:creator>FelixOrtiz</dc:creator>
    <dc:date>2012-09-13T20:50:50Z</dc:date>
    <item>
      <title>Programmatic variant manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatic-variant-manipulation/m-p/8965478#M1695230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question: Programmatic variant manipulation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program SAPF100&lt;/P&gt;&lt;P&gt;Phony logical database in attributes: D$S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code changes the company entries in a variant monthly based on a ZTABLE.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Pulling the contents of a variant using FM RS_VARIANT_CONTENTS&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 90px;"&gt;&lt;SPAN class="pasted-list-info"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Be careful and use M rather than W to prevent conversion exits.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Deleting the BUKRS entries from TABLE VALUETAB.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Adding new entries BUKRS entries to the TABLE VALUETAB.&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 45px;"&gt;&lt;SPAN class="pasted-list-info"&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Writing the variant back with new table using FM 'RS_CHANGE_CREATED_VARIANT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works well, except some of the variants have FREE selections.&amp;nbsp; FM RS_VARIANT_CONTENTS doesn’t seem to pull them correctly, possible because of the weird logical database attached to the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the FREE selections to be written back to the variant, currently they are being lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or suggestions are welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 20:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatic-variant-manipulation/m-p/8965478#M1695230</guid>
      <dc:creator>FelixOrtiz</dc:creator>
      <dc:date>2012-09-13T20:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic variant manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatic-variant-manipulation/m-p/8965479#M1695231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No solution found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 14:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatic-variant-manipulation/m-p/8965479#M1695231</guid>
      <dc:creator>FelixOrtiz</dc:creator>
      <dc:date>2013-03-22T14:52:27Z</dc:date>
    </item>
  </channel>
</rss>

