<?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: Idea for useful Z function module / report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266199#M1915009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Bartłomiej,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice Idea,, I have also created a similar utility in my system but I have done it using OOPS.&lt;/P&gt;&lt;P&gt;I created an Interface, let's name is ZBC&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTILITIES, again I have various classes inherited like, ZSD&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL, ZMM&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL and so on..!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZBC&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTILITIES have global constants and methods like clear, display, GOS Set and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Again ZSD&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL have SD specific constants and various useful methods.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are efficiently utilizing this model and its very much convenient for developers too, it makes code management easier and avoids rework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly share your approach too, we may copy some thing from your design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Aug 2015 11:53:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-08-16T11:53:10Z</dc:date>
    <item>
      <title>Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266194#M1915004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;I want to create a "package" of useful function modules or programs that can be used in many places. For example, not every clinect can use &lt;STRONG&gt;/cockpit/message_append&lt;/STRONG&gt; but I find it very useful. I was also thinking about FM which name could be &lt;STRONG&gt;z_clear_vars_and_tabs&lt;/STRONG&gt; which clears all variables in program (or other FM, especially here when FM is used in loop and programmer forgets to clear some vars and they still have some values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;What other function fodules to implement can you think of or what did you create by yourself that you find useful and you're proud of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Thanks for all your answers&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Greetings,&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Bartłomiej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 06:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266194#M1915004</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2015-08-10T06:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266195#M1915005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bartlomiej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on similar tool, I will share once I am done.&lt;/P&gt;&lt;P&gt;fyi ..&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RS_PROGRAM_INDEX' will give you all the variables declared as global.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;u just need to pass the report name &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;to this FM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;SK&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 07:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266195#M1915005</guid>
      <dc:creator>suresh_kutam</dc:creator>
      <dc:date>2015-08-10T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266196#M1915006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I can think of just simple FM's like date validation (8 chars and 10 chars, with " . " and " - "), but what about something more complex?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266196#M1915006</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2015-08-11T08:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266197#M1915007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also thought about something like "attachment manager" - deleting, copying and statisctics (file extensions and their percentage).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be thankful for all ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bartłomiej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 07:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266197#M1915007</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2015-08-14T07:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266198#M1915008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clearing vars and tabs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That sounds as though you are programming with all of your variables as Global variables.&amp;nbsp; If that is the case I would suggest changing your programming practice to make use of local variables which are cleared each time the procedure or method is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have to use global variables because ABAP requires them,&amp;nbsp; do not access them directly but pass them as parameters to your procedures or methods.&amp;nbsp; If you have data that is reused then consider making the table static.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In other words don't use global variables unless ABAP forces you too as they cause more problems than they help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One useful function group I have written is 'Themed ALV'.&amp;nbsp; It handles all the various flavours of the ALV Grid or Tree,&amp;nbsp; with it's layout,&amp;nbsp; headers (types - Standard or HTML for example),&amp;nbsp; footers etc all defined by a Theme in the same way that you can Theme windows.&amp;nbsp; The headers and footers have standard contents also defined by the Theme entry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default drill downs are added for columns that can be drilled into such as P/O's,&amp;nbsp; Sales Orders,&amp;nbsp; Materials etc etc.&amp;nbsp; All the routines can also have user define processing in the same way that REUSE_ALV_GRID_DISPLAY provides it's various call back routines so for example custom detail can be added to the header,&amp;nbsp; custom programming at user commands,. custom toolbars etc etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way a programmer can provide a standard look and feel for all the ALV style reports in a project with minimum programming in the actual application itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 08:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266198#M1915008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-14T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Idea for useful Z function module / report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266199#M1915009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Bartłomiej,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice Idea,, I have also created a similar utility in my system but I have done it using OOPS.&lt;/P&gt;&lt;P&gt;I created an Interface, let's name is ZBC&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTILITIES, again I have various classes inherited like, ZSD&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL, ZMM&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL and so on..!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZBC&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTILITIES have global constants and methods like clear, display, GOS Set and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Again ZSD&lt;SPAN style="font-size: 13.3333330154419px;"&gt;_UTIL have SD specific constants and various useful methods.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are efficiently utilizing this model and its very much convenient for developers too, it makes code management easier and avoids rework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly share your approach too, we may copy some thing from your design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2015 11:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idea-for-useful-z-function-module-report/m-p/11266199#M1915009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-16T11:53:10Z</dc:date>
    </item>
  </channel>
</rss>

