<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3798897792289019967</id><updated>2025-12-20T00:26:09.868+08:00</updated><category term="ALV"/><category term="A*"/><category term="Append_structure"/><category term="Archive_txns"/><category term="B*"/><category term="CHAR_type_fields"/><category term="Conditions"/><category term="Debug_BG_job"/><category term="Drag"/><category term="Drop"/><category term="EDP*_tables"/><category term="F4 control"/><category term="FI_txns"/><category term="HANA_data_replication_real_time"/><category term="IMG_extension"/><category term="KOART"/><category term="KOTE*"/><category term="Lock_table"/><category term="NewG/L_migration"/><category term="Note_status"/><category term="SAP_Users"/><category term="SCWB_note"/><category term="SLT Replicator"/><category term="SPRO"/><category term="Spool"/><category term="Store_read_cluster_data"/><category term="Swap menu"/><category term="UCCHECK"/><category term="Unicode_Conversion"/><category term="batch_job"/><category term="bp_job_*"/><category term="central instance"/><category term="classic g/l"/><category term="code_count"/><category term="custom F4"/><category term="data_consistency"/><category term="default_screen"/><category term="dropdown"/><category term="foreign_key_for_text"/><category term="internal RFC connection"/><category term="job_*"/><category term="maintenance_view"/><category term="message longtext"/><category term="new g/l"/><category term="no_lines_Method"/><category term="partner_profiles"/><category term="screen0"/><category term="size"/><category term="table_length_more_than_4030_bytes"/><category term="text_table"/><title type='text'>ABAP : Hints,Tips,Tricks and more..</title><subtitle type='html'>This blog is to provide info on normal ABAP tips and tricks as well as some typical ABAP concepts...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-8207395625214740010</id><published>2014-06-01T11:36:00.001+08:00</published><updated>2014-06-01T11:47:17.431+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dropdown"/><category scheme="http://www.blogger.com/atom/ns#" term="KOART"/><category scheme="http://www.blogger.com/atom/ns#" term="maintenance_view"/><title type='text'>ABAP:  Maintenance View_How to change settngs for fields with Fixed values </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You already know how to create a maintenance view, just a refresher:&lt;br /&gt;
1. Via SE11 -&amp;gt; Utilities -&amp;gt; Table Maintenance Generator&lt;br /&gt;
2. Via SE54&lt;br /&gt;
&lt;br /&gt;
Once you create the view, by default the display settings are taken from the associated Data element/Domain of a field. Let&#39;s take example of Domain &#39;KOART&#39;(account type) which can hold 1 character and has Fixed values assigned to it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL4vHgZw87Z2psiQg6P9KAPnSkffwWprf3pNKrNCvTPm2doRbi6KtqmH9bId6DMqEhn7taaUKRaIpXsVfcL-0K93mtfvOOf5HULaIXZIRrgaS5UqG83MN88zwlYqsFGs_U6d2VGxC8Zfw/s1600/Capture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL4vHgZw87Z2psiQg6P9KAPnSkffwWprf3pNKrNCvTPm2doRbi6KtqmH9bId6DMqEhn7taaUKRaIpXsVfcL-0K93mtfvOOf5HULaIXZIRrgaS5UqG83MN88zwlYqsFGs_U6d2VGxC8Zfw/s1600/Capture.JPG&quot; height=&quot;175&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
In the maintenance the KOART field&amp;nbsp;will always show the number and its description, see below:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirbgYoawsaBjk48HAyiWTHZSNuSw6RsWr5a_WGxnBBcyRrLeCmVDCRQCOj_y5htqvKJrUDdtS-OV7oOvHeziQfPZIJYFArMi0eZi-fpTE1_DBvv-HaMwzbsxW8j9BBDzqglpRrG8nwZbE/s1600/Capture.JPG.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirbgYoawsaBjk48HAyiWTHZSNuSw6RsWr5a_WGxnBBcyRrLeCmVDCRQCOj_y5htqvKJrUDdtS-OV7oOvHeziQfPZIJYFArMi0eZi-fpTE1_DBvv-HaMwzbsxW8j9BBDzqglpRrG8nwZbE/s1600/Capture.JPG.png&quot; height=&quot;81&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
But if you want to use Upload functionality for such a view its very painful exercise so beset way is to remove the drop-down for such fields from maintenance generator.&lt;br /&gt;
SE11-&amp;gt; Table Maintenance Generator -&amp;gt; Maintenance screen no -&amp;gt; Overview screen-&amp;gt; Element List -&amp;gt; Texts/I/O templates and change the column Dropdown to &quot;No Dropdown&quot; for KOART.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI1Qr2NiPs1uy7tn05heyVlYZO251AR0FyhQnVRAu5KK9_x7aEX_3gxj4vpe4uAlwaSGw690LC5OitbTZdLZ9YatiQABmFGsi1iGoNpuI0xYolQPCEnk9xz1Z7SyUN6Oz5qKs3lSxjajY/s1600/Capture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI1Qr2NiPs1uy7tn05heyVlYZO251AR0FyhQnVRAu5KK9_x7aEX_3gxj4vpe4uAlwaSGw690LC5OitbTZdLZ9YatiQABmFGsi1iGoNpuI0xYolQPCEnk9xz1Z7SyUN6Oz5qKs3lSxjajY/s1600/Capture.JPG&quot; height=&quot;160&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
And you are good to go with this view.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep &lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/8207395625214740010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2014/06/abapmaintenanceview-how-to-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8207395625214740010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8207395625214740010'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2014/06/abapmaintenanceview-how-to-change.html' title='ABAP:  Maintenance View_How to change settngs for fields with Fixed values '/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL4vHgZw87Z2psiQg6P9KAPnSkffwWprf3pNKrNCvTPm2doRbi6KtqmH9bId6DMqEhn7taaUKRaIpXsVfcL-0K93mtfvOOf5HULaIXZIRrgaS5UqG83MN88zwlYqsFGs_U6d2VGxC8Zfw/s72-c/Capture.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-4392937956619041941</id><published>2012-12-22T18:33:00.001+08:00</published><updated>2014-06-01T11:47:39.713+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="A*"/><category scheme="http://www.blogger.com/atom/ns#" term="B*"/><category scheme="http://www.blogger.com/atom/ns#" term="Conditions"/><category scheme="http://www.blogger.com/atom/ns#" term="KOTE*"/><title type='text'>MM/SD: Conditions_Tables/Links</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
Condition records in Logistics&amp;nbsp;area in SAP is one of the most important area for maintaining pricing conditions and their respective links.There can be 3 different types of condition records.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;A* (A000-A999):&lt;/strong&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
A000 - A499 are provided by SAP and rest&amp;nbsp;can be generated by customers, if needed&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
These tables are generally used to&amp;nbsp;maintain the condition records for Pricing procedures and are&amp;nbsp;differentiated by KAPPL and KSCHL fields&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
It is important to maintain the links for these tables with the Header table KONH by updating the VAKEY values&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
Other relevant tables here are KONP,KONV,KONC,KONM etc.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;B* (B000-B999):&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
B000 - B499 are provided by SAP and rest&amp;nbsp;can be generated by customers, if needed&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
These tables are generally used to maintain the Output Types&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
It is important to maintain the links for these tables with the Header table NACH&amp;nbsp;and VAKEY must be updated for this&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;KOTE* (KOTE000-KOTE999):&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
KOTE000 - KOTE499 are provided by SAP and remaining can be generated by customers, if needed&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
These tables are generally used to maintain the condition records for different Rebate&amp;nbsp;procedures and can be differentiated by KAPPL and KSCHL fields&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
It is important to maintain the links for these tables with the Header table KONH by updating the VAKEY values &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
Other relevant tables here are KONP,KONV,KONC,KONM etc.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Hope this makes easy to understand 100&#39;s of condition tables provided by SAP.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Cheers,&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Sandeep &lt;/div&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/4392937956619041941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/12/sdconditions-tables-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4392937956619041941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4392937956619041941'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/12/sdconditions-tables-links.html' title='MM/SD: Conditions_Tables/Links'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-6628280218115128246</id><published>2012-04-11T04:45:00.002+08:00</published><updated>2012-04-11T04:45:40.236+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HANA_data_replication_real_time"/><category scheme="http://www.blogger.com/atom/ns#" term="SLT Replicator"/><title type='text'>HANA: The mystery around data replication in HANA</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello guys,&lt;br /&gt;
&lt;br /&gt;
Nowadays, everyone talks about HANA.. have you ever wondered how the data is replicated in HANA from ERP or legacy systems in order to leverage the potential of HANA..&lt;br /&gt;
There are 3 possible ways tp achieve the same, namely:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Sybase&amp;nbsp;replicator&lt;/li&gt;
&lt;li&gt;Data&amp;nbsp;services&amp;nbsp;from BOBJ&lt;/li&gt;
&lt;li&gt;SLT Replicator&lt;/li&gt;
&lt;/ol&gt;
I will talk about SLT&amp;nbsp;Replicator&amp;nbsp; (SAP Landscape&amp;nbsp;Transformation):&lt;br /&gt;
SLT Replicator is the tool which allows Real-time data repliation into HANA systems.&lt;br /&gt;
The technology is based on Trigger-based&amp;nbsp;approach&amp;nbsp;which is&amp;nbsp;supported&amp;nbsp;by almost all database providers.&lt;br /&gt;
This involves few basic steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Create triggers on the&amp;nbsp;source&amp;nbsp;machine&amp;nbsp;based on your&amp;nbsp;requirements(business process I must say)&lt;/li&gt;
&lt;li&gt;Perform&amp;nbsp;Initial&amp;nbsp;data load into HANA machine&lt;/li&gt;
&lt;li&gt;Start real-time data&amp;nbsp;replication&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Do comment or provide your&amp;nbsp;feedback&amp;nbsp;if you need further details on the same.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/6628280218115128246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/04/hana-mystery-around-data-replication-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6628280218115128246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6628280218115128246'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/04/hana-mystery-around-data-replication-in.html' title='HANA: The mystery around data replication in HANA'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-8105955600939021852</id><published>2012-03-24T11:48:00.002+08:00</published><updated>2012-03-24T11:49:59.061+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="foreign_key_for_text"/><category scheme="http://www.blogger.com/atom/ns#" term="text_table"/><title type='text'>ABAP: How to assign Text tables</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
As you know, one can find out the description/text for a&amp;nbsp;particular&amp;nbsp;field from the assigned text table.&lt;br /&gt;
E.g Material number (MARA-MATNR) description can be fetched from MAKT table based on foreign key relationships between MARA and MAKT tables.&lt;br /&gt;
&lt;br /&gt;
First check the assigned text table, SE11-&amp;gt; Goto-&amp;gt; Text table and you can find the table name.&lt;br /&gt;
&lt;br /&gt;
Now how to assign the text tables , there is small trick in doing so.&lt;br /&gt;
In MARA assign MAKT as text table and in MAKT specify the foreign key relationship on MATNR as : Key fields of a text table and give Cardinality as 1:CN.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/8105955600939021852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/03/abap-how-to-assign-text-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8105955600939021852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8105955600939021852'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/03/abap-how-to-assign-text-tables.html' title='ABAP: How to assign Text tables'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3469215165917683192</id><published>2012-02-27T16:20:00.000+08:00</published><updated>2012-02-27T17:37:20.722+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="batch_job"/><category scheme="http://www.blogger.com/atom/ns#" term="bp_job_*"/><category scheme="http://www.blogger.com/atom/ns#" term="job_*"/><title type='text'>ABAP: Important FMs for background/batch processing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Here is list of
important FMs which are used for background processing/batch jobs (
creation/read/job log/abort etc.):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Basic FMs for scheduling
background jobs: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;JOB_OPEN&amp;nbsp;:&amp;nbsp;&amp;nbsp;Create&amp;nbsp;a&amp;nbsp;new&amp;nbsp;Job&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;JOB_SUBMIT&amp;nbsp;:&amp;nbsp;&amp;nbsp;Add&amp;nbsp;the&amp;nbsp;steps&amp;nbsp;via&amp;nbsp;JOB_SUBMIT&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;JOB_CLOSE
:&amp;nbsp;Release&amp;nbsp;Job&amp;nbsp;via&amp;nbsp;JOB_CLOSE&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;BP_FIND_JOBS_WITH_PROGRAM
: Find all jobs for a program/report&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;BP_JOBLOG_READ : Read
the job log&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;BP_JOBLOG_SHOW : Display
job log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;SHOW_JOBSTATE : Show job
status( Active/scheduled/canceled etc.)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Cheers,&lt;br /&gt;
Sandeep&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3469215165917683192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/abap-important-fm-for-backgroundbatch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3469215165917683192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3469215165917683192'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/abap-important-fm-for-backgroundbatch.html' title='ABAP: Important FMs for background/batch processing'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-2941497157293249522</id><published>2012-02-01T14:58:00.000+08:00</published><updated>2012-02-01T14:58:10.872+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Note_status"/><category scheme="http://www.blogger.com/atom/ns#" term="SCWB_note"/><title type='text'>ABAP: How to check if a note is implemented technically</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Most often you are in
situations wherein you need to implement SAP notes for fix issues in SAP
standard.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;You can do the same via
transaction &lt;i&gt;SNOTE&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Additionally&amp;nbsp;, you
can check the status of notes via transaction SE95 as well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;But if one needs to find
out through an program whether a note is implemented or not , here is a simple
trick:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Use
FM:&amp;nbsp;&lt;i&gt;&lt;b&gt;SCWB_NOTE_CHECK_IMPLEMENTED&lt;/b&gt;&lt;/i&gt; and this will return the status of the
note.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;The status is tired in
table&amp;nbsp;CWBNTHEAD : Header table for OSS Notes in customer systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Cheers,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Sandeep&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/2941497157293249522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/abap-how-to-check-if-note-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/2941497157293249522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/2941497157293249522'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/abap-how-to-check-if-note-is.html' title='ABAP: How to check if a note is implemented technically'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-8560944230164420490</id><published>2012-02-01T13:54:00.002+08:00</published><updated>2012-02-01T13:56:24.433+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data_consistency"/><category scheme="http://www.blogger.com/atom/ns#" term="NewG/L_migration"/><title type='text'>NewG/L: Reports to check data consistency</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;If you are planning to migrate
to New G/L environment and want to check consistency of the classic G/L data ,
here are few reports which might help you :)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;RFINDEX : FI consistency
check&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;SAPF190 : Financial
accounting comparative analysis for Balance sheet&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;SAPF100 : Foreign
currency valuation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;RAABST02 : Reconcil.
program FI-AA &amp;lt;-&amp;gt; G/L: List of accounts showing differences&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;RSANAORA : analysis of
oracle tables for creating statistics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;Cheers,&lt;br /&gt;
Sandeep&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/8560944230164420490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/newgl-reports-to-check-data-consistency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8560944230164420490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8560944230164420490'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/02/newgl-reports-to-check-data-consistency.html' title='NewG/L: Reports to check data consistency'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-981530073726479213</id><published>2012-01-24T12:11:00.000+08:00</published><updated>2012-01-31T16:47:56.273+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALV"/><category scheme="http://www.blogger.com/atom/ns#" term="default_screen"/><category scheme="http://www.blogger.com/atom/ns#" term="screen0"/><title type='text'>ABAP: Display ALV without creating screens/containers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
In traditional&amp;nbsp;approach&amp;nbsp;we always define a container areas and then pout the ALV in this container.&lt;br /&gt;
But&amp;nbsp;the same can also be achieved by making use of static methods of container classes.&lt;br /&gt;
e.g&lt;br /&gt;
Data lr_grid type ref to cl_gui_alv_grid.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; CREATE OBJECT lr_grid&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; EXPORTING&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i_parent = cl_gui_custom_container=&amp;gt;screen0.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or cl_gui_container=&amp;gt;default_screen.&lt;br /&gt;
&amp;nbsp;&quot; instead of creating custom container you can use standard screens &lt;br /&gt;
&lt;br /&gt;
lr_grid-&amp;gt;set_table_for_first_display( .... ).&lt;br /&gt;
&lt;br /&gt;
This is a simple example and you can do lot more stuff with standard&amp;nbsp;functions&amp;nbsp;or think of using SALV.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/981530073726479213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/display-alv-without-creating.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/981530073726479213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/981530073726479213'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/display-alv-without-creating.html' title='ABAP: Display ALV without creating screens/containers'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3887478024959999916</id><published>2012-01-23T18:42:00.000+08:00</published><updated>2012-01-31T16:48:05.160+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CHAR_type_fields"/><title type='text'>ABAP: Things to consider for CHAR type fields in tables</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;If you are&amp;nbsp;enhancing&amp;nbsp;your table structure with CHAR type data elements, &amp;nbsp;there are few things which you&amp;nbsp;must&amp;nbsp;consider.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;If the newly added field is NOT a key field and you have not marked the field for Initial Values = &#39;X&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;1. If you check values in this field in your programs you cannot be sure that the condition “IS INITIAL” or “IS SPACE” is working correctly. Same holds for comparisons with other variables having a SPACE or INITIAL value.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;2. If you need to check for an initial value in this field you should make sure to use the condition (&lt;/span&gt;&lt;field style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt; IS INITIAL OR &lt;field&gt;IS NULL) as depending on DB system a NULL value is stored.&lt;/field&gt;&lt;/field&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;&lt;field&gt;&lt;field&gt;&lt;br /&gt;&lt;/field&gt;&lt;/field&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%; text-indent: -0.25in;&quot;&gt;3. If you use this field to store character strings w/o usage in SAP GUI screen fields that’s OK. However, when you use it on SAP GUI screens you cannot use lowercase characters as it is not based on a domain with lowercase option. So an automatic uppercase conversion is done when a screen input is used.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;Cheers,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 115%;&quot;&gt;Sandeep&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3887478024959999916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/things-to-consider-for-char-type-fields.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3887478024959999916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3887478024959999916'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/things-to-consider-for-char-type-fields.html' title='ABAP: Things to consider for CHAR type fields in tables'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-5477723013054371694</id><published>2012-01-22T01:55:00.001+08:00</published><updated>2012-01-31T16:51:37.304+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EDP*_tables"/><category scheme="http://www.blogger.com/atom/ns#" term="partner_profiles"/><title type='text'>Tables for Partner Profiles</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
The partner profiles are stored in the following tables:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; o &amp;nbsp;Table EDPP1: General partner profile&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; o &amp;nbsp;Table EDP12: Partner profile outbound, additional data NAST&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; o &amp;nbsp;Table EDP13: Partner profile outbound&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; o &amp;nbsp;Table EDP21: Partner profile inbound&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
•Table EDIPHONE: Connection to SAP telephony (optional)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This info may help if your are developing any reports related to profiles or trying to find some info for the same.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Cheers,&lt;/div&gt;
&lt;div&gt;
Sandeep&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/5477723013054371694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/tables-for-partner-profiles.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/5477723013054371694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/5477723013054371694'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/tables-for-partner-profiles.html' title='Tables for Partner Profiles'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-2903206450599683375</id><published>2012-01-20T14:27:00.000+08:00</published><updated>2012-01-31T16:49:08.060+08:00</updated><title type='text'>ABAP: How to read application server name in abap</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We can see the list of all&amp;nbsp;application&amp;nbsp;servers via SM51 txn.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
It&#39;s very easy to find the&amp;nbsp;Application&amp;nbsp;server host name and you can find the same using the SYST parameters( SY-HOST).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
But at times, there are requirements to show/display the&amp;nbsp;actual&amp;nbsp;name of the&amp;nbsp;application&amp;nbsp;server.&lt;/div&gt;
&lt;div&gt;
Here is a simple code for the same using C&amp;nbsp;Functions&amp;nbsp;within&amp;nbsp;ABAP.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp; call &#39;C_SAPGPARAM&#39; id &#39;NAME&#39; &amp;nbsp;field &#39;rdisp/myname&#39;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id &#39;VALUE&#39; field lv_current_server.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Cheers,&lt;/div&gt;
&lt;div&gt;
Sandeep&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/2903206450599683375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/how-to-read-application-server-name-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/2903206450599683375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/2903206450599683375'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/how-to-read-application-server-name-in.html' title='ABAP: How to read application server name in abap'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-8134218593685385855</id><published>2012-01-20T00:08:00.003+08:00</published><updated>2012-01-31T16:51:47.736+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code_count"/><category scheme="http://www.blogger.com/atom/ns#" term="no_lines_Method"/><title type='text'>ABAP: Count number of code lines in METHODS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;As you know it&#39;s pretty
easy to count the no. of code lines for Include/Module/Report programs, you
have to simply use statement READ REPORT and you are done.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;But in case of counting the
code lines in class methods it&#39;s a bit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;The same can be achieved
by following simple steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;Do a select on TADIR for
the class name as obj_name and build the object range with &#39;I&#39; &#39;EQ&#39; and low as
&#39;CLAS&#39;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;Find all the class
include using FM:&amp;nbsp;SEO_CLASS_GET_METHOD_INCLUDES ( pass clskey = clsname)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;e.g&amp;nbsp;CALL&amp;nbsp;FUNCTION&amp;nbsp;&#39;SEO_CLASS_GET_METHOD_INCLUDES&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;EXPORTING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clskey&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= is_class_key&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IMPORTING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;includes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= it_class_incl&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXCEPTIONS&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_internal_class_not_existing&amp;nbsp;=&amp;nbsp;1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;2.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IF&amp;nbsp;sy-subrc&amp;nbsp;&amp;lt;&amp;gt;&amp;nbsp;0.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONTINUE.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ENDIF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;3.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;Build &amp;nbsp;the sub_name
internal table using it_class_incl-cpdkey-cpdname.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;4.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;Get the source code
using FM :&amp;nbsp;SEO_METHOD_GET_SOURCE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;e.g&amp;nbsp;&amp;nbsp;CALL&amp;nbsp;FUNCTION&amp;nbsp;&#39;SEO_METHOD_GET_SOURCE&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXPORTING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mtdkey&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= is_class_cmp&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IMPORTING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;source_expanded&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= it_class_code&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXCEPTIONS&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_internal_method_not_existing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_internal_class_not_existing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;version_not_existing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;3&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inactive_new&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;4&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inactive_deleted&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;5&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;6.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IF&amp;nbsp;sy-subrc&amp;nbsp;&amp;lt;&amp;gt;&amp;nbsp;0.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONTINUE.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ENDIF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;5.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;After this you have the source
code in lt-class_code and do a COUNT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.25in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;e.g &lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; is_result&lt;/span&gt;&lt;span class=&quot;l0s701&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;count&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;LINES&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;( i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;). &quot;initial count&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;LOOP&amp;nbsp;AT i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ASSIGNING&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;&amp;nbsp;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IS&amp;nbsp;INITIAL.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;DELETE i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ELSE.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;l0s321&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;)&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s331&quot;&gt;&#39;*&#39;.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;DELETE i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDIF.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDIF.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;is_result&lt;/span&gt;&lt;span class=&quot;l0s701&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;count_check &lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;LINES&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;( i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s551&quot;&gt;). &quot; without comments&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;LOOP&amp;nbsp;AT i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ASSIGNING&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;FIND&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s331&quot;&gt;&#39;.&#39;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IN&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;sy&lt;/span&gt;&lt;span class=&quot;l0s701&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;subrc&amp;nbsp;&amp;lt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s321&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;FIND&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s331&quot;&gt;&#39;,&#39;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IN&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;is_class_code&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/is_class_code&gt;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;sy&lt;/span&gt;&lt;span class=&quot;l0s701&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;subrc&amp;nbsp;&amp;lt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s321&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;DELETE i&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;t_class_code.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDIF.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDIF.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;l0s521&quot;&gt;ENDLOOP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.25in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&amp;nbsp;is_result&lt;span class=&quot;L0S70&quot;&gt;-&lt;/span&gt;count_check_final&amp;nbsp;&lt;span class=&quot;L0S55&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;L0S52&quot;&gt;LINES&lt;/span&gt;&lt;span class=&quot;L0S55&quot;&gt;( i&lt;/span&gt;t_class_code&amp;nbsp;&lt;span class=&quot;L0S55&quot;&gt;).&quot;final count&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 0.25in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span class=&quot;L0S55&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Cheers,&lt;br /&gt;
Sandeep&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/8134218593685385855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/count-number-of-code-lines-in-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8134218593685385855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/8134218593685385855'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/count-number-of-code-lines-in-methods.html' title='ABAP: Count number of code lines in METHODS'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3468175395641950401</id><published>2012-01-19T20:02:00.000+08:00</published><updated>2012-02-01T13:56:46.045+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Append_structure"/><category scheme="http://www.blogger.com/atom/ns#" term="table_length_more_than_4030_bytes"/><title type='text'>ABAP: Append structure to a table and status is “partially active”</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Most often at customer sites one can get in trouble as they want to enhance
a table and at times the length of table fields is more than what SAP supports
and the appended structure is not activating fully in other words...
&quot;partially active&quot; status. &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
The limit for field length mentioned is 4030 bytes as of basis release 620
SP25.&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
Even though it has partially active status we can add data and retrieve data
from database but its flag an error &quot;inconsistency persist&quot;.&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In such situations the below tips can make life easy :&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
You can either execute report TOUCHTAB - Generate Program After Structure
Changes in R/3 Repository to bump the limit whatever your database supports &lt;br /&gt;
&lt;br /&gt;
OR &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
Change the DB Constants for Tables &amp;nbsp;using report RADTBCON.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp; As per SAP, &quot;We recommend that you do not extend it any further than this. See note 636217. For detailed information, see note 355898 (Restrictions for transparent tables)&quot;.&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3468175395641950401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/append-structure-to-table-and-status-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3468175395641950401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3468175395641950401'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/append-structure-to-table-and-status-is.html' title='ABAP: Append structure to a table and status is “partially active”'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3110107131001878920</id><published>2012-01-19T16:53:00.002+08:00</published><updated>2012-01-31T16:52:01.091+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Store_read_cluster_data"/><title type='text'>ABAP: Store and read data from clusters</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
Here is a simple program to store and read data from the clsuter.&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
SPAN {
font-family: &quot;Courier New&quot;;
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S31 {
font-style: italic;
color: #808080;
}
.L0S32 {
color: #3399FF;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
&lt;/style&gt;
&lt;span class=&quot;L0S31&quot;&gt;*&amp;nbsp;Create&amp;nbsp;a&amp;nbsp;transperant&amp;nbsp;table&amp;nbsp;,&amp;nbsp;copy&amp;nbsp;structure&amp;nbsp;of&amp;nbsp;table&amp;nbsp;INDX.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;L0S52&quot;&gt;DATA:&amp;nbsp;&lt;/span&gt;it_info&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;TYPE&amp;nbsp;&lt;/span&gt;string,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;is_key&lt;span class=&quot;L0S55&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;L0S32&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;L0S55&quot;&gt;)&amp;nbsp;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
it_info&amp;nbsp;&lt;span class=&quot;L0S55&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;L0S33&quot;&gt;&#39;Test&amp;nbsp;to&amp;nbsp;save&amp;nbsp;data&amp;nbsp;to&amp;nbsp;INDX&#39;.&lt;/span&gt;&lt;br /&gt;
is_key&amp;nbsp;&lt;span class=&quot;L0S55&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;L0S33&quot;&gt;&#39;TEST&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;L0S31&quot;&gt;*&amp;nbsp;Export&amp;nbsp;to&amp;nbsp;DB&amp;nbsp;clsuter&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;L0S52&quot;&gt;EXPORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;gs_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;FROM&amp;nbsp;&lt;/span&gt;it_info&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;TO&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;L0S52&quot;&gt;DATABASE&amp;nbsp;&lt;/span&gt;zsandy_test&lt;span class=&quot;L0S55&quot;&gt;(&lt;/span&gt;sy&lt;span class=&quot;L0S55&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;ID&amp;nbsp;&lt;/span&gt;is_key.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;L0S52&quot;&gt;CLEAR&amp;nbsp;&lt;/span&gt;it_info.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;L0S31&quot;&gt;*&amp;nbsp;Import&amp;nbsp;from&amp;nbsp;DB&amp;nbsp;cluster.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;L0S52&quot;&gt;IMPORT&amp;nbsp;&lt;/span&gt;gs_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S55&quot;&gt;=&amp;nbsp;&lt;/span&gt;it_info&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;L0S52&quot;&gt;DATABASE&amp;nbsp;&lt;/span&gt;zsandy_test&lt;span class=&quot;L0S55&quot;&gt;(&lt;/span&gt;sy&lt;span class=&quot;L0S55&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;L0S52&quot;&gt;ID&amp;nbsp;&lt;/span&gt;is_key.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;L0S52&quot;&gt;WRITE:&lt;/span&gt;/&amp;nbsp;it_info.&amp;nbsp;&lt;span class=&quot;L0S31&quot;&gt;&quot;&amp;nbsp;this&amp;nbsp;will&amp;nbsp;show&amp;nbsp;the&amp;nbsp;record&amp;nbsp;which&amp;nbsp;is&amp;nbsp;inserted&amp;nbsp;with&amp;nbsp;EXPORT&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
This is for the beginners :)&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Sandeep &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3110107131001878920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/store-and-read-data-from-clusters.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3110107131001878920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3110107131001878920'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/store-and-read-data-from-clusters.html' title='ABAP: Store and read data from clusters'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-6719328811665043269</id><published>2012-01-19T16:28:00.001+08:00</published><updated>2012-01-19T18:27:21.119+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IMG_extension"/><category scheme="http://www.blogger.com/atom/ns#" term="SPRO"/><title type='text'>IMG extenisons in SPRO</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following steps would help you add a node to SPRO:&lt;br /&gt;

