<?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</title>
	<atom:link href="http://www.blog.techsplice.com/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: IDES ECC6 [EHP5] &#8211; disable devaccess check</title>
		<link>http://www.blog.techsplice.com/archives/464</link>
		<comments>http://www.blog.techsplice.com/archives/464#comments</comments>
		<pubDate>Tue, 20 Dec 2011 18:56:50 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=464</guid>
		<description><![CDATA[The proper solution is to register for a Developer access key from SAP, but in cases when you can&#8217;t do that there&#8217;s always a work-around. I&#8217;ve set up a personal IDES system on my home computer and ran in to this problem.  Debugging the code I&#8217;ve identified that the function that performs the checks is DEVELOPER_KEY_CHECK. [...]]]></description>
			<content:encoded><![CDATA[<p>The proper solution is to register for a Developer access key from SAP, but in cases when you can&#8217;t do that there&#8217;s always a work-around.</p>
<p>I&#8217;ve set up a personal IDES system on my home computer and ran in to this problem.  Debugging the code I&#8217;ve identified that the function that performs the checks is DEVELOPER_KEY_CHECK.</p>
<p>The FM is very small, looks like this:</p>
<p style="padding-left: 30px;">  CALL &#8217;CHECK_DEVELOPER_KEY&#8217; ID &#8217;KEY&#8217;    FIELD DEVELOPKEY.<br />
CASE SY-SUBRC.<br />
WHEN 1.<br />
RAISE PARAMETERS_WRONG.<br />
WHEN 2.<br />
RAISE WRONG_KEY.<br />
ENDCASE.</p>
<p>The hack/crack is to change the code to overwrite the OS command that returns 1 or 2.</p>
<p>Modification of the source SAP code is also tricky, you need to log in using user SAP, go to the FM DEVELOPER_KEY_CHECK &#8211; click change, using the debugger make sure the change can be allowed [update the sy-subrc to 0 when applicable] and add something like COMMIT WORK statement after the OS call which will overwrite the SY-SUBRC value to 0.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/464/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: ALV grid Field Catalog [ref_table] SAPLSKBH &amp; [source code of program &quot; &quot;] error</title>
		<link>http://www.blog.techsplice.com/archives/449</link>
		<comments>http://www.blog.techsplice.com/archives/449#comments</comments>
		<pubDate>Thu, 08 Sep 2011 16:08:19 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=449</guid>
		<description><![CDATA[I&#8217;ve came across a strange error that occurred while building an SAP ALV grid.  After calling the create_dynamic_table method of the CL_ALV_TABLE_CREATE object the program throws a hard error complaining about a blank program call in SAPLSKBH . After spending some time debugging I&#8217;ve identified that based on custom reference table parameters the  source 4.6C SAP code attempts to generate a dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve came across a strange error that occurred while building an SAP ALV grid.  After calling the <em>create_dynamic_table</em> method of the <em>CL_ALV_TABLE_CREATE</em> object the program throws a hard error complaining about a blank program call in SAPLSKBH .</p>
<p>After spending some time debugging I&#8217;ve identified that based on custom reference table parameters the  source 4.6C SAP code attempts to generate a dynamic program using a <em>GENERATE REPORT prog</em> call.  When the attempt fails instead of returning a corresponding error message the algorithm throws an error about a blank program pointer that failed to be created.</p>
<p>Here&#8217;s the problematic code &#8211; while debugging examining the <em>l_message</em> parameter will identify the true cause of the failure.</p>
<pre>  catch system-exceptions generate_subpool_dir_full = 9.
    generate subroutine pool lt_source name l_name
             message l_message line l_line word l_word.
  endcatch.
  case sy-subrc.
    when 0.
    when 9.
      raise generate_subpool_dir_full.
    when others.
      message x000(0k) with l_message l_line l_word.
  endcase.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/449/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: EDI: Conversion of External Tax Rate</title>
		<link>http://www.blog.techsplice.com/archives/446</link>
		<comments>http://www.blog.techsplice.com/archives/446#comments</comments>
		<pubDate>Tue, 30 Aug 2011 16:57:47 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=446</guid>
		<description><![CDATA[T076M is a standard SAP table available within R/3 SAP systems depending on your version and release level. Below is the standard documentation available for this table and a few details of the fields which make up this table. Transaction: OBCD can be used to maintain the contents.]]></description>
			<content:encoded><![CDATA[<p>T076M is a standard SAP table available within R/3 SAP systems depending on your version and release level. Below is the standard documentation available for this table and a few details of the fields which make up this table.</p>
<p>Transaction: OBCD can be used to maintain the contents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/446/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MXML: &#8220;true &amp;&amp; true&#8221; error</title>
		<link>http://www.blog.techsplice.com/archives/438</link>
		<comments>http://www.blog.techsplice.com/archives/438#comments</comments>
		<pubDate>Fri, 15 Jul 2011 21:39:24 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=438</guid>
		<description><![CDATA[Stumbled across this strange error while doing some development.  I&#8217;ve needed to determine the enable function of a button based on two boolean conditions and as a result created the following bit of code: &#60;com:Component enabled=&#8221;{booleanA &#38;&#38; booleanB}&#8221;/&#62; The compiler didn&#8217;t like what I&#8217;ve put together and threw the following error: The entity name must immediately [...]]]></description>
			<content:encoded><![CDATA[<p>Stumbled across this strange error while doing some development.  I&#8217;ve needed to determine the enable function of a button based on two boolean conditions and as a result created the following bit of code:</p>
<p>&lt;com:Component enabled=&#8221;{booleanA &amp;&amp; booleanB}&#8221;/&gt;</p>
<p>The compiler didn&#8217;t like what I&#8217;ve put together and threw the following error: <em><strong>The entity name must immediately follow the &#8216;&amp;&#8217; in the entity reference.</strong></em></p>
<p>At first I litteraly thought that I&#8217;ve forgotten how to code and trivially tried a simple <em>if</em> statement in a <em>&lt;fx:Script&gt;</em> tag &#8211; that worked without a problem.  I&#8217;ve also tried to see if the or<em> &#8221;||&#8221;</em> operator worked within the enabled attribute &#8211; which it did. My last thought before searching for a solution online was that the latest version of Adobe Flex had a bug in it.</p>
<p>Some of the solution that I&#8217;ve discovered are:</p>
<ul>
<li>use <em>;&amp;amp</em> instead</li>
<li>use <em>(booleanA) ? (booleanB):false</em></li>
<li>use <em>!(!active1 || !active2)</em></li>
</ul>
<div>I found the third option to be quite amusing though in general the root cause of the problem is the XML parsing of the MXML code.  Once you understand it should be straight forward.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/438/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: Configuring a Trust Relationship for SAP Assertion Tickets</title>
		<link>http://www.blog.techsplice.com/archives/436</link>
		<comments>http://www.blog.techsplice.com/archives/436#comments</comments>
		<pubDate>Wed, 13 Jul 2011 15:35:22 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=436</guid>
		<description><![CDATA[Some useful reading material about configuring trust relationships between different SAP instances. http://help.sap.com/saphelp_nwpi71/helpdata/en/45/341a2176b74002e10000000a155369/content.htm]]></description>
			<content:encoded><![CDATA[<p>Some useful reading material about configuring trust relationships between different SAP instances.</p>
<p><a href="http://help.sap.com/saphelp_nwpi71/helpdata/en/45/341a2176b74002e10000000a155369/content.htm">http://help.sap.com/saphelp_nwpi71/helpdata/en/45/341a2176b74002e10000000a155369/content.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/436/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: substitution/validation transactions</title>
		<link>http://www.blog.techsplice.com/archives/433</link>
		<comments>http://www.blog.techsplice.com/archives/433#comments</comments>
		<pubDate>Fri, 08 Jul 2011 17:25:02 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[Everyday stuff]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[substitution]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=433</guid>
		<description><![CDATA[A quick and simple way to locate a validation/substitution rules can be achieved through the utilization of two transactions GGB0/GGB1 respectfully. Within the transaction if accessed the menu panel Environment &#8211; Directory one can select the level of detail and display an entire collection of all the rules that exist in the system.]]></description>
			<content:encoded><![CDATA[<p>A quick and simple way to locate a validation/substitution rules can be achieved through the utilization of two transactions GGB0/GGB1 respectfully. </p>
<p>Within the transaction if accessed the menu panel Environment &#8211; Directory one can select the level of detail and display an entire collection of all the rules that exist in the system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/433/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: Payment Run: err &#8211; &#8220;overlap with payment run&#8221; &#8211; DB fix</title>
		<link>http://www.blog.techsplice.com/archives/431</link>
		<comments>http://www.blog.techsplice.com/archives/431#comments</comments>
		<pubDate>Wed, 06 Jul 2011 18:27:22 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[payment run]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=431</guid>
		<description><![CDATA[I faced a problem while automating a payment run process, the log from the run spit out the following error message: &#8221; Log for payment run for payment on [Date], identification [PR#] Overlap with payment run [Date] [PR#A] ... the execution of the payment program is terminated &#8221; Some online digging has resulted in an [...]]]></description>
			<content:encoded><![CDATA[<p>I faced a problem while automating a payment run process, the log from the run spit out the following error message:</p>
<p>&#8221;</p>
<pre>Log for payment run for payment on [Date], identification [PR#]
Overlap with payment run [Date] [PR#A]
... the execution of the payment program is terminated</pre>
<p>&#8221;</p>
<p>Some online digging has resulted in an identification of two different tables:</p>
<p>T042X: Company Codes Blocked by the Payment Program &#8211; this table contained an entry for the company code with which I was working.</p>
<p>REGUV: Control records for the payment program &#8211; this table contained records for each of the payment runs and specifically tracks the status of each in the field XECHT.  The failed records that I&#8217;ve encountered has a value S where a blank would identify that a production run has not been carried out yet.</p>
<p>Fixing these two tables will set the runs in to the original state.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/431/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: scan ABAP programs</title>
		<link>http://www.blog.techsplice.com/archives/426</link>
		<comments>http://www.blog.techsplice.com/archives/426#comments</comments>
		<pubDate>Mon, 27 Jun 2011 14:39:24 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[Everyday stuff]]></category>
		<category><![CDATA[abap]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=426</guid>
		<description><![CDATA[Useful little program that can help you scan other SAP programs RPR_ABAP_SOURCE_SCAN.]]></description>
			<content:encoded><![CDATA[<p>Useful little program that can help you scan other SAP programs RPR_ABAP_SOURCE_SCAN.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/426/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: prompt user for a job-name when scheduling program in the background using SE38</title>
		<link>http://www.blog.techsplice.com/archives/419</link>
		<comments>http://www.blog.techsplice.com/archives/419#comments</comments>
		<pubDate>Thu, 27 Jan 2011 19:04:10 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=419</guid>
		<description><![CDATA[When you want to execute a standard program and run it in the background typically SAP will name the job with the same identification as the program name. To compensate for this behaviour you can implement a badi [JOB_NAME_SELF] .  Import parameters will include program name and export parameters will contain jobname. To make the [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to execute a standard program and run it in the background typically SAP will name the job with the same identification as the program name.</p>
<p>To compensate for this behaviour you can implement a badi [JOB_NAME_SELF] .  Import parameters will include program name and export parameters will contain jobname.</p>
<p>To make the process more flexible you can enhance the functionality by prompting the user to populate the actual program name, here&#8217;s how you can accomplish that:</p>
<div id="_mcePaste" style="padding-left: 30px;">call function &#8216;POPUP_TO_GET_VALUE&#8217;</div>
<div id="_mcePaste" style="padding-left: 60px;">exporting</div>
<div id="_mcePaste" style="padding-left: 90px;">fieldname           = &#8216;JOBNAME&#8217;</div>
<div id="_mcePaste" style="padding-left: 90px;">tabname             = &#8216;RSJOBINFO&#8217;</div>
<div id="_mcePaste" style="padding-left: 90px;">titel               = &#8216;Enter the job name&#8217;</div>
<div id="_mcePaste" style="padding-left: 90px;">valuein             = program</div>
<div id="_mcePaste" style="padding-left: 60px;">importing</div>
<div id="_mcePaste" style="padding-left: 90px;">valueout            = jobname</div>
<div id="_mcePaste" style="padding-left: 60px;">exceptions</div>
<div id="_mcePaste" style="padding-left: 90px;">fieldname_not_found = 1</div>
<div id="_mcePaste" style="padding-left: 90px;">others              = 2.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/419/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: substitution rule exclude fields</title>
		<link>http://www.blog.techsplice.com/archives/416</link>
		<comments>http://www.blog.techsplice.com/archives/416#comments</comments>
		<pubDate>Mon, 24 Jan 2011 04:43:08 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=416</guid>
		<description><![CDATA[Changing a value in a substitution rule might be perhibited based on the configurations in the GB01 table.]]></description>
			<content:encoded><![CDATA[<p>Changing a value in a substitution rule might be perhibited based on the configurations in the GB01 table.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/416/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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

