<?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>SAP Flow &#187; ABAP tips</title>
	<atom:link href="http://www.sapflow.cz/archives/category/sap/abap-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sapflow.cz</link>
	<description>Anything can be done, it&#039;s just a matter of time and money...</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>No tax calculation function in FI/CO BAPIs &#8211; Solution</title>
		<link>http://www.sapflow.cz/archives/315</link>
		<comments>http://www.sapflow.cz/archives/315#comments</comments>
		<pubDate>Thu, 19 Jan 2012 00:47:55 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[FI/CO BAPI]]></category>
		<category><![CDATA[Tax calculation]]></category>
		<category><![CDATA[Tax calculation FI/CO BAPI]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=315</guid>
		<description><![CDATA[Symptom (as described in SAP OSS Note 367175) During the posting to accounting via BAPIs or IDocs you expect that analogous to posting transactions in FI the tax can be calculated. These are the following BAPIs / IDocs: BAPI_ACC_INVOICE_RECEIPT_POST BAPI_ACC_BILLING_POST IDoc message types ACLPAY, ACLREC, ACC_INVOICE_RECEIPT, ACC_BILLING &#160; Additional key words BAPI, IDoc, FB01, FB60 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Symptom (as described in SAP OSS Note 367175)</strong></p>
<p>During the posting to accounting via BAPIs or IDocs you expect that analogous to posting transactions in FI the tax can be calculated. These are the following BAPIs / IDocs:</p>
<ul>
<li>BAPI_ACC_INVOICE_RECEIPT_POST</li>
</ul>
<ul>
<li>BAPI_ACC_BILLING_POST</li>
</ul>
<ul>
<li>IDoc message types ACLPAY, ACLREC, ACC_INVOICE_RECEIPT, ACC_BILLING</li>
</ul>
<p>&nbsp;</p>
<p><strong>Additional key words</strong></p>
<p>BAPI, IDoc, FB01, FB60</p>
<p><strong>Cause and prerequisites</strong></p>
<p>In general the calculation of taxes does not belong to the BAPI processing function. No other line item is generated after an FI/CO BAPI is called.</p>
<p><strong>Explanation</strong></p>
<p>So that tax can be calculated and posted correctly the SAP system requires far more information than just tax code, tax base amount and tax account. Transaction FB60 offers far more hidden information for the tax calculation, for example whether the net or gross amount should be used. In order to pass on all the necessary data to the BAPIs the interfaces would have to be oversized. In addition the implementation of a tax calculation function would cause the risk of possible inconsistencies in the posted tax amounts. Also it would not be possible to distinguish whether the taxes were calculated in the SAP system or in an external system (for example for an SD invoice for which the taxes are calculated in the external system).</p>
<p><strong>Solution</strong></p>
<p><em><strong>A solution does not exist!</strong></em> The tax data must be determined before the BAPI is called and in the tax line items they must be passed on to the BAPI/IDoc.</p>
<p><strong>My example code:</strong></p>
<blockquote><address><!--StartFragment -->************************************************************************<br />
*         Calculate tax                                                *<br />
************************************************************************<br />
DESCRIBE TABLE gt_curr_acc LINES gv_tax_tabix. &#8221;No. of lines in currency table</address>
<address>LOOP AT gt_inp_data INTO gs_inp_data.<br />
gv_tax_tabix = gv_tax_tabix + 1. &#8221;Actual tax line*   Run calculation<br />
CALL FUNCTION &#8217;CALCULATE_TAX_FROM_NET_AMOUNT&#8217;<br />
EXPORTING<br />
i_bukrs           = gs_inp_data-bukrs<br />
i_mwskz           = gs_inp_data-mwskz<br />
i_waers           = &#8217;AUD&#8217;<br />
i_wrbtr           = lv_wrbtr<br />
TABLES<br />
t_mwdat           = lt_mwdat<br />
EXCEPTIONS<br />
bukrs_not_found   = 1<br />
country_not_found = 2<br />
mwskz_not_defined = 3<br />
mwskz_not_valid   = 4<br />
ktosl_not_found   = 5<br />
kalsm_not_found   = 6<br />
parameter_error   = 7<br />
knumh_not_found   = 8<br />
kschl_not_found   = 9<br />
unknown_error     = 10<br />
account_not_found = 11<br />
txjcd_not_valid   = 12<br />
OTHERS            = 13.<br />
IF sy-subrc &lt;&gt; 0.<br />
*   Add your error handling here<br />
*   (CALL FUNCTION &#8217;SWO_TEXT_FUNCTION_EXCEPTION&#8217;)<br />
ENDIF.</p>
<p>*  Continue with processing =&gt; Tax acc table<br />
CLEAR: ls_mwdat, gs_e1bpactx01.<br />
READ TABLE lt_mwdat INTO ls_mwdat INDEX 1.<br />
gs_e1bpactx01-itemno_acc = gv_tax_tabix.<br />
gs_e1bpactx01-acct_key = ls_mwdat-ktosl.<br />
gs_e1bpactx01-tax_code = gs_inp_data-mwskz.<br />
gs_e1bpactx01-cond_key = ls_mwdat-kschl.</p>
<p>CLEAR gs_edidd.<br />
gs_edidd-segnam = zidoc_segnam-e1bpactx01.<br />
gs_edidd-sdata  = gs_e1bpactx01.<br />
APPEND gs_edidd TO gt_tax_acc.</p>
<p>*   Currency acc table<br />
CLEAR gs_e1bpaccr01.<br />
gs_e1bpaccr01-itemno_acc = gv_tax_tabix.<br />
gs_e1bpaccr01-currency   = gs_inp_data-waers.<br />
gs_e1bpaccr01-amt_base = gs_inp_data-wrbtr.<br />
gs_e1bpaccr01-amt_doccur = ls_mwdat-wmwst.</p>
<p>ENDLOOP.</p>
</address>
</blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/315/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Direct posting to tax account with AC BAPIs</title>
		<link>http://www.sapflow.cz/archives/310</link>
		<comments>http://www.sapflow.cz/archives/310#comments</comments>
		<pubDate>Thu, 19 Jan 2012 00:33:13 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SAP BAPI tax calculation]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=310</guid>
		<description><![CDATA[Symptom When you carry out a direct posting to a tax account, the system generates error message FF747: &#8220;The tax amount must not be greater than the tax base&#8221;. Other terms AC interface, taxes, BSET-FWBAS BAPI_ACC_DOCUMENT_POST, BAPI_ACC_DOCUMENT_CHECK, BAPI_ACC_BILLING_POST, BAPI_ACC_BILLING_CHECK, BAPI_ACC_INVOICE_RECEIPT_POST, BAPI_ACC_INVOICE_RECEIPT_CHECK, BAPI_ACC_GOODS_MOVEMENT_POST, BAPI_ACC_GOODS_MOVEMENT_CHECK Reason and Prerequisites Due to the business transaction, this direct posting is [...]]]></description>
			<content:encoded><![CDATA[<div><strong>Symptom</strong></div>
<p>When you carry out a direct posting to a tax account, the system generates error message FF747: <strong>&#8220;The tax amount must not be greater than the tax base&#8221;.</strong></p>
<div><strong>Other terms</strong></div>
<p>AC interface, taxes, BSET-FWBAS BAPI_ACC_DOCUMENT_POST, BAPI_ACC_DOCUMENT_CHECK, BAPI_ACC_BILLING_POST, BAPI_ACC_BILLING_CHECK, BAPI_ACC_INVOICE_RECEIPT_POST, BAPI_ACC_INVOICE_RECEIPT_CHECK, BAPI_ACC_GOODS_MOVEMENT_POST, BAPI_ACC_GOODS_MOVEMENT_CHECK</p>
<div><strong>Reason and Prerequisites</strong></div>
<p>Due to the business transaction, this direct posting is only possible with BAPI_ACC_BILLING_POST. Otherwise this function is not provided.</p>
<div><strong>Solution</strong></div>
<p>Apply OSS Note 487064.<br />
For this purpose, the structures in the BAPI have to be filled as follows:</p>
<div><strong>Example call with 16 EUR and base amount 100 EUR:</strong></div>
<div>
<ul>
<li>ACCOUNTPAYABLE must at least contain the item number (ITEMNO_ACC) and the vendor (VENDOR). The amount in structure CURRENCYAMOUNT is to be: AMT_DOCCUR = 16;CURRENCY = EUR;ITEMNO_ACC = 1.</li>
<li> ACCOUNTGL is only provided as a dummy line item and is deleted in the AC interface. ITEMNO_ACC (2?) and G/L account (GL_ACCOUNT) are required entry fields. In CURRENCYAMOUNT, you only have to fill ITEMNO_ACC</li>
<li>ACCOUNTTAX must contain ITEMNO_ACC (3?), tax account (GL_ACCOUNT) and tax code (TAX_CODE). The currency information in CURRENCYAMOUNT must contain AMT_DOCCUR = 16; CURRENCY = EUR and AMT_BASE = 100 with identical ITEMNO_ACC (3?).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/310/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use field symbols for better performance in internal tables</title>
		<link>http://www.sapflow.cz/archives/296</link>
		<comments>http://www.sapflow.cz/archives/296#comments</comments>
		<pubDate>Fri, 19 Aug 2011 04:26:11 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=296</guid>
		<description><![CDATA[Full text &#38; code of this article on: Use field symbols for better performance in internal tables. Author: James Vander Heyden Do you want to squeeze more performance out of your Internal Table processing? The new ABAP object extensions in SAP require internal table definitions to look a little different. With this new style of [...]]]></description>
			<content:encoded><![CDATA[<p>Full text &amp; code of this article on: <a href="http://searchsap.techtarget.com/tip/Use-field-symbols-for-better-performance-in-internal-tables#.Tk3lz_GE18g.wordpress">Use field symbols for better performance in internal tables</a>.</p>
<p>Author:<br />
James Vander Heyden</p>
<p>Do you want to squeeze more performance out of your Internal Table processing? The new ABAP object extensions in SAP require internal table definitions to look a little different. With this new style of definition comes many options for better performance like hash tables and sorted tables. The use of field symbols takes this performance concept one step further.</p>
<p>The new style of definition of internal tables usually doesn&#8217;t include a header area for the internal table. Furthermore, ABAP Objects will not allow internal tables with header lines. For added performance, instead of declaring a work area&#8211;use a field symbol. The work area concept and header line format both require data to be moved from the internal table to the work area or header area. A field symbol is just a pointer that will point to the proper line of the itab. With field symbols, no data needs to be moved. The field symbol just stores the proper memory address to point at the right line. The field symbol can have structure and be made up of fields similar to a work area or header line. Because no data needs to be copied, processing is much faster.</p>
<p>The keys to the usage are:</p>
<p>1) Defining the table records and the field symbol in a similar type.</p>
<p>* just an ordinary standard table</p>
<blockquote><p>TYPES: BEGIN OF it_vbak_line,<br />
vbeln LIKE vbak-vbeln,<br />
vkorg LIKE vbak-vkorg,<br />
vtweg LIKE vbak-vtweg,<br />
spart LIKE vbak-spart,<br />
kunnr LIKE vbak-kunnr,<br />
END OF it_vbak_line.</p>
<p>DATA: it_vbak TYPE TABLE OF it_vbak_line.<br />
FIELD-SYMBOLS: &lt;it_vbak_line&gt; TYPE it_vbak_line.</p></blockquote>
<p>* or as a screaming fast hash table for keyed reads</p>
<blockquote><p>TYPES: BEGIN OF it_vbpa_line,<br />
vbeln LIKE vbak-vbeln,<br />
kunnr LIKE vbak-kunnr,<br />
END OF it_vbpa_line.</p>
<p>DATA: it_vbpa TYPE HASHED TABLE OF it_vbpa_line<br />
WITH UNIQUE KEY vbeln.<br />
FIELD-SYMBOLS: &lt;it_vbpa_line&gt; TYPE it_vbpa_line.</p></blockquote>
<p>2) In ITAB processing, utilize the ASSIGNING command.</p>
<p>* loop example</p>
<blockquote><p>LOOP AT it_vbak ASSIGNING &lt;it_vbak_line&gt;.</p></blockquote>
<p>* look at records &#8211; populate it_zpartner<br />
* read example</p>
<blockquote><p>READ TABLE it_vbpa ASSIGNING &lt;it_vbpa_line&gt; WITH TABLE KEY vbeln = &lt;it_vbak_line&gt;-vbeln.</p></blockquote>
<p>3) Refer to the field symbol&#8217;s fields in the loop or after the read.</p>
<blockquote><p>wa_zpartner-vkorg = &lt;it_vbak_line&gt;-vkorg.<br />
wa_zpartner-vtweg = &lt;it_vbak_line&gt;-vtweg.<br />
wa_zpartner-spart = &lt;it_vbak_line&gt;-spart.<br />
wa_zpartner-kunag = &lt;it_vbak_line&gt;-kunnr.<br />
wa_zpartner-kunwe = &lt;it_vbpa_line&gt;-kunnr.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/296/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most effective way to find a BADI</title>
		<link>http://www.sapflow.cz/archives/234</link>
		<comments>http://www.sapflow.cz/archives/234#comments</comments>
		<pubDate>Sat, 20 Feb 2010 09:24:38 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[BADI]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=234</guid>
		<description><![CDATA[Business Add-Ins are SAP enhancement technique, based on ABAP Objects. They can be inserted to accommodate user requirements, too specific for a standard delivery. All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sapflow.cz/wp-content/uploads/2010/02/SAP.jpg"><img class="alignleft size-full wp-image-239" title="SAP" src="http://www.sapflow.cz/wp-content/uploads/2010/02/SAP.jpg" alt="SAP" width="141" height="73" /></a>Business Add-Ins are SAP enhancement technique, based on ABAP Objects. They can be inserted to accommodate user requirements, too specific for a standard delivery. All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task. </p>
<p><strong>Pros:</strong><br />
BADIs can be used any number of times, whereas USER-EXITS can be used only one time.<br />
BADIs are based on Object-Oriented-Programming with fixed structure -&gt; Therefore SAP guarantees<br />
the upward compatibility of all Business Add-In interfaces.</p>
<p><strong>Cons:</strong><br />
It&#8217;s difficult to say, when using a transaction, whether BADI is used or not.</p>
<p><strong>Solution:</strong></p>
<p>1, Go to transaction SE37 and put a breakpoint on function SXV_GET_CLIF_BY_NAME.<br />
2, Set a breakpoint on a call of the only function included.<br />
3, Open another session and set YOUR transaction. The debugging mode opens with info<br />
on BADIs. Name = BADI, Clif = implementation of a BADI.</p>
<p><code><br />
FUNCTION sxv_get_clif_by_name .<br />
*"----------------------------------------------------------------------<br />
*"*"Lokale Schnittstelle:<br />
*" IMPORTING<br />
*" VALUE(NAME)<br />
*" VALUE(PREFIX) TYPE SEEX_CLIF_PREFIX<br />
*" EXPORTING<br />
*" VALUE(CLIF) TYPE SEOCLSNAME<br />
*"----------------------------------------------------------------------<br />
<a href="http://www.sapflow.cz/wp-content/uploads/2010/02/breakpoint.PNG"><img class="alignleft size-full wp-image-235" title="breakpoint" src="http://www.sapflow.cz/wp-content/uploads/2010/02/breakpoint.PNG" alt="breakpoint" width="27" height="27" /></a>CALL FUNCTION 'SXV_ADD_PREFIX'<br />
EXPORTING<br />
name = name<br />
prefix = prefix<br />
IMPORTING<br />
new_name = clif.<br />
ENDFUNCTION.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/234/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get a path and extension from a file</title>
		<link>http://www.sapflow.cz/archives/190</link>
		<comments>http://www.sapflow.cz/archives/190#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:30:34 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=190</guid>
		<description><![CDATA[When getting files from customer DMS we found a problem with extensions. If the file extension is not saved in DMS properties, there is no way how to pinpoint program associated in MS Windows with the ad hoc extension. There is a way though to determine an extension explicitly from a file. In SE37 you [...]]]></description>
			<content:encoded><![CDATA[<p>When getting files from customer DMS we found a problem with extensions. If the file extension is not saved in DMS properties, there is no way how to pinpoint program associated in MS Windows with the ad hoc extension.<br />
There is a way though to determine an extension explicitly from a file.</p>
<p>In SE37 you can find a function module called &#8220;CH_SPLIT_FILENAME&#8221;, that does the very thing.</p>
<p><code>CALL FUNCTION 'CH_SPLIT_FILENAME'<br />
        EXPORTING<br />
          complete_filename       = lv_filename<br />
*          CHECK_DOS_FORMAT        =<br />
        IMPORTING<br />
*          DRIVE                   =<br />
          extension               = lv_doc_type<br />
*          NAME                    =<br />
*          NAME_WITH_EXT           =<br />
*          PATH                    =<br />
        EXCEPTIONS<br />
          invalid_drive           = 1<br />
          invalid_path            = 2<br />
          OTHERS                  = 3. </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/190/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ABAP OOP Interactive course</title>
		<link>http://www.sapflow.cz/archives/188</link>
		<comments>http://www.sapflow.cz/archives/188#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:24:26 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=188</guid>
		<description><![CDATA[There&#8217;s a great course regarding object-oriented programming in ABAP by Thomas Jung from SAP LABS, LLC. I actually planned to issue such a course for Czech ABAP developers, but founding this one means I don&#8217;t have to anymore. Find out for yourselves: Basic ABAP OO eLearnings]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a great course regarding object-oriented programming in ABAP by Thomas Jung from SAP LABS, LLC.<br />
I actually planned to issue such a course for Czech ABAP developers, but founding this one means I don&#8217;t have to anymore. <img src='http://www.sapflow.cz/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p>Find out for yourselves:</p>
<p><a href="http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID1863689050DB11524257129514744823End?blog=/pub/wlg/15408">Basic ABAP OO eLearnings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/188/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Override time-out limit in the SAP GUI !</title>
		<link>http://www.sapflow.cz/archives/85</link>
		<comments>http://www.sapflow.cz/archives/85#comments</comments>
		<pubDate>Wed, 15 Apr 2009 13:30:49 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP inactivity timeout]]></category>
		<category><![CDATA[SAP Logon]]></category>
		<category><![CDATA[SAP Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=85</guid>
		<description><![CDATA[I guess most of SAP developers went through this case. You are remotely connected to SAP system through SAP Logon working on code, when your colleague comes/phone rings/bladder burns. So you interrupt your work for a couple of minutes and &#8230; SAP Logon automatically quits the session after some time with error-message saying that it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-139" title="sapgui-conn-aborted-fullscreen1" src="http://www.sapflow.cz/wp-content/uploads/2009/04/sapgui-conn-aborted-fullscreen1-300x184.jpg" alt="sapgui-conn-aborted-fullscreen1" width="300" height="184" />I guess most of SAP developers went through this case. You are remotely connected to SAP system through SAP Logon working on code, when your colleague comes/phone rings/bladder burns. So you interrupt your work for a couple of minutes and &#8230; SAP Logon automatically quits the session after some time with error-message saying that it has been closed due to time-out.</p>
<p>Solution: Keep on-line with ABAP programm running in background.</p>
<p>Step by step:</p>
<ol>
<li>Go to transaction SE38.</li>
<li>Type &#8220;ZKEEP&#8221; into the input field.</li>
<li>Click on &#8220;Create&#8221;.</li>
<li>Paste the following code.</li>
<li>Activate!</li>
</ol>
<pre style="text-align: justify;"><code>*&amp;---------------------------------------------------------------------*
*&amp;                              Report  ZKEEP                          *
*&amp;---------------------------------------------------------------------*
REPORT  ZKEEP                                  .
start-of-selection.
do.
wait up to 15 seconds.
CALL FUNCTION 'PROGRESS_INDICATOR'
EXPORTING
I_TEXT = 'Keeping...'.
enddo.</code></pre>
<p>Next time you log in to SAP, just open two sessions and in one go to SE38 and run this programm. You can than work in the other session (first one will be taken by the ZKEEP report).</p>
<p>That&#8217;s it for today.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/85/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What to do when ALV Grid doesn&#8217;t update?</title>
		<link>http://www.sapflow.cz/archives/21</link>
		<comments>http://www.sapflow.cz/archives/21#comments</comments>
		<pubDate>Wed, 25 Feb 2009 12:48:24 +0000</pubDate>
		<dc:creator>Pavel</dc:creator>
				<category><![CDATA[ABAP tips]]></category>
		<category><![CDATA[SAP Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.sapflow.cz/?p=21</guid>
		<description><![CDATA[It happened a few days ago to me, that I made some updates to ALV grid for our customer. By changing filed catalog I had to put the columns in different order, rename some of them and select slightly different data from the database. No big deal. What was my surprise, when my report didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>It happened a few days ago to me, that I made some updates to ALV grid for our customer. By changing filed catalog I had to put the columns in different order, rename some of them and select slightly different data from the database. No big deal.<br />
What was my surprise, when my report didn&#8217;t update &#8211; it had the new data in it (at least!), but the order didn&#8217;t change and the names as well. I did some research and here goes the solution. If the same happened to you, follow these simple steps:</p>
<p>1, Clean your layout design &#8211; SAP GUI sometimes keep the layout and displays it without notice.</p>
<ul>
<li>Go to Settings -&gt; Layout -&gt; Layout management</li>
<li>Delete all the current layouts within the manager
<p><div id="attachment_23" class="wp-caption alignleft" style="width: 386px"><img class="size-full wp-image-23" title="layout" src="http://www.sapflow.cz/wp-content/uploads/2009/02/layout.png" alt="Layout management" width="376" height="185" /><p class="wp-caption-text">Layout management</p></div></li>
</ul>
<p>2, Clean buffer No.I &#8211; run program BALVBUFDEL<br />
3, Clean buffer No.II &#8211; run program BCALV_BUFFER_DEL_SHARED<br />
4, Run FM &#8216;STATUS_BUFFER_REFRESH&#8217; &#8211; this helps for IE05, IE08 &#038; other MM reports<br />
5, You can try refresh tab &#038; system buffers &#8211; run &#8220;/$TAB&#8221; &#038; &#8220;/$SYNC&#8221; in transaction entry field</p>
<p>Now it&#8217;s the time to try again! Did it help? If it didn&#8217;t, try to check your code once again. <img src='http://www.sapflow.cz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sapflow.cz/archives/21/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