&lt;br /&gt;
1.&lt;strong&gt; Node creation:&lt;/strong&gt;&lt;br /&gt;

&lt;br /&gt;
- Use transaction S_IMG_EXTENSION and select the IMG structure that youu want to extend.&lt;br /&gt;

&lt;br /&gt;
- Create a new enhancement and select the same and click on option ENHANCE STRUCTURE.&lt;br /&gt;

&lt;br /&gt;
- Navigate to the point where you need the node and click on icon create activity&lt;br /&gt;

&lt;br /&gt;
- Give the IMG ACTIVITY ID and NAME . &lt;br /&gt;

&lt;br /&gt;
- Provide an ID and name in the tab MAINTAIN OBJECTS and give the object description in the same. &lt;br /&gt;

&lt;br /&gt;
- Eg : If a maintenace view, enter the customizing object name as the view name, type as V and the transaction as SM30 and save.&lt;br /&gt;

&lt;br /&gt;
2. &lt;strong&gt;Add supporting help documentation for the node:&lt;/strong&gt;&lt;br /&gt;

&lt;br /&gt;
-Use the tab DOCUMENTATION and create a document. I&lt;br /&gt;

&lt;br /&gt;
- To insert hyperlinks in the documentation which are mapped to the data element documentation (same as SAP standard).&lt;br /&gt;

