<?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: A question about sets in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253778#M1914123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronaldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use sets a lot. I see no reason why this would not be a good use of sets. If you do use sets,&amp;nbsp; you have to consider who is going to maintain them and how do you keep all the people aware&amp;nbsp; of the sets that are being used.&amp;nbsp; Also, sets should be created and changed individually in each of the systems: development, QAC, and production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is an example of some comments we put in all of our ABAP programs that use a set.&amp;nbsp; Also, we have a naming conventions&amp;nbsp; for any sets we create. Prefixs differs in ABAP programs versus validations or substitutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*************************************************************************&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; External Parameters: sets, distribution lists, ZRUNPARMS, etc.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;************************************************************************&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; &amp;gt;&amp;gt;&amp;nbsp; SETS&amp;nbsp; &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; "ZABA_BUKRS_0000000000001"&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; Co Codes for Split Docs-ZFGLI003- NO Intercompany documents&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;Bruce&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 21:56:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-08-13T21:56:37Z</dc:date>
    <item>
      <title>A question about sets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253775#M1914120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;I'm writing this post just to ask you something about sets. &lt;/P&gt;&lt;P&gt;I have a program with some constants and I would like to remove then and replace then for something more flexible... Those constants are storing data like :&lt;/P&gt;&lt;P&gt;c_user &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;char30 &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SAP'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;c_host &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;char64 &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'12.49.35.77'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;c_dest &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;rfcdes&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;rfcdest &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 10pt;"&gt;'SAPFTPA'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;c_pwd &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;char25 &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZXDEP4T3C'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking in create a table to store this data but a friend tell me about sets, but for me sets doesn't looks like a good choice for this specific case. &lt;/P&gt;&lt;P&gt;So I'm asking you guys a opinion. What's the better choice for something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ronaldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 01:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253775#M1914120</guid>
      <dc:creator>former_member202733</dc:creator>
      <dc:date>2015-08-13T01:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: A question about sets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253776#M1914121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hello Ronaldo&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Rather than using sets, built for other purposes like report systems in the SAP ERP, I'd suggest to use table TVARV. This was designed to provide variants for ABAP reports, but it can be easily used to store ranges and fixed values for programs.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Values can be set in transaction STVARV and a sample code to retrieve values can be found here:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A href="http://www.abapzombie.com/guias/2011/01/20/codigos-pequenos-e-uteis-parte-1-tvarv/" title="http://www.abapzombie.com/guias/2011/01/20/codigos-pequenos-e-uteis-parte-1-tvarv/"&gt;http://www.abapzombie.com/guias/2011/01/20/codigos-pequenos-e-uteis-parte-1-tvarv/&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Luis Becker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 02:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253776#M1914121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-13T02:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: A question about sets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253777#M1914122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As written use TVARVC (TVARV is now only intended for variant not client dependent, system variant)&lt;/P&gt;&lt;P&gt;Then attach a variant to the transaction that will use those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;Hints: &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Feel free to look for available online documentation as &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/content.htm?current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;show_children=true"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;ABAP Workbench Tools&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN lang="EN-US"&gt; : &lt;/SPAN&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm?frameset=/en/c0/9803ade58611d194cc00a0c94260a5/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=562&amp;amp;show_children=false"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Variant Maintenance&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN lang="EN-US"&gt;, &lt;/SPAN&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c0/980398e58611d194cc00a0c94260a5/content.htm?frameset=/en/c0/9803ade58611d194cc00a0c94260a5/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=572&amp;amp;show_children=false"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Variable Values in Variants&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN lang="EN-US"&gt;, &lt;/SPAN&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c0/9803a7e58611d194cc00a0c94260a5/content.htm?frameset=/en/c0/9803ade58611d194cc00a0c94260a5/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=578&amp;amp;show_children=false"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Fixed Values from Table TVARVC&lt;/SPAN&gt;&lt;/A&gt; : &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c0/9803aae58611d194cc00a0c94260a5/content.htm?frameset=/en/c0/9803ade58611d194cc00a0c94260a5/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=579"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Creating Table Variables from TVARVC&lt;/SPAN&gt;&lt;/A&gt; and &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c0/9803ade58611d194cc00a0c94260a5/content.htm?frameset=/en/c0/9803ade58611d194cc00a0c94260a5/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=580"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Maintaining Entries in Table TVARVC&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;Also you should look at report RVSETDAT to create your own program to automatically update TVARVC. Ask admin to schedule it on a periodic schedule (RVSETDAT should already been scheduled)&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253777#M1914122</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-08-13T14:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: A question about sets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253778#M1914123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronaldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use sets a lot. I see no reason why this would not be a good use of sets. If you do use sets,&amp;nbsp; you have to consider who is going to maintain them and how do you keep all the people aware&amp;nbsp; of the sets that are being used.&amp;nbsp; Also, sets should be created and changed individually in each of the systems: development, QAC, and production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is an example of some comments we put in all of our ABAP programs that use a set.&amp;nbsp; Also, we have a naming conventions&amp;nbsp; for any sets we create. Prefixs differs in ABAP programs versus validations or substitutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*************************************************************************&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; External Parameters: sets, distribution lists, ZRUNPARMS, etc.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;************************************************************************&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; &amp;gt;&amp;gt;&amp;nbsp; SETS&amp;nbsp; &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; "ZABA_BUKRS_0000000000001"&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; Co Codes for Split Docs-ZFGLI003- NO Intercompany documents&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;Bruce&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 21:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-sets/m-p/11253778#M1914123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-13T21:56:37Z</dc:date>
    </item>
  </channel>
</rss>

