<?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; SAP/ABAP</title>
	<atom:link href="http://www.blog.techsplice.com/archives/category/abap-programming/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>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: 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: 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>
		<item>
		<title>SAP: ABAP: Subroutine does not exist &#8211; bug</title>
		<link>http://www.blog.techsplice.com/archives/414</link>
		<comments>http://www.blog.techsplice.com/archives/414#comments</comments>
		<pubDate>Fri, 21 Jan 2011 22:18:09 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[abap]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=414</guid>
		<description><![CDATA[Scenario: you&#8217;re editing your code and when you try to double click on a previously defined subroutine you get a popup stating that it doesn&#8217;t exist. You check and confirm that the subroutine is included, the report compiles and runs properly. Resolution: to fix the problem do the following steps: Click Utilities Click Update Navigation [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario: you&#8217;re editing your code and when you try to double click on a previously defined subroutine you get a popup stating that it doesn&#8217;t exist. You check and confirm that the subroutine is included, the report compiles and runs properly.</p>
<p>Resolution: to fix the problem do the following steps:</p>
<ol>
<li>Click Utilities</li>
<li>Click Update Navigation Index</li>
</ol>
<p>The report will be regenerated and your problem should be solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/414/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: the basics of smart forms</title>
		<link>http://www.blog.techsplice.com/archives/406</link>
		<comments>http://www.blog.techsplice.com/archives/406#comments</comments>
		<pubDate>Wed, 29 Dec 2010 01:00:56 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=406</guid>
		<description><![CDATA[TR: SMARTFORMS &#8211; sap form builder &#8211; create and edit a smart form object TR: SE63 &#8211; translate objects &#8211; can be used to translate smart form data to a different language]]></description>
			<content:encoded><![CDATA[<p>TR: SMARTFORMS &#8211; sap form builder &#8211; create and edit a smart form object</p>
<p>TR: SE63 &#8211; translate objects &#8211; can be used to translate smart form data to a different language</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/406/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP: transport SO10 text data</title>
		<link>http://www.blog.techsplice.com/archives/403</link>
		<comments>http://www.blog.techsplice.com/archives/403#comments</comments>
		<pubDate>Tue, 28 Dec 2010 05:59:56 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=403</guid>
		<description><![CDATA[To transport text data follow these steps: Execute program RSTXTRAN Provide Text key and language Select desired text elements Click continue button [green checkbox] Click &#8220;Trsfr texts to corr.&#8221; button Create a new transport object and continue]]></description>
			<content:encoded><![CDATA[<p>To transport text data follow these steps:</p>
<ol>
<li>Execute program RSTXTRAN</li>
<li>Provide Text key and language</li>
<li>Select desired text elements</li>
<li>Click continue button [green checkbox]</li>
<li>Click &#8220;Trsfr texts to corr.&#8221; button</li>
<li>Create a new transport object and continue</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/403/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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

