<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Max Titov IV @ TechSplice &#187; programmer</title>
	<atom:link href="http://www.blog.techsplice.com/archives/tag/programmer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blog.techsplice.com</link>
	<description>The most beautiful music of all is the music of what happens.</description>
	<lastBuildDate>Tue, 20 Dec 2011 18:56:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SAP: debugging in pop-up windows</title>
		<link>http://www.blog.techsplice.com/archives/298</link>
		<comments>http://www.blog.techsplice.com/archives/298#comments</comments>
		<pubDate>Sat, 22 Aug 2009 01:38:17 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=298</guid>
		<description><![CDATA[Debugging in SAP is something that I do almost on a daily basis, most of the time I get by just by typing the /h command in the transaction window and executing the program but this is not always possible. The scenario that I speak of occurs when you are debugging a pop-up window. When [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span><span lang="EN-US">Debugging in SAP is something that I do almost on a daily basis, most of the time I get by just by typing the <strong>/h</strong> command in the transaction window and executing the program but this is not always possible.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">The scenario that I speak of occurs when you are debugging a pop-up window.<span> </span>When you are working with a pop-up window there is no convenient transaction window where you can turn on the debugger.<span> </span>So what do you do?</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">Simple.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">Create a new file; lets call it <em>debugger.txt</em> and populate the contents of the file with the following lines:</span></span></p>
<p class="MsoNormal" style="padding-left: 30px;"><span><span lang="EN-US"><span> </span><em>[Function]</em></span></span></p>
<p class="MsoNormal" style="padding-left: 30px;"><span><em><span lang="EN-US"><span> </span>Title=Debugger Session</span></em></span></p>
<p class="MsoNormal" style="padding-left: 30px;"><span><em><span lang="EN-US"><span> </span>Command=/h</span></em></span></p>
<p class="MsoNormal" style="padding-left: 30px;"><span><em><span lang="EN-US"><span> </span>Type=SystemCommand</span></em></span></p>
<p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">Save the file and leave it on your desktop.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">Now when ever you get to a pop-up window that you want to debug simply drag the <em>debugger.txt</em> file in to the window and you will activate the debugging session.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US">Happy hunting!</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/298/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP &#8211; ABAP &#8211; gui &#8211; hiding selection components</title>
		<link>http://www.blog.techsplice.com/archives/287</link>
		<comments>http://www.blog.techsplice.com/archives/287#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:52:01 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[abap]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sap]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=287</guid>
		<description><![CDATA[If you want to make your reports more functional you can start controling the properties of different components based on selections that are performed by the user. For instance in this post I&#8217;ll show you a quick example of how to hide a on-screen component based on user selection. PARAMETER: cb_a AS CHECKBOX DEFAULT 'X' [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to make your reports more functional you can start controling the properties of different components based on selections that are performed by the user.</p>
<p>For instance in this post I&#8217;ll show you a quick example of how to hide a on-screen component based on user selection.</p>
<pre class="prettyprint">PARAMETER:  cb_a AS CHECKBOX DEFAULT 'X'
<strong>            </strong>USER-COMMAND batch MODIF ID ida,
            cb_bAS CHECKBOX DEFAULT 'X'
            USER-COMMAND batch MODIF ID idb.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-group1 = 'IDA' AND cb_b NE 'X'.
<strong>      </strong>screen-<strong>active </strong>= 0.
      MODIFY SCREEN.
    ENDIF.

    IF screen-group1 = 'IDB' AND cb_a NE 'X'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.</pre>
<p>This example will hide each of the check boxes depending on the selection of the other check-box.  If both are selected then both are visible, if one is un-checked then the other is hidden.</p>
<p>The active attribute controls the visibility of a particular screen component.  Explicitly: 0 = hidden, 1 = visible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/287/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ABAP: execute OS level command</title>
		<link>http://www.blog.techsplice.com/archives/209</link>
		<comments>http://www.blog.techsplice.com/archives/209#comments</comments>
		<pubDate>Wed, 25 Mar 2009 16:13:24 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=209</guid>
		<description><![CDATA[There are many things that one can do to execute a command in an Operating System from an ABAP report.  I&#8217;ll explain one method that one can take to accomplish this. Using transactions SM49 and SM69 set up and test a new OS command that you wish to execute.  For the purposes of this post [...]]]></description>
			<content:encoded><![CDATA[<p>There are many things that one can do to execute a command in an Operating System from an ABAP report.  I&#8217;ll explain one method that one can take to accomplish this.</p>
<ol>
<li>Using transactions SM49 and SM69 set up and test a new OS command that you wish to execute.  For the purposes of this post I&#8217;ve set up an executable command ZSAPCAR32.</li>
<li>When I was setting up the new command I&#8217;ve selected the option to add additional parameters to the command.</li>
<li>Once tested and satisfied you can add a new function module [SXPG_COMMAND_EXECUTE] to your report that will call preset executable command.</li>
</ol>
<pre class="prettyprint">data: g_rlog                TYPE btcxpm OCCURS 0.

CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
       EXPORTING
            commandname                   = 'ZSAPCAR32'
            additional_parameters         = &lt;additional parameters&gt;
            operatingsystem               = &lt;system you specified in SM69&gt;
       TABLES
            exec_protocol                 = g_rlog
       EXCEPTIONS
            no_permission                 = 1
            command_not_found             = 2
            parameters_too_long           = 3
            security_risk                 = 4
            wrong_check_call_interface    = 5
            program_start_error           = 6
            program_termination_error     = 7
            x_error                       = 8
            parameter_expected            = 9
            too_many_parameters           = 10
            illegal_command               = 11
            wrong_asynchronous_parameters = 12
            cant_enq_tbtco_entry          = 13
            jobcount_generation_error     = 14
            OTHERS                        = 15.

if sy-subrc eq 0.
    LOOP AT g_rlog INTO g_warlog.
*     display command output
      write g_warlog.
    ENDLOOP.
endif.</pre>
<p>The above code will execute your OS command and display the results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/209/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ABAP: load file using pop-up window</title>
		<link>http://www.blog.techsplice.com/archives/205</link>
		<comments>http://www.blog.techsplice.com/archives/205#comments</comments>
		<pubDate>Wed, 25 Mar 2009 14:00:42 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=205</guid>
		<description><![CDATA[When writing a program the simplest way to load a file from your client PC in to the server SAP syste is through a use of a regular text box.  But if you want to get a little fancier try using the following function: data: l_select TYPE sapb-sappfad. CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = l_select [...]]]></description>
			<content:encoded><![CDATA[<p>When writing a program the simplest way to load a file from your client PC in to the server SAP syste is through a use of a regular text box.  But if you want to get a little fancier try using the following function:</p>
<pre class="prettyprint">data: l_select TYPE sapb-sappfad.

CALL FUNCTION 'WS_FILENAME_GET'
       EXPORTING
            def_filename     = l_select
            def_path         = ' '
            mask             = ',*.*,*.*.'
            mode             = 'O'
            title            = 'Select filename to OPEN'(f05)
       IMPORTING
            filename         = l_select
       EXCEPTIONS
            selection_cancel = 1
            selection_error  = 2
            OTHERS           = 3.</pre>
<p>This function will open up a pop-up window [standard to windows] allowing the user to select a file somewhere on their local comptuer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/205/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmer Competancy Matrix</title>
		<link>http://www.blog.techsplice.com/archives/42</link>
		<comments>http://www.blog.techsplice.com/archives/42#comments</comments>
		<pubDate>Sat, 02 Aug 2008 07:16:20 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[interesting]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=42</guid>
		<description><![CDATA[I&#8217;d like to say that I am an all rounder levl 3 log(n) programmer but I am not 100%.  Having worked for over a year now in the business world I come to miss those little midnight session in the computer lab. In either case I am determined to get better familiarized with the things [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like to say that I am an all rounder <a href="http://www.indiangeek.net/wp-content/uploads/Programmer%20competency%20matrix.htm" title="Programmer Competance Matrix" target="_blank">levl 3 log(n)</a> programmer but I am not 100%.  Having worked for over a year now in the business world I come to miss those little midnight session in the computer lab.</p>
<p>In either case I am determined to get better familiarized with the things that I&#8217;ve forgotten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/42/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.849 seconds -->