&lt;br /&gt;
-Use LINK option in the INSERT menu in the documentation window. &lt;br /&gt;

&lt;br /&gt;
-Select ‘Data element’ option from the drop down&lt;br /&gt;

&lt;br /&gt;
-Provide the data element name to create the hyperlink.&lt;br /&gt;

&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/6719328811665043269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/img-extenisons-in-spro.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6719328811665043269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6719328811665043269'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/img-extenisons-in-spro.html' title='IMG extenisons in SPRO'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3939423750527013191</id><published>2012-01-19T16:25:00.000+08:00</published><updated>2012-01-19T16:25:00.346+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Archive_txns"/><title type='text'>Important Txns in Archive for Abapers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You always wonder what Archive is all about and where abapers are asked to pitch-in , well here is short list of transactions which might help you to start with.&lt;br /&gt;
&lt;span lang=&quot;DE&quot;&gt;&lt;br /&gt;
AS_AFB : Archive file browser&lt;br /&gt;

&lt;br /&gt;
AS_ADMIN : Archive Administration&lt;br /&gt;

&lt;br /&gt;
AOBJ : view maintenance for archive objects &lt;br /&gt;

&lt;br /&gt;
SARA : Archive administation&lt;br /&gt;

&lt;br /&gt;
SARI : Archive info. system - central management &lt;br /&gt;

&lt;br /&gt;
ALO1 : search for documents with relationships inc archive&lt;br /&gt;
&lt;br /&gt;
To check the info structure for a session : SARI-&amp;gt; customizing-&amp;gt;provide archive info. -&amp;gt; check Technical data ( this is a structure in db)&lt;br /&gt;

&lt;br /&gt;
FM: KASH_ARCHIVE_DATA_OBJECT_SHOW to check archive files data&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3939423750527013191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/important-txns-in-archive-for-abapers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3939423750527013191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3939423750527013191'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2012/01/important-txns-in-archive-for-abapers.html' title='Important Txns in Archive for Abapers'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-5818587935332886650</id><published>2011-02-05T12:16:00.000+08:00</published><updated>2012-01-19T18:31:11.012+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lock_table"/><category scheme="http://www.blogger.com/atom/ns#" term="size"/><title type='text'>How large can and should the lock table be configured?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
For&amp;nbsp;release 4.0 the default size for the lock table is 4 MB. For medium-sized systems this value is absolutely sufficient. As of 4.6, it appears that a size of 10-20 MB is required for some background jobs, and a size of 32-200 MB may be required for large systems, although this is the exception. As a lock table that is too small causes transaction terminations, but resources for the lock table are relatively low, a size of 20 MB should be specified initially. no further changes are generally required to the layout of the shared memories with this size (except for AIX 32 bit). You can enter this setting using the profile parameter: enque/table_size = 20000&lt;br /&gt;
&lt;br /&gt;
You can monitor the lock table in transaction SM12 via the menu option &quot;Extras -&amp;gt; Statistics&quot;.&lt;br /&gt;
&lt;br /&gt;
The lock table is a shared memory, not a database table.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/5818587935332886650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2011/02/how-large-can-and-should-lock-table-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/5818587935332886650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/5818587935332886650'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2011/02/how-large-can-and-should-lock-table-be.html' title='How large can and should the lock table be configured?'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-284040074712505314</id><published>2010-12-24T18:40:00.000+08:00</published><updated>2012-01-31T16:52:14.603+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debug_BG_job"/><title type='text'>ABAP: How to debug a program which is running in an endless loop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Imagine your program is running in an endless loop and you need to analyze its behavior. In such situations you can force the running program into the debugger simply by setting a session breakpoint in a second ABAP Editor. In Utilities-&amp;gt;Settings...-&amp;gt;Debugging just choose the Session breakpoint active immed. option. When you activate this option, all (running and waiting) sessions of your logon session immediately inherit all session breakpoints set in any of those sessions. It is recommended that you activate this option in development environments.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/284040074712505314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/how-to-debug-program-which-is-running.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/284040074712505314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/284040074712505314'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/how-to-debug-program-which-is-running.html' title='ABAP: How to debug a program which is running in an endless loop'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3805835677262994006</id><published>2010-12-11T20:04:00.001+08:00</published><updated>2010-12-11T20:05:24.253+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALV"/><category scheme="http://www.blogger.com/atom/ns#" term="Drag"/><category scheme="http://www.blogger.com/atom/ns#" term="Drop"/><title type='text'>ALV : Drag and Drop on rows</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;REPORT zalv_dragndrop.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Structure declaration for T016T&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;TYPES : BEGIN OF ty_t016t,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;brsch TYPE brsch,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;brtxt TYPE text1_016t,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;spras TYPE spras,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;END OF ty_t016t.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Work area and internal table for T016T&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA : it_t016t TYPE STANDARD TABLE OF ty_t016t,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;wa_t016t TYPE ty_t016t.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*class declaration&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLASS lcl_objdragdropapp DEFINITION DEFERRED.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*data declarations for alv&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: c_dragdropapp TYPE REF TO lcl_objdragdropapp,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;c_dockingcont TYPE REF TO cl_gui_docking_container,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;c_alv TYPE REF TO cl_gui_alv_grid,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* reference variable to CL_DRAGDROP:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;c_dragdropalv TYPE REF TO cl_dragdrop,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_layout TYPE lvc_s_layo,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_fcat TYPE lvc_t_fcat. &quot;Field catalogue&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*declarations for handle event&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: effect TYPE i,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;handle_alv TYPE i.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*start of selection event&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;START-OF-SELECTION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*select data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM fetch_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*ALV output&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM alv_output.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Class definitions and method implementation for drag and drop&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLASS lcl_dragdrop DEFINITION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PUBLIC SECTION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: wa TYPE ty_t016t,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;index TYPE i. &quot;Index of Line to be moved&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDCLASS. &quot;LCL_DRAGDROP DEFINITION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Application class definition&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLASS lcl_objdragdropapp DEFINITION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PUBLIC SECTION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;METHODS:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Handling Event Drag&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;handle_alv_drag&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR EVENT ondrag&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;OF cl_gui_alv_grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IMPORTING e_row e_column e_dragdropobj,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Handling event DROP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;handle_alv_drop&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR EVENT ondrop&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;OF cl_gui_alv_grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IMPORTING e_row e_column e_dragdropobj.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDCLASS. &quot;LCL_objdragdropapp DEFINITION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Application class implementation&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLASS lcl_objdragdropapp IMPLEMENTATION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* OnDrag event is used to &#39;fetch&#39; information from the drag source.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;METHOD handle_alv_drag.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: dataobj TYPE REF TO lcl_dragdrop,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;line TYPE ty_t016t.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Read dragged row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE it_t016t INDEX e_row-index INTO line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* create and fill dataobject for events ONDROP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE OBJECT dataobj.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Remembering row index to move a line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MOVE e_row-index TO dataobj-&amp;gt;index.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* store the dragged line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE it_t016t INTO dataobj-&amp;gt;wa INDEX e_row-index.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Assigning data object to the refering event parameter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;e_dragdropobj-&amp;gt;object = dataobj.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDMETHOD. &quot;HANDLE_ALV_DRAG&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Event handler for event &#39;OnDrop&#39;. This event is used&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*to use your dragged information in combination with your drop source.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;METHOD handle_alv_drop.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: dataobj TYPE REF TO lcl_dragdrop,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;drop_index TYPE i,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;stable TYPE lvc_s_stbl.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Refresh Alv Grid Control without scrolling&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;stable-row = &#39;X&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;stable-col = &#39;X&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Catch-Statement to ensure the drag&amp;amp;drop-Operation is aborted properly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CATCH SYSTEM-EXCEPTIONS move_cast_error = 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;dataobj ?= e_dragdropobj-&amp;gt;object.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DELETE it_t016t INDEX dataobj-&amp;gt;index.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT dataobj-&amp;gt;wa INTO it_t016t INDEX e_row-index.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Refreshing the ALV&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD c_alv-&amp;gt;refresh_table_display&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;i_soft_refresh = &#39;X&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;is_stable = stable.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDCATCH.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* If anything went wrong aborting the drag and drop operation:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD e_dragdropobj-&amp;gt;abort.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDMETHOD. &quot;HANDLE_ALV_DROP&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDCLASS. &quot;LCL_objdragdropapp IMPLEMENTATION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form alv_output&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM alv_output .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL SCREEN 600.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot; alv_output&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;** Calling the ALV screen with custom container&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*On this statement double click it takes you to the screen painter SE51.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Enter the attributes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Create a Custom container and name it CC_CONT and OK code as OK_CODE.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Save check and Activate the screen painter.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*Now a normal screen with number 600 is created which holds the ALV grid.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* PBO of the actual screen ,Here we can give a title and customized menus&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Module STATUS_0600 OUTPUT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MODULE status_0600 OUTPUT.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* SET PF-STATUS &#39;xxxxxxxx&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* SET TITLEBAR &#39;xxx&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF c_alv IS INITIAL.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM alv_controls.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDMODULE. &quot; STATUS_0600 OUTPUT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form alv_CONTROLS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM alv_controls.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* create docking container for alv control&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE OBJECT c_dockingcont&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;dynnr = &#39;600&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;extension = 300&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;side = cl_gui_docking_container=&amp;gt;dock_at_top.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* create alv control&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE OBJECT c_alv&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING i_parent = c_dockingcont.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* create the application object to handle the ABAP Objects Events&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE OBJECT c_dragdropapp.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Events alv control&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*For Dragging&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SET HANDLER c_dragdropapp-&amp;gt;handle_alv_drag FOR c_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*For Dropping&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SET HANDLER c_dragdropapp-&amp;gt;handle_alv_drop FOR c_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* build tree nodes for drag&amp;amp;drop&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM build_handle.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Fieldcatalogue for ALV&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM alv_build_fieldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* ALV attributes FOR LAYOUT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;PERFORM alv_report_layout.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* Call ALV GRID&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD c_alv-&amp;gt;set_table_for_first_display&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;is_layout = it_layout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CHANGING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_outtab = it_t016t&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_fieldcatalog = it_fcat&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;invalid_parameter_combination = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;program_error = 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;too_many_lines = 3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;OTHERS = 4.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot;ALV_CONTROLS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form build_handle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM build_handle.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* define a drag &amp;amp; Drop behaviour for the whole grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE OBJECT c_dragdropalv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;effect = cl_dragdrop=&amp;gt;move + cl_dragdrop=&amp;gt;copy.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD c_dragdropalv-&amp;gt;add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;flavor = &#39;Line&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;dragsrc = &#39;X&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;droptarget = &#39;X&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;effect = effect.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*getting the handle for drag and drop&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD c_dragdropalv-&amp;gt;get_handle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;handle = handle_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot; build_handle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form fetch_data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM fetch_data .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* select and display data from t016&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SELECT brtxt brsch spras FROM t016t INTO CORRESPONDING FIELDS OF TABLE it_t016t&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;WHERE spras = &#39;EN&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot; fetch_data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form alv_report_layout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM alv_report_layout .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_layout-grid_title = &#39;ALV Drag Drop&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* provide handle to alv control to all rows for same drag &amp;amp; drop behaviour&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_layout-s_dragdrop-row_ddid = handle_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot; alv_report_layout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Form alv_build_fieldcat&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FORM alv_build_fieldcat .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA lv_fldcat TYPE lvc_s_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLEAR lv_fldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-row_pos = &#39;1&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-col_pos = &#39;1&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-fieldname = &#39;BRSCH&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-tabname = &#39;IT_T016T&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-outputlen = 8.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-scrtext_m = &#39;Industry&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;APPEND lv_fldcat TO it_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLEAR lv_fldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-row_pos = &#39;1&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-col_pos = &#39;2&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-fieldname = &#39;BRTXT&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-tabname = &#39;IT_T016T&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-outputlen = 15.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;lv_fldcat-scrtext_m = &#39;Description&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;APPEND lv_fldcat TO it_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CLEAR lv_fldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFORM. &quot; alv_build_fieldcat&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;* PAI module of the screen created. In case we use an interactive ALV or&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*for additional functionalities we can create OK codes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*and based on the user command we can do the coding.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp; Module USER_COMMAND_0600 INPUT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MODULE user_command_0600 INPUT.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDMODULE. &quot; USER_COMMAND_0600 INPUT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3805835677262994006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/alv-drag-and-drop-on-rows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3805835677262994006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3805835677262994006'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/alv-drag-and-drop-on-rows.html' title='ALV : Drag and Drop on rows'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-3950630607968823680</id><published>2010-12-09T17:26:00.002+08:00</published><updated>2012-02-01T13:57:11.166+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FI_txns"/><title type='text'>FI: Important T-Codes in  FI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. CHART OF ACCOUNTS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0BY7 = Copy chart of accounts.&lt;br /&gt;
&lt;br /&gt;
2.FISCAL YEAR VARIANTS&lt;br /&gt;
&lt;br /&gt;
OB29=define fiscal year variants&lt;br /&gt;
&lt;br /&gt;
OBB0=define posting periods variants&lt;br /&gt;
&lt;br /&gt;
3.COMPANY CODE CONFIGURATION&lt;br /&gt;
&lt;br /&gt;
OX02=company code creation&lt;br /&gt;
&lt;br /&gt;
OBY6=define company code global parameters&lt;br /&gt;
&lt;br /&gt;
EC01=copy company code&lt;br /&gt;
&lt;br /&gt;
OY01=define countries&lt;br /&gt;
&lt;br /&gt;
OB22=define parallel currencies&lt;br /&gt;
&lt;br /&gt;
4.BUSSINESS AREAS&lt;br /&gt;
&lt;br /&gt;
OX03=define business areas&lt;br /&gt;
&lt;br /&gt;
GGB0=define validations&lt;br /&gt;
&lt;br /&gt;
OB28=activate FI validations&lt;br /&gt;
&lt;br /&gt;
5.FUNCTIONAL AREAS.&lt;br /&gt;
&lt;br /&gt;
OKBD=define functional areas.&lt;br /&gt;
&lt;br /&gt;
GGB1=define substitution&lt;br /&gt;
&lt;br /&gt;
GS01=create sets&lt;br /&gt;
&lt;br /&gt;
OBBZ=create functional area substitution&lt;br /&gt;
&lt;br /&gt;
6.SALES AND USE TAX.&lt;br /&gt;
&lt;br /&gt;
OBBG=assign country to tax calculation procedure&lt;br /&gt;
&lt;br /&gt;
OBCO=specify structure for the jurisdriction code&lt;br /&gt;
&lt;br /&gt;
OBCP=define tax jurisdiction codes&lt;br /&gt;
&lt;br /&gt;
FTXP=define codes on tax and purchases&lt;br /&gt;
&lt;br /&gt;
OBCL=define tax code for non-taxable transactions&lt;br /&gt;
&lt;br /&gt;
GENERAL LEDGER&lt;br /&gt;
&lt;br /&gt;
1. CHART OF ACCOUNTS.&lt;br /&gt;
&lt;br /&gt;
OBD4=define account groups.&lt;br /&gt;
&lt;br /&gt;
FSP3=chart of account display&lt;br /&gt;
&lt;br /&gt;
OB53=define retained earnings account&lt;br /&gt;
&lt;br /&gt;
OB15=define sample account rule types&lt;br /&gt;
&lt;br /&gt;
FSK2=define data transfer rules&lt;br /&gt;
&lt;br /&gt;
OB67=allocate company codes to rule types&lt;br /&gt;
&lt;br /&gt;
FSM1=create sample accounts&lt;br /&gt;
&lt;br /&gt;
FS01=create G/L accounts master records&lt;br /&gt;
&lt;br /&gt;
2. COPYING AND TRANSPORTING G/L ACCOUNTS.&lt;br /&gt;
&lt;br /&gt;
OB49=transport chart of accounts&lt;br /&gt;
&lt;br /&gt;
OBY2=copy company codes&lt;br /&gt;
&lt;br /&gt;
OBC4=define field status groups&lt;br /&gt;
&lt;br /&gt;
3.POSITION KEY CONFIGURATION.&lt;br /&gt;
&lt;br /&gt;
OB41=define position key configuration. &lt;br /&gt;
&lt;br /&gt;
4. AUTOMATIC ACCOUNT DETERMINATION.&lt;br /&gt;
&lt;br /&gt;
FBKP=configure auto act determination&lt;br /&gt;
&lt;br /&gt;
OBY0=define tax accounts auto act assignement&lt;br /&gt;
&lt;br /&gt;
OBYA=define cross company code&lt;br /&gt;
&lt;br /&gt;
5.FINANCIAL STATEMENT VERSION.&lt;br /&gt;
&lt;br /&gt;
OB58=define financial statement version&lt;br /&gt;
&lt;br /&gt;
6.G/L DISPLAY CONFIGURATION.&lt;br /&gt;
&lt;br /&gt;
O7Z3=define line layouts&lt;br /&gt;
&lt;br /&gt;
OBVU=add special fields&lt;br /&gt;
&lt;br /&gt;
O7S7=define sort variants&lt;br /&gt;
&lt;br /&gt;
O7R1=define total variants&lt;br /&gt;
&lt;br /&gt;
7.TOLERENCE GROUPS.&lt;br /&gt;
&lt;br /&gt;
OBAY=define tolerance groups&lt;br /&gt;
&lt;br /&gt;
OB57=allocate isers to tolerance groups&lt;br /&gt;
&lt;br /&gt;
8.NUMBER RANGES AND DOCUMENT TYPES&lt;br /&gt;
&lt;br /&gt;
FBN1=define FI number ranges&lt;br /&gt;
&lt;br /&gt;
OBA7=define FI document types&lt;br /&gt;
&lt;br /&gt;
OBU1=define document types and posting keys&lt;br /&gt;
&lt;br /&gt;
O7E6=define fast entry screen&lt;br /&gt;
&lt;br /&gt;
ACCOUNTS PAYABLE A/P&lt;br /&gt;
&lt;br /&gt;
1. HOUSE BANKS AND ACCOUNTS&lt;br /&gt;
&lt;br /&gt;
FI12=define house banks&lt;br /&gt;
&lt;br /&gt;
FCH1=define check lots&lt;br /&gt;
&lt;br /&gt;
FCHV=define void reason codes&lt;br /&gt;
&lt;br /&gt;
2. PAYMENT PROGRAM CONFIGURATION&lt;br /&gt;
&lt;br /&gt;
FBZP=payment program configuration&lt;br /&gt;
&lt;br /&gt;
3. VENDOR MASTER DATA&lt;br /&gt;
&lt;br /&gt;
OBD=3define vendor groups&lt;br /&gt;
&lt;br /&gt;
XKN1=create number ranges for vendor account groups&lt;br /&gt;
&lt;br /&gt;
OBAJ=assign number ranges to vendor groups&lt;br /&gt;
&lt;br /&gt;
FK15=copy vendor master records&lt;br /&gt;
&lt;br /&gt;
FK16=important vendor master records&lt;br /&gt;
&lt;br /&gt;
ACCOUNTS RESIVEABLR A/R&lt;br /&gt;
&lt;br /&gt;
1. TERMS OF PAYMENTS AND INTEREST CALCULATION&lt;br /&gt;
&lt;br /&gt;
OBB8=define terms of payments&lt;br /&gt;
&lt;br /&gt;
OB46=define interest calculation types&lt;br /&gt;
&lt;br /&gt;
OB82=make the interest indicator avail to interest run program &lt;br /&gt;
&lt;br /&gt;
OBAC=define reference interest rates&lt;br /&gt;
&lt;br /&gt;
OB81=assign reference interest rates to interest indicators&lt;br /&gt;
&lt;br /&gt;
OBV1=interest calculations account assignment&lt;br /&gt;
&lt;br /&gt;
2. REASON CODES.&lt;br /&gt;
&lt;br /&gt;
OBBE=define reason codes&lt;br /&gt;
&lt;br /&gt;
OBCR=define reason codes conversion version&lt;br /&gt;
&lt;br /&gt;
OBCS=map external reason codes to internal reason codes&lt;br /&gt;
&lt;br /&gt;
3. DEFAULT ACCOUNT ASSIGNMENT&lt;br /&gt;
&lt;br /&gt;
OBXL=assign G/L account to reason codes&lt;br /&gt;
&lt;br /&gt;
OBX1=cash discount accounts&lt;br /&gt;
&lt;br /&gt;
4. OVERALL A/R AND EMPLOYEE TOLERENCES&lt;br /&gt;
&lt;br /&gt;
OBA3=define customer tolerance groups&lt;br /&gt;
&lt;br /&gt;
5. CREDIT MANAGEMENT&lt;br /&gt;
&lt;br /&gt;
OB45=define credit control areas&lt;br /&gt;
&lt;br /&gt;
OB01=define credit risk categories&lt;br /&gt;
&lt;br /&gt;
OB02=define credit representative groups&lt;br /&gt;
&lt;br /&gt;
OB51=assign employee credit representitive groups&lt;br /&gt;
&lt;br /&gt;
OB39=define days in arrears calculation&lt;br /&gt;
&lt;br /&gt;
6. CUSTOMER MASTER RECORDS.&lt;br /&gt;
&lt;br /&gt;
OBD2=define customer groups&lt;br /&gt;
&lt;br /&gt;
ACCOUNTS RESIVEABLR A/R&lt;br /&gt;
&lt;br /&gt;
1. TERMS OF PAYMENTS AND INTEREST CALCULATION&lt;br /&gt;
&lt;br /&gt;
OBB8=define terms of payments&lt;br /&gt;
&lt;br /&gt;
OB46=define interest calculation types&lt;br /&gt;
&lt;br /&gt;
OB82=make the interest indicator avail to interest run program &lt;br /&gt;
&lt;br /&gt;
OBAC=define reference interest rates&lt;br /&gt;
&lt;br /&gt;
OB81=assign reference interest rates to interest indicators&lt;br /&gt;
&lt;br /&gt;
OBV1=interest calculations account assignment&lt;br /&gt;
&lt;br /&gt;
2. REASON CODES.&lt;br /&gt;
&lt;br /&gt;
OBBE=define reason codes&lt;br /&gt;
&lt;br /&gt;
OBCR=define reason codes conversion version&lt;br /&gt;
&lt;br /&gt;
OBCS=map external reason codes to internal reason codes&lt;br /&gt;
&lt;br /&gt;
3. DEFAULT ACCOUNT ASSIGNMENT&lt;br /&gt;
&lt;br /&gt;
OBXL=assign G/L account to reason codes&lt;br /&gt;
&lt;br /&gt;
OBX1=cash discount accounts&lt;br /&gt;
&lt;br /&gt;
4. OVERALL A/R AND EMPLOYEE TOLERENCES&lt;br /&gt;
&lt;br /&gt;
OBA3=define customer tolerance groups&lt;br /&gt;
&lt;br /&gt;
5. CREDIT MANAGEMENT&lt;br /&gt;
&lt;br /&gt;
OB45=define credit control areas&lt;br /&gt;
&lt;br /&gt;
OB01=define credit risk categories&lt;br /&gt;
&lt;br /&gt;
OB02=define credit representative groups&lt;br /&gt;
&lt;br /&gt;
OB51=assign employee credit representitive groups&lt;br /&gt;
&lt;br /&gt;
OB39=define days in arrears calculation&lt;br /&gt;
&lt;br /&gt;
6. CUSTOMER MASTER RECORDS.&lt;br /&gt;
&lt;br /&gt;
OBD2=define customer groups&lt;br /&gt;
&lt;br /&gt;
CONTROLLING ENTERPRISE STRUCTURE&lt;br /&gt;
&lt;br /&gt;
1. CONTROLLING AREAS&lt;br /&gt;
&lt;br /&gt;
OX06=controlling area maintenance&lt;br /&gt;
&lt;br /&gt;
OKKP=activate relative CO components within&lt;br /&gt;
&lt;br /&gt;
Controlling area&lt;br /&gt;
&lt;br /&gt;
KANK=maintain number ranges&lt;br /&gt;
&lt;br /&gt;
2. OPERATING CONCERNS&lt;br /&gt;
&lt;br /&gt;
KEP8=maintain operating concerns&lt;br /&gt;
&lt;br /&gt;
OKEQ=version configuration screen&lt;br /&gt;
&lt;br /&gt;
COST ELEMENT ACCOUNTIN &lt;br /&gt;
&lt;br /&gt;
1. AUTOMATIC COST ELEMENT CREATION&lt;br /&gt;
&lt;br /&gt;
OKB2= automatic cost element creation&lt;br /&gt;
&lt;br /&gt;
OKB3= creation of the cost elements&lt;br /&gt;
&lt;br /&gt;
Creation batch run session&lt;br /&gt;
&lt;br /&gt;
SM35= execution of the cost element creation &lt;br /&gt;
&lt;br /&gt;
batch input session&lt;br /&gt;
&lt;br /&gt;
2. MANUAL COST ELEMENT CREATION&lt;br /&gt;
&lt;br /&gt;
KA06= seacondry cost element creation&lt;br /&gt;
&lt;br /&gt;
KA01= primary cost element creation&lt;br /&gt;
&lt;br /&gt;
3. IMPUTED COSTS&lt;br /&gt;
&lt;br /&gt;
KSAZ= manual overhead costing sheet &lt;br /&gt;
&lt;br /&gt;
Creation for imputed cost calculation&lt;br /&gt;
&lt;br /&gt;
4. RECONCILATION LEDGER&lt;br /&gt;
&lt;br /&gt;
KALA= activate the reconciliation ledger&lt;br /&gt;
&lt;br /&gt;
OKKP= assignment of the reconciliation &lt;br /&gt;
&lt;br /&gt;
Table to the controlling area&lt;br /&gt;
&lt;br /&gt;
OBYB= maintain the CO-FI automatic account &lt;br /&gt;
&lt;br /&gt;
Assignment configuration&lt;br /&gt;
&lt;br /&gt;
OK13= assignment to the reconciliation ledger&lt;br /&gt;
&lt;br /&gt;
Document number range&lt;br /&gt;
&lt;br /&gt;
COST CENTER ACCOUNTING&lt;br /&gt;
&lt;br /&gt;
1. C.C.ACCOUNTING STANDARD HIERACHRY&lt;br /&gt;
&lt;br /&gt;
KSH2= C.C.A standard hierachry maint creation.&lt;br /&gt;
&lt;br /&gt;
2. CO AREAS P.C.A MAINT.&lt;br /&gt;
&lt;br /&gt;
OKES= maint the PCA CO area settings&lt;br /&gt;
&lt;br /&gt;
OK59= creating the dummy profit center&lt;br /&gt;
&lt;br /&gt;
3. COST CENTER BASICS&lt;br /&gt;
&lt;br /&gt;
OKA2= cost center category maint &lt;br /&gt;
&lt;br /&gt;
OKEG= maint of the time based fields&lt;br /&gt;
&lt;br /&gt;
KS01=creating/main the cost center M. records&lt;br /&gt;
&lt;br /&gt;
4. ACTIVITY TYPES STATSTICAL KEY FIGURE&lt;br /&gt;
&lt;br /&gt;
KK01=creation / maint of statistical key figs&lt;br /&gt;
&lt;br /&gt;
KVA5= activity independent key figs&lt;br /&gt;
&lt;br /&gt;
KV06= creation of an allocation cost elements&lt;br /&gt;
&lt;br /&gt;
OKEI= time based field maint for activity types&lt;br /&gt;
&lt;br /&gt;
OKL01= creation maint of activity types&lt;br /&gt;
&lt;br /&gt;
5. ASSESMENT –DISTRIBUTION AND REPORTING &lt;br /&gt;
&lt;br /&gt;
KCAV= maint of the allocation character for the sender /receiver&lt;br /&gt;
&lt;br /&gt;
KA06= creation/maint of the assessment cost element &lt;br /&gt;
&lt;br /&gt;
KSWI= creation of the cost center reporting&lt;br /&gt;
&lt;br /&gt;
KSV1= creation of the cost center distribution&lt;br /&gt;
&lt;br /&gt;
KSU1= creation of the cost center assessment &lt;br /&gt;
&lt;br /&gt;
6. COST CENTER ACCOUNTING PLANNING&lt;br /&gt;
&lt;br /&gt;
KP97= copy planning for cost center accounting&lt;br /&gt;
&lt;br /&gt;
KPU1=creation of the plan revaluation&lt;br /&gt;
&lt;br /&gt;
KP65= creation of the cost planning layout&lt;br /&gt;
&lt;br /&gt;
KP34=planning profile creation&lt;br /&gt;
&lt;br /&gt;
OKB9=maint of the CO automatic account&lt;br /&gt;
&lt;br /&gt;
INTERNAL ORDER ACCOUNTING &lt;br /&gt;
&lt;br /&gt;
1. ORDER SETTELEMENT CONFIGURATION&lt;br /&gt;
&lt;br /&gt;
KA01= primary cost element &lt;br /&gt;
&lt;br /&gt;
KA06= secondary cost elements&lt;br /&gt;
&lt;br /&gt;
OK06= settlement structure&lt;br /&gt;
&lt;br /&gt;
OKEV= origin source structure&lt;br /&gt;
&lt;br /&gt;
OK07= settlement profile&lt;br /&gt;
&lt;br /&gt;
SNUM= maintain number range assignment &lt;br /&gt;
&lt;br /&gt;
2. ORDER PLANNING AND BUDGITING&lt;br /&gt;
&lt;br /&gt;
OKEQ= maintain CO versions&lt;br /&gt;
&lt;br /&gt;
OKOS= define planning profile for overall value planning &lt;br /&gt;
&lt;br /&gt;
OKOB= define budget profile&lt;br /&gt;
&lt;br /&gt;
OK14= maintain budget manager&lt;br /&gt;
&lt;br /&gt;
OPTK= define exempt cost element for availability control&lt;br /&gt;
&lt;br /&gt;
KANK= maint number range assignment&lt;br /&gt;
&lt;br /&gt;
OK11= maint number range for planning/ budgeting objects&lt;br /&gt;
&lt;br /&gt;
3. INTERNAL ORDER STATUS MANAGEMENT &lt;br /&gt;
&lt;br /&gt;
KOT2= define order status management &lt;br /&gt;
&lt;br /&gt;
KOV2= define transaction groups&lt;br /&gt;
&lt;br /&gt;
OK02= define status profile&lt;br /&gt;
&lt;br /&gt;
BS52= define authorization keys&lt;br /&gt;
&lt;br /&gt;
4. ORDER TYPE DEVELOPMENT&lt;br /&gt;
&lt;br /&gt;
KOT2= define order types&lt;br /&gt;
&lt;br /&gt;
PROFITABILITY ANALYSIS&lt;br /&gt;
&lt;br /&gt;
1. OPERATION CONCERN DEVELOPMENTS&lt;br /&gt;
&lt;br /&gt;
KEAO= maintain operation concerns&lt;br /&gt;
&lt;br /&gt;
2. CHARACHTERISTIC DERICATION&lt;br /&gt;
&lt;br /&gt;
KE4K= maint derivation&lt;br /&gt;
&lt;br /&gt;
KE04= create derivation structure&lt;br /&gt;
&lt;br /&gt;
KE05= change derivation structure&lt;br /&gt;
&lt;br /&gt;
KE06= display derivation structure&lt;br /&gt;
&lt;br /&gt;
KES1=maintain CO-PA master data&lt;br /&gt;
&lt;br /&gt;
KE07= create derivation rules&lt;br /&gt;
&lt;br /&gt;
KE08= change derivation rules&lt;br /&gt;
&lt;br /&gt;
3. ASSIGNING VALUES TO VALUE FIELDS&lt;br /&gt;
&lt;br /&gt;
KE41=assign condition types to value fields&lt;br /&gt;
&lt;br /&gt;
KE4M= assign SD quantity fields to value fields&lt;br /&gt;
&lt;br /&gt;
KE4W= reset value fields&lt;br /&gt;
&lt;br /&gt;
KEI1= define PA settlement structure&lt;br /&gt;
&lt;br /&gt;
KEU1= create CO-PA cost center assessment&lt;br /&gt;
&lt;br /&gt;
KEV2= change CO-PA cost center assessment&lt;br /&gt;
&lt;br /&gt;
4. CO-PA PLANNING &lt;br /&gt;
&lt;br /&gt;
OKEQ= maintain plan versions &lt;br /&gt;
&lt;br /&gt;
KEF1= define planning revaluation&lt;br /&gt;
&lt;br /&gt;
KE14= create planning layouts&lt;br /&gt;
&lt;br /&gt;
KE15= change planning layouts&lt;br /&gt;
&lt;br /&gt;
KE16= display planning layouts&lt;br /&gt;
&lt;br /&gt;
KP34= define planning profiles&lt;br /&gt;
&lt;br /&gt;
KE4D= define external data transfer structure&lt;br /&gt;
&lt;br /&gt;
KE4Z= define assignment groups&lt;br /&gt;
&lt;br /&gt;
KE4E= define field assignment&lt;br /&gt;
&lt;br /&gt;
KEN2= define plan number ranges&lt;br /&gt;
&lt;br /&gt;
5. ACTIVITY CO-PA&lt;br /&gt;
&lt;br /&gt;
KEKK= assign controlling areas to operating concerns&lt;br /&gt;
&lt;br /&gt;
KEN1= define number ranges to actual postings&lt;br /&gt;
&lt;br /&gt;
6. CO-PA REPORTING&lt;br /&gt;
&lt;br /&gt;
KER1= define report line structure&lt;br /&gt;
&lt;br /&gt;
KE34= create forms&lt;br /&gt;
&lt;br /&gt;
KE35= change forms&lt;br /&gt;
&lt;br /&gt;
KE36= display forms&lt;br /&gt;
&lt;br /&gt;
KE31= create CO-PA reports &lt;br /&gt;
&lt;br /&gt;
KE32= change CO-PA repots &lt;br /&gt;
&lt;br /&gt;
KE33= display CO-PA reports&lt;br /&gt;
&lt;br /&gt;
7. CO-PA TRANSPORTS&lt;br /&gt;
&lt;br /&gt;
KE3I= create CO-PA transports&lt;br /&gt;
&lt;br /&gt;
PROFIT CENTER ACCOUNTING &lt;br /&gt;
&lt;br /&gt;
1. BASIC SETTINGS AND MASTER DATA REVIEW&lt;br /&gt;
&lt;br /&gt;
OKE5= maintain controlling area setups&lt;br /&gt;
&lt;br /&gt;
1KE1=analyze settings&lt;br /&gt;
&lt;br /&gt;
OKE4= update settings&lt;br /&gt;
&lt;br /&gt;
OKE7= maintain time based fields&lt;br /&gt;
&lt;br /&gt;
2. ASSIGNEMENT IN PCA&lt;br /&gt;
&lt;br /&gt;
1KEB= perform fast assignment&lt;br /&gt;
&lt;br /&gt;
OKEM= sales order sub creation&lt;br /&gt;
&lt;br /&gt;
OKEL= sales order dist sub creation&lt;br /&gt;
&lt;br /&gt;
1KE4= PCA assignment monitor&lt;br /&gt;
&lt;br /&gt;
3. ACTUAL POSTING MAINTAINANCE&lt;br /&gt;
&lt;br /&gt;
1KEF= set control parameters for actual postings&lt;br /&gt;
&lt;br /&gt;
GCBX= define document types for actual postings&lt;br /&gt;
&lt;br /&gt;
OKB9= maintain default account assignment&lt;br /&gt;
&lt;br /&gt;
3KEH= maintain add. Bal. sheet and P&amp;amp;L acts.&lt;br /&gt;
&lt;br /&gt;
2KET= activate balance carry format for CO-PA&lt;br /&gt;
&lt;br /&gt;
4. PCA PLANNING&lt;br /&gt;
&lt;br /&gt;
OKEQ= maintain controlling versions&lt;br /&gt;
&lt;br /&gt;
GCBA= define documents types for plan postings&lt;br /&gt;
&lt;br /&gt;
GS01= set maintenance for plan parameters creation&lt;br /&gt;
&lt;br /&gt;
GP41= create plan parameters for plan postings&lt;br /&gt;
&lt;br /&gt;
KE62= copy data to plan&lt;br /&gt;
&lt;br /&gt;
INVESTEMENT MANAGEMENT &lt;br /&gt;
&lt;br /&gt;
1. PROGRAMS TYPES, INVESTEMENT MEASURES&lt;br /&gt;
&lt;br /&gt;
AND INVESTMENT PROFILE&lt;br /&gt;
&lt;br /&gt;
OIT3= define program types&lt;br /&gt;
&lt;br /&gt;
OITA= define investment profiles&lt;br /&gt;
&lt;br /&gt;
2. I.M PLANNING AND BUDGETING PROFILES&lt;br /&gt;
&lt;br /&gt;
OIP1= define investment management plan profile&lt;br /&gt;
&lt;br /&gt;
OIB1= define IM budget profile&lt;br /&gt;
&lt;br /&gt;
OIT5= assign actual value to budget category&lt;br /&gt;
&lt;br /&gt;
OK11= define IM management plan profile&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/3950630607968823680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/important-t-codes-in-fi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3950630607968823680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/3950630607968823680'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/important-t-codes-in-fi.html' title='FI: Important T-Codes in  FI'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-4493730912626653133</id><published>2010-12-06T01:46:00.000+08:00</published><updated>2012-01-19T18:28:14.060+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UCCHECK"/><category scheme="http://www.blogger.com/atom/ns#" term="Unicode_Conversion"/><title type='text'>Things to look out for Unicde Conversion</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello,&lt;br /&gt;
Below are few hints which can be useful for Unicde conversion projetcs.&lt;br /&gt;
Transaction to check the objects which are relevant for&amp;nbsp;Unicode conversion :&lt;strong&gt; UCCHECK&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1. File Interface - OPEN DATASET&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
The majority of ABAP changes needed on SAP system for Unicode involve the file interface. This section describes the expected changes for OPEN DATASET, READ, and TRANSFER statements.&lt;br /&gt;
&lt;br /&gt;
1.1 - OPEN...TEXT MODE&lt;br /&gt;
&lt;br /&gt;
The non-Unicode syntax for accessing the file system in text mode is:&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET dsn FOR access IN TEXT MODE.&lt;br /&gt;
&lt;br /&gt;
The expected change for this type of syntax for Unicode is:&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET dsn FOR access IN TEXT MODE ENCODING DEFAULT.&lt;br /&gt;
&lt;br /&gt;
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.2 - OPEN...BINARY MODE&lt;br /&gt;
&lt;br /&gt;
The non-Unicode syntax for accessing the file system in binary mode is:&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET dsn FOR access IN BINARY MODE.&lt;br /&gt;
&lt;br /&gt;
The expected change for this type of syntax for Unicode is:&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET dsn FOR access IN LEGACY BINARY MODE.&lt;br /&gt;
&lt;br /&gt;
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.&lt;br /&gt;
&lt;br /&gt;
1.3 - READ/TRANSFER&lt;br /&gt;
&lt;br /&gt;
No change to the syntax of READ or TRANSFER is needed. However, a runtime error triggers if the OPEN statement does not exist for these statements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2. WS_UPLOAD/WS_DOWNLOAD&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Functions WS_UPLOAD, WS_DOWNLOAD, UPLOAD, and DOWNLOAD are being replaced. In all cases, the new function GUI_UPLOAD will replace functions WS_UPLOAD and UPLOAD, and function GUI_DOWNLOAD will replace functions WS_DOWNLOAD and DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
The snippet below show examples of how GUI_UPLOAD and GUI_DOWNLOAD should be implemented. The designation &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;implies carrying over the variable from&lt;br /&gt;
&lt;br /&gt;
WS_UPLOAD, WS_DOWNLOAD, UPLOAD, or DOWNLOAD. Any new parameter supplied with GUI_UPLOAD or GUI_DOWNLOAD should remain commented out.&lt;br /&gt;
&lt;br /&gt;
CALL FUNCTION &#39;GUI_UPLOAD&#39;&lt;br /&gt;
&lt;br /&gt;
EXPORTING&lt;br /&gt;
&lt;br /&gt;
filename = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
filetype = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
HAS_FIELD_SEPARATOR = &#39; &#39;&lt;br /&gt;
&lt;br /&gt;
header_length = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
READ_BY_LINE = &#39;X&#39;&lt;br /&gt;
&lt;br /&gt;
dat_mode = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
codepage = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
IGNORE_CERR = ABAP_TRUE&lt;br /&gt;
&lt;br /&gt;
REPLACEMENT = &#39;#&#39;&lt;br /&gt;
&lt;br /&gt;
CHECK_BOM = &#39; &#39;&lt;br /&gt;
&lt;br /&gt;
VIRUS_SCAN_PROFILE =&lt;br /&gt;
&lt;br /&gt;
IMPORTING&lt;br /&gt;
&lt;br /&gt;
filelength = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
HEADER =&lt;br /&gt;
&lt;br /&gt;
TABLES&lt;br /&gt;
&lt;br /&gt;
data_tab = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CALL FUNCTION &#39;GUI_DOWNLOAD&#39;&lt;br /&gt;
&lt;br /&gt;
EXPORTING&lt;br /&gt;
&lt;br /&gt;
bin_filesize = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
filename = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
filetype = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
WRITE_FIELD_SEPARATOR = &#39; &#39;&lt;br /&gt;
&lt;br /&gt;
col_select = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
col_select_mask = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
no_auth_check = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
codepage = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
wk1_n_format = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
wk1_n_size = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
wk1_t_format = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
wk1_t_size = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
IMPORTING&lt;br /&gt;
&lt;br /&gt;
filelength = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
TABLES&lt;br /&gt;
&lt;br /&gt;
data_tab = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
fieldnames = &lt;use previous=&quot;&quot; supplied=&quot;&quot; value=&quot;&quot;&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3. Character Strings and Byte Strings&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
The following statements can be used for processing character strings or byte strings.&lt;br /&gt;
&lt;br /&gt;
CONCATENATE, FIND, SEARCH, REPLACE, SHIFT, SPLIT, CONDENSE, CONVERT TEXT, OVERLAY, TRANSLATE.&lt;br /&gt;
&lt;br /&gt;
Research into the data object type used with the above statements must be done to find the appropriate syntax update. If the data object type is CHARACTER, no syntax changes are necessary. The addition IN CHARACTER MODE is made by default with no changes to the code. For example:&lt;br /&gt;
&lt;br /&gt;
The addition IN CHARACTER MODE is not needed.&lt;br /&gt;
&lt;br /&gt;
CONCATENATE x1 x2 INTO result.&lt;br /&gt;
&lt;br /&gt;
If the data object type is BYTE, add the addition IN BYTE MODE. For example:&lt;br /&gt;
&lt;br /&gt;
CONCATENATE x1 x2 INTO result IN BYTE MODE. &lt;br /&gt;
&lt;br /&gt;
=&lt;strong&gt;4. Find Distance of Strings&lt;/strong&gt;&lt;br /&gt;
DESCRIBE...DISTANCE&lt;br /&gt;
&lt;br /&gt;
Research into the data object types used with DESCRIBE...DISTANCE must be done to find the appropriate syntax update.&lt;br /&gt;
&lt;br /&gt;
If the data object type is CHARACTER, use:&lt;br /&gt;
&lt;br /&gt;
DESCRIBE DISTANCE BETWEEN dobj1 AND dobj2 INTO off IN CHARACTER MODE.&lt;br /&gt;
&lt;br /&gt;
If the data object type is BYTE, use:&lt;br /&gt;
&lt;br /&gt;
DESCRIBE DISTANCE BETWEEN dobj1 AND dobj2 INTO off IN BYTE MODE.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Examples&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
OPEN.......TEXT&lt;br /&gt;
&lt;br /&gt;
Non-Unicode&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE.&lt;br /&gt;
&lt;br /&gt;
Unicode&lt;br /&gt;
&lt;br /&gt;
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. &quot; Unicode&lt;br /&gt;
&lt;br /&gt;
Unicode to Replace UPLOAD or WS_UPLOAD&lt;br /&gt;
&lt;br /&gt;
Data: filename TYPE String.&lt;br /&gt;
&lt;br /&gt;
Constants: c_tab TYPE abap_char1 VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;br /&gt;
&lt;br /&gt;
call function &#39;GUI_UPLOAD&#39;&lt;br /&gt;
&lt;br /&gt;
exporting&lt;br /&gt;
&lt;br /&gt;
filename = filename&lt;br /&gt;
&lt;br /&gt;
has_field_separator = c_tab&lt;br /&gt;
&lt;br /&gt;
tables&lt;br /&gt;
&lt;br /&gt;
data_tab = tl_upltext&lt;br /&gt;
&lt;br /&gt;
exceptions&lt;br /&gt;
&lt;br /&gt;
file_open_error = 1&lt;br /&gt;
&lt;br /&gt;
file_write_error = 2&lt;br /&gt;
&lt;br /&gt;
invalid_filesize = 3&lt;br /&gt;
&lt;br /&gt;
invalid_table_width = 4&lt;br /&gt;
&lt;br /&gt;
invalid_type = 5&lt;br /&gt;
&lt;br /&gt;
no_batch = 6&lt;br /&gt;
&lt;br /&gt;
unknown_error = 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CONCATENATE&lt;br /&gt;
&lt;br /&gt;
Non-Unicode&lt;br /&gt;
&lt;br /&gt;
DATA: x1(1) TYPE x,&lt;br /&gt;
&lt;br /&gt;
x2(1) TYPE x,&lt;br /&gt;
&lt;br /&gt;
result(2) TYPE x.&lt;br /&gt;
&lt;br /&gt;
. . .&lt;br /&gt;
&lt;br /&gt;
CONCATENATE x1 x2 INTO result.&lt;br /&gt;
&lt;br /&gt;
Unicode&lt;br /&gt;
&lt;br /&gt;
DATA: x1(1) TYPE x,&lt;br /&gt;
&lt;br /&gt;
x2(1) TYPE x,&lt;br /&gt;
&lt;br /&gt;
result(2) TYPE x.&lt;br /&gt;
&lt;br /&gt;
. . .&lt;br /&gt;
&lt;br /&gt;
CONCATENATE x1 x2 INTO result IN BYTE MODE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIBE&lt;br /&gt;
&lt;br /&gt;
Non-Unicode&lt;br /&gt;
&lt;br /&gt;
DATA: f1(10) TYPE c,&lt;br /&gt;
&lt;br /&gt;
ilen TYPE i.&lt;br /&gt;
&lt;br /&gt;
. . .&lt;br /&gt;
&lt;br /&gt;
DESCRIBE FIELD f1 LENGTH ilen.&lt;br /&gt;
&lt;br /&gt;
Unicode&lt;br /&gt;
&lt;br /&gt;
DATA: f1(10) TYPE c,&lt;br /&gt;
&lt;br /&gt;
ilen TYPE i.&lt;br /&gt;
&lt;br /&gt;
. . .&lt;br /&gt;
&lt;br /&gt;
DESCRIBE FIELD f1 LENGTH ilen IN CHARACTER MODE.&lt;br /&gt;
&lt;br /&gt;
Cheers, &lt;br /&gt;
Sandeep&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/use&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/4493730912626653133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/things-to-look-out-for-unicde.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4493730912626653133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4493730912626653133'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/things-to-look-out-for-unicde.html' title='Things to look out for Unicde Conversion'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-4852795786458302930</id><published>2010-12-05T23:59:00.000+08:00</published><updated>2012-02-01T13:57:28.621+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SAP_Users"/><title type='text'>User types in SAP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;User Type : Dialog &#39;A&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
A normal dialog user is used by one person only for all types of logon.&lt;br /&gt;
&lt;br /&gt;
During a dialog logon, the system checks for expired and initial passwords and provides an option to change the password.Multiple dialog logons are checked and logged if necessary.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;User Type :System &#39;B&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
You use a user of type System for communication without dialog within one system (for RFC or CPIC service users) or for background processing within one system.&lt;br /&gt;
&lt;br /&gt;
Dialog logon is not possible.&lt;br /&gt;
&lt;br /&gt;
A user of this type is excluded from the general settings for password validity. Only the user administrator can change the password using transaction SU01 (Goto -&amp;gt; Change Password).&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;User Type :Communication &#39;C&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
You use a user of type Communication for communication without dialog between systems (for RFC or CPIC service users for various applications, for example, ALE, Workflow, TMS, CUA).&lt;br /&gt;
&lt;br /&gt;
Dialog logon is not possible.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;User Type :Service &#39;S&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
A user of the type Service is a dialog user that is available to an anonymous, larger group of users. Generally, this type of user should only be assigned very restricted authorizations.&lt;br /&gt;
&lt;br /&gt;
For example, service users are used for anonymous system access via an ITS service. Once an individual has been authenticated, a session that started anonymously using a service user can be continued as a personal session using a dialog user.&lt;br /&gt;
&lt;br /&gt;
During logon, the system does not check for expired and initial passwords. Only the user administrator can change the password.&lt;br /&gt;
&lt;br /&gt;
Multiple logon is allowed.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;User Type :Reference &#39;L&#39;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Like the service user, a reference user is a general user, not assigned to a particular person. You cannot log on using a reference user. The reference user is only used to assign additional authorization. Reference users are implemented to equip Internet users with identical authorizations.&lt;br /&gt;
&lt;br /&gt;
On the Roles tab, you can specify a reference user for additional rights for dialog users. Generally, the application controls the allocation of reference users. You can allocate the name of the reference user using variables. The variables should begin with &quot;$&quot;. You assign variables to reference users in transaction SU_REFUSERVARIABLE.&lt;br /&gt;
&lt;br /&gt;
This assignment applies to all systems in a CUA landscape. If the assigned reference user does not exist in one of the CUA child systems, the assignment is ignored.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/4852795786458302930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/user-types-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4852795786458302930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4852795786458302930'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/user-types-in-sap.html' title='User types in SAP'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-693334033303700633</id><published>2010-12-05T23:27:00.000+08:00</published><updated>2012-01-31T16:52:34.128+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALV"/><category scheme="http://www.blogger.com/atom/ns#" term="Spool"/><title type='text'>ABAP: Convert Spool List to ALV Grid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello,&lt;br /&gt;
At times we need to submit programs in background mode(batch jobs) , but the output needs to be displayed in the form of&amp;nbsp;ALVs.&lt;br /&gt;
Here is sample code for the same.&lt;br /&gt;
&lt;br /&gt;
Convert Spool List to ALV Grid &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FUNCTION ztest_conv_spool_list_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot;----------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot;*&quot;Local Interface:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot; IMPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot; REFERENCE(I_SPOOLN) TYPE CHAR10&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot; REFERENCE(I_KEEP_SUM_LINE) TYPE BOOLEAN DEFAULT &#39;X&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot; REFERENCE(I_START_TABLE) TYPE INT4 DEFAULT 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*&quot;----------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;TYPE-POOLS: slis.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;TABLES: tsp01.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: BEGIN OF gtbl_data OCCURS 0,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;data(2048) TYPE c,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;END OF gtbl_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA: BEGIN OF gtbl_col OCCURS 0,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;col(255) TYPE c,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;END OF gtbl_col.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_line TYPE i.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_length TYPE i.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_cnt TYPE i.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_dec TYPE i.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_row(2048) TYPE c. &quot;string.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_row_d(2048) TYPE c. &quot;string.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gv_spoolnum TYPE tsp01-rqident.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gtbl_fieldcat TYPE slis_t_fieldcat_alv.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gstr_fieldcat LIKE LINE OF gtbl_fieldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gstr_data LIKE LINE OF gtbl_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gstr_data_d LIKE LINE OF gtbl_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gtbl_match TYPE match_result_tab.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gtbl_match_last TYPE match_result_tab.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gtbl_fcat TYPE lvc_t_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gstr_fcat LIKE LINE OF gtbl_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gref_data TYPE REF TO data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DATA gref_new_line TYPE REF TO data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIELD-SYMBOLS: &amp;lt;fs_data&amp;gt; TYPE REF TO data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIELD-SYMBOLS: &amp;lt;fs_dyntable&amp;gt; TYPE STANDARD TABLE.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIELD-SYMBOLS: &amp;lt;fs_match&amp;gt; LIKE LINE OF gtbl_match.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIELD-SYMBOLS: &amp;lt;fs_dynline&amp;gt; TYPE ANY.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIELD-SYMBOLS: &amp;lt;fs_dynstruct&amp;gt; TYPE ANY.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Read the spool&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_spoolnum = i_spooln.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL FUNCTION &#39;RSPO_RETURN_ABAP_SPOOLJOB&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;rqident = gv_spoolnum&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;TABLES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;buffer = gtbl_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Pre-check to make sure we have a list&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; simply checking the first char of the&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; first and the last line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE gtbl_data INTO gstr_data INDEX 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-subrc = 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF gstr_data-data(1) &amp;lt;&amp;gt; &#39;-&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MESSAGE &#39;Spool does not contain any ALV list&#39; TYPE &#39;E&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ELSE.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Number of rows&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_line = LINES( gtbl_data ).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Read the last line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE gtbl_data INTO gstr_data INDEX gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-subrc = 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF gstr_data-data(1) &amp;lt;&amp;gt; &#39;-&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MESSAGE &#39;Spool does not contain any ALV list&#39; TYPE &#39;E&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Start with the N table in the spool.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF i_start_table &amp;gt; 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_dec = i_start_table.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SUBTRACT 1 FROM gv_dec.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_dec = gv_dec * 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Find the end of the table N - 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_data INTO gstr_data WHERE data(1) = &#39;-&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ADD 1 TO gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF gv_line = gv_dec.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_dec = sy-tabix.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXIT.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Delete the rows up table N&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DELETE gtbl_data FROM 1 TO gv_dec.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Check how many ALV list are in the spool&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; and make sure if more than one the # of columns are matching&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE gv_line .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_data INTO gstr_data WHERE data(1) = &#39;-&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ADD 1 TO gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_cnt = gv_line MOD 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; The column headings are on odd number in our find counter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF gv_cnt &amp;lt;&amp;gt; 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Save the find counter value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_cnt = gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Update index to point to column heading row and read&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_line = sy-tabix + 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE gtbl_data INDEX gv_line INTO gstr_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_row = gstr_data-data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Find the columns: position and length&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIND ALL OCCURRENCES OF &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&#39; IN gv_row RESULTS gtbl_match.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Compare the previous heading w/ current&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF gtbl_match[] &amp;lt;&amp;gt; gtbl_match_last[] AND sy-tabix &amp;gt; 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MESSAGE &#39;Spool contains more than one ALV list where column headings are different.&#39; TYPE &#39;E&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE: gtbl_match_last, gv_row.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gtbl_match_last[] = gtbl_match[].&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE gtbl_match.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Get back the find counter value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_line = gv_cnt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Read column heading row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE gtbl_data INDEX 2 INTO gstr_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_row = gstr_data-data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Read also the first data row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Here we are assuming tha the first row all fields&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; filled in; will use this to determine mumeric or char&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;READ TABLE gtbl_data INDEX 4 INTO gstr_data_d.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_row_d = gstr_data_d-data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Find out the columns&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FIND ALL OCCURRENCES OF &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&#39; IN gv_row RESULTS gtbl_match.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE: gv_cnt, gv_line.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Setup the field catalog for itab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_match ASSIGNING &amp;lt;fs_match&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-tabix &amp;gt; 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Field length&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_length = &amp;lt;fs_match&amp;gt;offset gv_line + 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Update counter used for column heading&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ADD 1 TO gv_cnt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Used for dynamic itab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fcat-datatype = &#39;C&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fcat-fieldname = gv_cnt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fcat-intlen = gv_length.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fcat-tabname = &#39;&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Debug and you will see why...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SUBTRACT 1 FROM gv_length.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Used for ALV grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fieldcat-reptext_ddic = gv_row+gv_line(gv_length).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fieldcat-tabname = &#39;&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fieldcat-fieldname = gv_cnt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fieldcat-just = &#39;L&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_fieldcat-outputlen = gv_length.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;APPEND gstr_fcat TO gtbl_fcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;APPEND gstr_fieldcat TO gtbl_fieldcat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE: gstr_fcat, gstr_fieldcat, gv_dec.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Start position of next column&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_line = &amp;lt;fs_match&amp;gt;-offset + 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ASSIGN gref_data TO &amp;lt;fs_data&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Create a dynamic table based on the number of columns above&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_fieldcatalog = gtbl_fcat&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ep_table = &amp;lt;fs_data&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;generate_subpool_dir_full = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;OTHERS = 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ASSIGN &amp;lt;fs_data&amp;gt;-&amp;gt;* TO &amp;lt;fs_dyntable&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Create a new mem area&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CREATE DATA gref_new_line LIKE LINE OF &amp;lt;fs_dyntable&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Now point our &amp;lt;FS_*&amp;gt; to the mem area&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ASSIGN gref_new_line-&amp;gt;* TO &amp;lt;fs_dynstruct&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ASSIGN gref_new_line-&amp;gt;* TO &amp;lt;fs_dynline&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Remove column headings that appears in the middle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; which are caused due to spool page-break&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_data INTO gstr_data_d FROM 4 WHERE data = gstr_data-data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DELETE gtbl_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Push data to itab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_data INTO gstr_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; The first 3 rows are col heading related&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF sy-tabix &amp;gt; 3 AND (&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_data-data(2) &amp;lt;&amp;gt; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-&#39; AND &quot; Column heading row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gstr_data-data(2) &amp;lt;&amp;gt; &#39;--&#39; &quot; End of list row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;REPLACE FIRST OCCURRENCE OF &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&#39; IN gstr_data-data WITH space.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;SPLIT gstr_data AT &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&#39; INTO TABLE gtbl_col.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_cnt = 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Split above makes each column to a row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Get each column&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT gtbl_col.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ADD 1 TO gv_cnt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ASSIGN COMPONENT gv_cnt OF STRUCTURE &amp;lt;fs_dynstruct&amp;gt; TO &amp;lt;fs_dynline&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Remove space front/end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CONDENSE gtbl_col-col.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;MOVE gtbl_col-col TO &amp;lt;fs_dynline&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;APPEND &amp;lt;fs_dynstruct&amp;gt; TO &amp;lt;fs_dyntable&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;gv_cnt = 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE: gtbl_col.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;FREE gstr_data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Sum line flag, keep or delete&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF i_keep_sum_line IS INITIAL.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;LOOP AT &amp;lt;fs_dyntable&amp;gt; ASSIGNING &amp;lt;fs_dynline&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;IF &amp;lt;fs_dynline&amp;gt;(1) = &#39;*&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;DELETE &amp;lt;fs_dyntable&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDLOOP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDIF.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; Display&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;CALL FUNCTION &#39;REUSE_ALV_GRID_DISPLAY&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;it_fieldcat = gtbl_fieldcat&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;TABLES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;t_outtab = &amp;lt;fs_dyntable&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ENDFUNCTION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/693334033303700633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/convert-spool-list-to-alv-grid.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/693334033303700633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/693334033303700633'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/12/convert-spool-list-to-alv-grid.html' title='ABAP: Convert Spool List to ALV Grid'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-6611886141712261453</id><published>2010-08-03T00:03:00.001+08:00</published><updated>2012-02-01T13:57:46.423+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="classic g/l"/><category scheme="http://www.blogger.com/atom/ns#" term="new g/l"/><category scheme="http://www.blogger.com/atom/ns#" term="Swap menu"/><title type='text'>NewG/L: Swap view b/w classic and new G/L</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In the higher release systems like ERP 2004 and ECC6.0 , New G/L is available by default.&lt;br /&gt;
If you have activated New G/L in the system and want to switch between different IMG menus , use these Reports.&lt;br /&gt;
&lt;br /&gt;
RFAGL_SWAP_MENU_NEW ==&amp;gt; Activate/Deactivate New Menu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RFAGL_SWAP_MENU_OLD ==&amp;gt;Activate/Deactivate Old Menu&lt;br /&gt;
&lt;br /&gt;
RFAGL_SWAP_IMG_NEW ==&amp;gt; Activate/Deactivate New Implementation Guide&lt;br /&gt;
&lt;br /&gt;
RFAGL_SWAP_IMG_OLD ==&amp;gt; Activate/Deactivate Old Implementation Guide&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/6611886141712261453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/08/swap-view-bw-old-and-new-gl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6611886141712261453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/6611886141712261453'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/08/swap-view-bw-old-and-new-gl.html' title='NewG/L: Swap view b/w classic and new G/L'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3798897792289019967.post-4744471628088238328</id><published>2010-07-25T13:16:00.000+08:00</published><updated>2012-01-31T16:53:02.586+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="custom F4"/><category scheme="http://www.blogger.com/atom/ns#" term="F4 control"/><title type='text'>ABAP: Customized F4 help</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If we use F4 help on one field and want to transfer values for another field on the screen with values based&amp;nbsp; the input field. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;data&amp;nbsp;loto&amp;nbsp;TYPE&amp;nbsp;TABLE&amp;nbsp;OF&amp;nbsp;dselc.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;data&amp;nbsp;ls_loto&amp;nbsp;TYPE&amp;nbsp;dselc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fill DYNPFLD_MAPPING with fieldname and screen-name &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls_loto-fldname&amp;nbsp;=&amp;nbsp;&#39;CARRID&#39;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls_loto-dyfldname&amp;nbsp;=&amp;nbsp;&#39;ABC&#39;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;APPEND&amp;nbsp;ls_loto&amp;nbsp;to&amp;nbsp;loto.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLEAR&amp;nbsp;ls_loto.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls_loto-fldname&amp;nbsp;=&amp;nbsp;&#39;CONNID&#39;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls_loto-dyfldname&amp;nbsp;=&amp;nbsp;&#39;ABCD&#39;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;APPEND&amp;nbsp;ls_loto&amp;nbsp;to&amp;nbsp;loto.&lt;br /&gt;
&lt;br /&gt;
CALL&amp;nbsp;FUNCTION&amp;nbsp;&#39;F4IF_INT_TABLE_VALUE_REQUEST&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;EXPORTING&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;DDIC_STRUCTURE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&#39;SFLIGHT&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;retfield&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&#39;CARRID&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;DYNPPROG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;sy-repid&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;DYNPNR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;sy-dynnr&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;DYNPROFIELD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&#39;ABC&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUE_ORG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&#39;S&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;tables&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value_tab&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;it_sflight&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;FIELD_TAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;lot&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;RETURN_TAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;ret&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;DYNPFLD_MAPPING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;loto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will automatically fill the other field as well (here CONNID).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abaphelpbysandeep.blogspot.com/feeds/4744471628088238328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/07/custom-f4-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4744471628088238328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3798897792289019967/posts/default/4744471628088238328'/><link rel='alternate' type='text/html' href='http://abaphelpbysandeep.blogspot.com/2010/07/custom-f4-help.html' title='ABAP: Customized F4 help'/><author><name>Sandeep Kumar</name><uri>http://www.blogger.com/profile/08996096050122790594</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_IG8-FomI7Xw/TEs__EJJqII/AAAAAAAAAGQ/O0FSzYBmuCc/S220/Picture+282.jpg'/></author><thr:total>0</thr:total></entry></feed>