<?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-8505127682376911189</id><updated>2026-07-23T23:05:28.366-07:00</updated><category term="BI7 ABAP code"/><category term="DTP Filter routine"/><category term="BI7 Start routine code"/><category term="Create your own filters in DTP filter routine"/><category term="DTP filter routine example"/><category term="DTP filters in BI"/><category term="FTP commands passing through SAP Selection screen"/><category term="FTP from SAP"/><category term="FTPUSER."/><category term="Fetching source and target details in DTP Filter"/><category term="How to modify code in start routine BI7"/><category term="How to write DTP filter routine?"/><category term="How to write code in BI7 start routine"/><category term="Pivot download"/><category term="SAP ABAP BI"/><category term="SAP FTP"/><category term="SAPFTP"/><category term="Sample code in BI7 start Routine"/><category term="XXL_SIMPLE_API"/><category term="down load data in ABAP"/><category term="excel down load"/><category term="interacting with appplication server in SAP"/><title type='text'>SAP Technical</title><subtitle type='html'>A only blog discussing Technical areas in SAP( ABAP and BI ).</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-2720998040238484652</id><published>2013-12-30T03:13:00.000-08:00</published><updated>2013-12-30T03:16:50.002-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FTP commands passing through SAP Selection screen"/><category scheme="http://www.blogger.com/atom/ns#" term="FTP from SAP"/><category scheme="http://www.blogger.com/atom/ns#" term="FTPUSER."/><category scheme="http://www.blogger.com/atom/ns#" term="interacting with appplication server in SAP"/><category scheme="http://www.blogger.com/atom/ns#" term="SAP ABAP BI"/><category scheme="http://www.blogger.com/atom/ns#" term="SAP FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="SAPFTP"/><title type='text'>SAP - Reading data from Application Server by using File system commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Dear All,&lt;br /&gt;
Welcome back to my blog.&lt;br /&gt;
&lt;br /&gt;
We may get a requirement to read data from Application server. But, if you don&#39;t find proper function Module then, you can simply use steps and get the details from App. Server.&lt;br /&gt;
&lt;br /&gt;
Execute Program RSFTP002: &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/AVvXsEjs995Q4zo3ql8VZwHgGPjCzXlTTAI_pQtHTuuYNjpD-ZqpCGHUqSTQClWmYTZt2p_eHztHbCN1H6fgdBR86WYXSDNoGdmglerx1aizNP50ipKWPh_IjMRypNVwDREgvnylmd8IN4uAq3Y/s1600/FTP+SAP.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs995Q4zo3ql8VZwHgGPjCzXlTTAI_pQtHTuuYNjpD-ZqpCGHUqSTQClWmYTZt2p_eHztHbCN1H6fgdBR86WYXSDNoGdmglerx1aizNP50ipKWPh_IjMRypNVwDREgvnylmd8IN4uAq3Y/s400/FTP+SAP.JPG&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
Will get above selection screen. Here we need to pass below parameters, those are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User -&amp;nbsp; FTP User name&lt;br /&gt;
Password - Password to open FTP server&lt;br /&gt;
Host -&amp;nbsp; IP address of FTP server&lt;br /&gt;
Command1 -&amp;nbsp; Enter FTP Command 1&lt;br /&gt;
Command2 - Enter FTP command 2&lt;br /&gt;
Command3&amp;nbsp; - Enter FTP Command 3&lt;br /&gt;
&lt;br /&gt;
RFC Destination - By default it is SAPFTP - you have to check the name of RFC Destination in your system.&lt;br /&gt;
Compress&amp;nbsp; -&amp;nbsp; N&lt;br /&gt;
&lt;br /&gt;
Command1, Command2, Command3:&lt;br /&gt;
These three options are provided for us to write Unix commands to run on File server system.&lt;br /&gt;
Example Commands are:&lt;br /&gt;
&lt;br /&gt;
Command1&amp;nbsp; -&amp;nbsp; CD&amp;nbsp; &lt;span style=&quot;background-color: red;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #f4cccc;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Dir Name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;Now, system will open Directory in FTP Server.&lt;br /&gt;
Command2 - get &lt;span style=&quot;color: #f4cccc;&quot;&gt;&lt;b&gt;&lt;i&gt;File name&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Properties of File name will be shown with this command.&lt;br /&gt;
&lt;br /&gt;
For other commands refer to Unix File management commands and use it over here. &lt;br /&gt;
&lt;br /&gt;
If you wanted to execute only one command, then you can ignore other two options. It is not mandatory to use all Command Options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you feel it is useful kindly share your feedback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Vamsi Krishna&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/2720998040238484652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/2720998040238484652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/2720998040238484652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/2720998040238484652'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2013/12/sap-reading-data-from-application.html' title='SAP - Reading data from Application Server by using File system commands'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs995Q4zo3ql8VZwHgGPjCzXlTTAI_pQtHTuuYNjpD-ZqpCGHUqSTQClWmYTZt2p_eHztHbCN1H6fgdBR86WYXSDNoGdmglerx1aizNP50ipKWPh_IjMRypNVwDREgvnylmd8IN4uAq3Y/s72-c/FTP+SAP.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-7530588736205683953</id><published>2011-09-03T11:03:00.000-07:00</published><updated>2011-09-03T11:10:02.966-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BI7 ABAP code"/><category scheme="http://www.blogger.com/atom/ns#" term="Create your own filters in DTP filter routine"/><category scheme="http://www.blogger.com/atom/ns#" term="DTP Filter routine"/><category scheme="http://www.blogger.com/atom/ns#" term="DTP filter routine example"/><category scheme="http://www.blogger.com/atom/ns#" term="DTP filters in BI"/><category scheme="http://www.blogger.com/atom/ns#" term="How to write DTP filter routine?"/><title type='text'>DTP filter routine example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;We will get a requirement to write DTP filter routines.&lt;br /&gt;
At that time we need to follow simple steps then, our routine will be ready... :)&lt;br /&gt;
&lt;br /&gt;
Create Routine for selection field in routine.&lt;br /&gt;
Now we need to follow below steps:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;form compute_&lt;field name=&quot;&quot;&gt;&lt;/field&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After this statement we need to implement our own customised code and return l_t_range internal table.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_t_range-sign = &#39;I&#39;. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_t_range-option = &#39;EQ&#39;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_t_range-iobjnm = &#39;0CALDAY&#39;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_t_range-fieldname = &#39;CALDAY&#39;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_t_range-low = &#39;20110101.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_t_range.&lt;br /&gt;
&lt;br /&gt;
That&#39;s it.. it will work for CALDAY.&lt;br /&gt;
&lt;br /&gt;
Make your own code and Pass following Parameters.. then, it will work...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Vamsi.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/7530588736205683953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/7530588736205683953' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/7530588736205683953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/7530588736205683953'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2011/09/dtp-filter-routine-example.html' title='DTP filter routine example'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-1688534173291828399</id><published>2011-09-03T10:19:00.000-07:00</published><updated>2011-09-03T10:19:51.040-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BI7 ABAP code"/><category scheme="http://www.blogger.com/atom/ns#" term="DTP Filter routine"/><category scheme="http://www.blogger.com/atom/ns#" term="Fetching source and target details in DTP Filter"/><title type='text'>How to find Source and Target details in DTP Filter Routine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;When we are writing code in filter routines we may get a requirement to find out InfoSource and Target Info Cube details.&lt;br /&gt;
&lt;br /&gt;
BI7 is designed based on Object Oriented technology. Just copy and paste following code into your filter routine. &lt;br /&gt;
&lt;br /&gt;
* Target InfoProvider&lt;br /&gt;
&amp;nbsp;DATA :&amp;nbsp; I_TGT type RSBKTGTNM,&lt;br /&gt;
&amp;nbsp;&amp;nbsp; s_src type RSBKSRCNM.&lt;br /&gt;
&lt;br /&gt;
* get target details&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL METHOD i_r_request-&amp;gt;GET_TGT&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECEIVING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R_TGT = I_TGT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* get Source details&lt;br /&gt;
&amp;nbsp;&amp;nbsp; CALL METHOD i_r_request-&amp;gt;GET_SRC&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECEIVING&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R_SRC = S_SRC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please watch this blog for more updates on BI7.&lt;br /&gt;
&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://sapatvams.blogspot.com/feeds/1688534173291828399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/1688534173291828399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1688534173291828399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1688534173291828399'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2011/09/how-to-find-source-and-target-details.html' title='How to find Source and Target details in DTP Filter Routine'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-564579393732231709</id><published>2011-08-13T10:53:00.000-07:00</published><updated>2011-08-13T10:57:36.412-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BI7 Start routine code"/><category scheme="http://www.blogger.com/atom/ns#" term="How to modify code in start routine BI7"/><category scheme="http://www.blogger.com/atom/ns#" term="How to write code in BI7 start routine"/><category scheme="http://www.blogger.com/atom/ns#" term="Sample code in BI7 start Routine"/><title type='text'>How to write code in start routine -  BI7?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Unlike BW3.5, will have different structures in BI7.&lt;br /&gt;
Basically BI7.O follows OOPs concepts. Here, you can find methods and classes.&lt;br /&gt;
&lt;br /&gt;
We have all the information in single page. Top of the screen we can find declaration of all Variables.&lt;br /&gt;
&lt;br /&gt;
Now need to search for method with Start_Routine. At there we can see &quot;Insert your comment&quot;&lt;br /&gt;
&lt;br /&gt;
Here instead of DATA_PACKAGE we need to use SOURCE_PACKAGE.&lt;br /&gt;
&lt;br /&gt;
Code looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;loop at SOURCE_PACKAGE&amp;nbsp; assigning &amp;lt;source_package&amp;gt;&lt;source_package&gt;&lt;source_package&gt;.&lt;/source_package&gt;&lt;/source_package&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;* modify data in structure &amp;lt;source_package&amp;gt;&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;b&gt;&lt;source_package&gt;&lt;/source_package&gt;&lt;/b&gt;&lt;i&gt; &lt;source_package&gt; that will automatically effects in the target structure.&lt;/source_package&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;endloop.&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/564579393732231709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/564579393732231709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/564579393732231709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/564579393732231709'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2011/08/how-to-write-code-in-start-routine-bi7.html' title='How to write code in start routine -  BI7?'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-2492790166400156386</id><published>2010-09-27T22:31:00.000-07:00</published><updated>2010-09-27T22:42:02.900-07:00</updated><title type='text'>Clubbing all Data packages into together an processing as one data packet</title><content type='html'>Hi Friends,&lt;br /&gt;    We may get requirement that, you need to club all the data package data into one internal table in start routine and then after if you want to send it to further targets.. :) Is it Possible in BW?&lt;br /&gt;Yes It is Possible. Stop all the data packets and process them in one sequence is possible.&lt;br /&gt;   In BW 3.5 We can club all data packets together into one data packet in start routine.&lt;br /&gt;            In Start routine we can club all the data packet data into one internal table, then after you can send this internal table for further processing.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Logic to stop data packets:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;  DATA:  packet_nbr TYPE i VALUE 1.&lt;br /&gt;&lt;br /&gt;DATA:   y_requnr TYPE rsrequnr.&lt;br /&gt;&lt;br /&gt;DATA:  Is_rec        TYPE string VALUE &#39;G_S_IS-RECNO&#39;,&lt;br /&gt;              is_requnr    TYPE string VALUE &#39;G_S_MINFO-REQUNR&#39;,&lt;br /&gt;              it_rsmonfact TYPE STANDARD TABLE OF ls_rsmonfact&lt;br /&gt; FIELD-SYMBOLS: &lt;f1&gt; TYPE ANY,&lt;br /&gt;                                  &lt;y_requnr&gt; TYPE ANY.&lt;br /&gt; ASSIGN (is_requnr) TO &lt;y_requnr&gt;.&lt;br /&gt;&lt;br /&gt;  SELECT dp_nr FROM rsmonfact&lt;br /&gt;                          INTO TABLE it_rsmonfact&lt;br /&gt;                          WHERE rnr = &lt;g_requnr&gt;.&lt;br /&gt;&lt;br /&gt;   DESCRIBE TABLE it_rsmonfact LINES v_packet_max.&lt;br /&gt;&lt;br /&gt;  IF v_packet_nbr &lt; v_packet_max.&lt;br /&gt;     APPEND LINES OF DATA_PACKAGE[] TO lt_data_package_collect[].&lt;br /&gt;     CLEAR: DATA_PACKAGE.&lt;br /&gt;    REFRESH DATA_PACKAGE.&lt;br /&gt;     v_packet_nbr = v_packet_nbr + 1.&lt;br /&gt;&lt;br /&gt;    CLEAR: MONITOR[], MONITOR.&lt;br /&gt;    MONITOR-msgid = &#39;00&#39;.&lt;br /&gt;    MONITOR-msgty = &#39;I&#39;.&lt;br /&gt;    MONITOR-msgno = &#39;398&#39;.&lt;br /&gt;    MONITOR-msgv1 = &#39;All data_packages have been gathered in one. &#39;.&lt;br /&gt;    MONITOR-msgv2 = &#39;The last DATA_PACKAGE contains all records.&#39;.&lt;br /&gt;    APPEND MONITOR.&lt;br /&gt;&lt;br /&gt;  ELSE.&lt;br /&gt; last data_package =&gt; perform Business Rules.&lt;br /&gt;    IF v_packet_max &gt; 1.&lt;br /&gt;       APPEND LINES OF DATA_PACKAGE[] TO lt_data_package_collect[].&lt;br /&gt;       CLEAR: DATA_PACKAGE[], DATA_PACKAGE.&lt;br /&gt;  Write your logic @ here....&lt;br /&gt;&lt;br /&gt;   ENDIF.&lt;br /&gt;ENDIF.</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/2492790166400156386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/2492790166400156386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/2492790166400156386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/2492790166400156386'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2010/09/clubbing-all-data-packages-into.html' title='Clubbing all Data packages into together an processing as one data packet'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-1039053497099958014</id><published>2010-09-16T22:22:00.000-07:00</published><updated>2010-09-16T22:45:27.280-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="down load data in ABAP"/><category scheme="http://www.blogger.com/atom/ns#" term="excel down load"/><category scheme="http://www.blogger.com/atom/ns#" term="Pivot download"/><category scheme="http://www.blogger.com/atom/ns#" term="XXL_SIMPLE_API"/><title type='text'>Dwonloading internal table into Pivot table using function moudle XXL_SIMPLE_API</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-ldRre3IhWPNZR4Je5qOElK_aqccvOCFyOSmwrnuElYm1jXgTlGJv5iUTJnuhei1x6jh0Pj_pYPGpK9DIv2vbXvnOWvencUUp5liBL7n0XqfKaT4AuYcJWCkMXV_iF9TFR4ymhyphenhyphenulWE/s1600/Pivot2.bmp&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5517754228850986306&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 256px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-ldRre3IhWPNZR4Je5qOElK_aqccvOCFyOSmwrnuElYm1jXgTlGJv5iUTJnuhei1x6jh0Pj_pYPGpK9DIv2vbXvnOWvencUUp5liBL7n0XqfKaT4AuYcJWCkMXV_iF9TFR4ymhyphenhyphenulWE/s320/Pivot2.bmp&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;Hi Friends,&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now we are discussing on how to download the data from internal table &lt;strong&gt;Excel&lt;/strong&gt; in &lt;strong&gt;tabular format&lt;/strong&gt; or &lt;strong&gt;Pivot table Format &lt;/strong&gt;by using Function Moule &quot;XXL_SIMPLE_API&quot;.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Here i am sharing you the example program:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;EPORT ZDOWNLOAD_PIVOT.&lt;br /&gt;&lt;/strong&gt;data : begin of it_data occurs 0,&lt;br /&gt;vbeln type vbeln_va,&lt;br /&gt;posnr type posnr_va,&lt;br /&gt;matnr type matnr,&lt;br /&gt;NETPR type NETPR,&lt;br /&gt;end of it_data.&lt;br /&gt;&lt;br /&gt;DATA : &quot; XXL_SIMPLE_API parameters and tables&lt;br /&gt;y_filename LIKE gxxlt_f-file, &quot; File name on the workstation&lt;br /&gt;y_header LIKE gxxlt_p-text, &quot; XXL interface: texts for printing a list&lt;br /&gt;y_wa_col_text TYPE gxxlt_v,&lt;br /&gt;y_it_col_text TYPE TABLE OF gxxlt_v, &quot; Headings for DATA columns&lt;br /&gt;y_wa_online_text TYPE gxxlt_o,&lt;br /&gt;y_it_online_text TYPE TABLE OF gxxlt_o, &quot; Table with online texts&lt;br /&gt;y_wa_print_text TYPE gxxlt_p,&lt;br /&gt;y_it_print_text TYPE TABLE OF gxxlt_p. &quot; Table with print texts&lt;br /&gt;&lt;br /&gt;*Selction Screen Options&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS s_vbeln FOR it_data-vbeln.&lt;br /&gt;&lt;br /&gt;*Retriving data&lt;br /&gt;&lt;br /&gt;SELECT * from vbap INTO CORRESPONDING FIELDS OF TABLE it_data where vbeln IN s_vbeln.&lt;br /&gt;&lt;br /&gt;IF sy-subrc NE 0.&lt;br /&gt;&lt;br /&gt;MESSAGE &#39;No Data&#39; TYPE &#39;I&#39;.&lt;br /&gt;&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;y_filename = &#39;download.xls&#39;.&lt;br /&gt;y_header = text-001. &quot; Header Information &quot;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#000099;&quot;&gt;* Column Headings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;y_wa_col_text-col_no = &#39;1&#39;.&lt;br /&gt;y_wa_col_text-col_name = &#39;Sales Order Number&#39;.&lt;br /&gt;&lt;br /&gt;APPEND y_wa_col_text TO y_it_col_text.&lt;br /&gt;&lt;br /&gt;y_wa_col_text-col_no = &#39;2&#39;.&lt;br /&gt;y_wa_col_text-col_name = &#39;Item Number&#39;.&lt;br /&gt;APPEND y_wa_col_text TO y_it_col_text.&lt;br /&gt;&lt;br /&gt;y_wa_col_text-col_no = &#39;3&#39;.&lt;br /&gt;y_wa_col_text-col_name = &#39;Material&#39;.&lt;br /&gt;APPEND y_wa_col_text TO y_it_col_text.&lt;br /&gt;&lt;br /&gt;y_wa_col_text-col_no = &#39;4&#39;.&lt;br /&gt;y_wa_col_text-col_name = &#39;Net Price&#39;.&lt;br /&gt;APPEND y_wa_col_text TO y_it_col_text.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#330099;&quot;&gt;* Calling a function module to down load the data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &lt;strong&gt;&#39;XXL_SIMPLE_API&#39;&lt;/strong&gt;&lt;br /&gt;EXPORTING&lt;br /&gt;filename = y_filename&lt;br /&gt;header = y_header &quot; Heading&lt;br /&gt;n_key_cols = 1 &quot; Number of (hierarchical) key columns&lt;br /&gt;TABLES&lt;br /&gt;col_text = y_it_col_text&lt;br /&gt;data = it_data&lt;br /&gt;online_text = y_it_online_text&lt;br /&gt;print_text = y_it_print_text&lt;br /&gt;EXCEPTIONS&lt;br /&gt;dim_mismatch_data = 1 &quot; Non-present DATA column is referenced&lt;br /&gt;file_open_error = 2 &quot; File FILENAME cannot be opened&lt;br /&gt;file_write_error = 3 &quot; File FILENAME cannot be written to&lt;br /&gt;inv_winsys = 4 &quot; Wrong window system, DOS windows required&lt;br /&gt;inv_xxl = 5 &quot; Installation at the frontend incorrect&lt;br /&gt;OTHERS = 6.&lt;br /&gt;IF sy-subrc &lt;&gt; 0.&lt;br /&gt;* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;br /&gt;* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;br /&gt;ENDIF.&lt;br /&gt;*******************************************************************&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;After that you need to save and activate it.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/1039053497099958014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/1039053497099958014' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1039053497099958014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1039053497099958014'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2010/09/dwonloading-internal-table-into-pivot.html' title='Dwonloading internal table into Pivot table using function moudle XXL_SIMPLE_API'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-ldRre3IhWPNZR4Je5qOElK_aqccvOCFyOSmwrnuElYm1jXgTlGJv5iUTJnuhei1x6jh0Pj_pYPGpK9DIv2vbXvnOWvencUUp5liBL7n0XqfKaT4AuYcJWCkMXV_iF9TFR4ymhyphenhyphenulWE/s72-c/Pivot2.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-6284748528753138808</id><published>2010-09-01T22:16:00.000-07:00</published><updated>2010-09-01T22:20:47.488-07:00</updated><title type='text'>“Error generating the test frame” In SE37</title><content type='html'>Normally when we are executing some function modules (through SE37) we will get some kind of error like “Error generating the test frame”.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;:&lt;br /&gt;This error will come when we have complex parameters in the Function modules.&lt;br /&gt;Test environment of function builder can’t represent these parameters in the import tab (in input) For example : generic data types, Strings, xstrings, Object references.&lt;br /&gt;&lt;br /&gt;For more information on this check SAP OSS notes.&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;u&gt;Regards,&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;color:#660000;&quot;&gt;Vamsi&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/6284748528753138808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/6284748528753138808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/6284748528753138808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/6284748528753138808'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2010/09/error-generating-test-frame-in-se37.html' title='“Error generating the test frame” In SE37'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-1139111440885763801</id><published>2010-08-30T21:05:00.000-07:00</published><updated>2010-08-30T21:08:18.131-07:00</updated><title type='text'>BAPI - Overview</title><content type='html'>&lt;em&gt;&lt;span style=&quot;color:#990000;&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;strong&gt;BAPI &lt;/strong&gt;– Business Application Interface&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;.&lt;br /&gt; BAPI’s are defined in business object repository as methods on SAP business Objects.&lt;br /&gt;These are enables the object oriented view on R/3 application modules and thus basis for the R/3 business frame work development. Because of their open and defined interfaces, these are also used by other applications like Visual Basic etc.&lt;br /&gt;          To check BAPI based application wise you need to use the T.code called BAPI.&lt;br /&gt;Here you can find the information of all the BAPI’s by Application area.&lt;br /&gt;Example:&lt;br /&gt;            Like if you are looking for a BAPI for Sales Order change in Sales and Distribution area, then, In left side pane Go to Sales and Distribution à Sales à ChangeFromData (method)&lt;br /&gt;            Will get the function module BAPI_SALESORDER_CHANGE, always BAPI function modules are Remote enabled and used in events.&lt;br /&gt;&lt;br /&gt;You can see the Documentation for this on Documentation tab.&lt;br /&gt;&lt;br /&gt;The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. For doing this we have to use another BAPI function module, BAPI_TRANSACTION_COMMIT BAPI.</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/1139111440885763801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/1139111440885763801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1139111440885763801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/1139111440885763801'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2010/08/bapi-overview.html' title='BAPI - Overview'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-4607081059625955754</id><published>2010-08-29T19:34:00.000-07:00</published><updated>2010-08-29T19:39:27.648-07:00</updated><title type='text'>How to activate External Debugger</title><content type='html'>When we wanted to debug a web page then we need an external debugger to be activated. Other wise we can&#39;t debug that session with session debugger (normally we will use seesion debugger). For using external debugger we need to follow below steps:&lt;br /&gt;&lt;br /&gt;In T.code SE38, In Menu Go To&lt;strong&gt; --&gt;&lt;/strong&gt; Utilities à Settings &lt;strong&gt;--&gt;&lt;/strong&gt; ABAP Editor&lt;strong&gt; --&gt;&lt;/strong&gt;Debugging Use check mark on Active and provide user id. If the same user id is used in multiple systems and if want to stop only in one system then you can use option called IP matching.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;&lt;span style=&quot;color:#6666cc;&quot;&gt;Regards,&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;Vamsi&lt;/strong&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/4607081059625955754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/4607081059625955754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/4607081059625955754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/4607081059625955754'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2010/08/when-we-wanted-to-debug-web-page-then.html' title='How to activate External Debugger'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-7091488489639499867</id><published>2009-08-30T21:05:00.000-07:00</published><updated>2009-08-30T22:07:27.619-07:00</updated><title type='text'>Fetching the data from Memory in SAP</title><content type='html'>&lt;span style=&quot;color:#9999ff;&quot;&gt;&lt;span style=&quot;color:#cc33cc;&quot;&gt;&lt;em&gt;Fetching the data from memory means, we may get a requirement that we need to submit any report with return option.In those cases we need to get the out put of that particular report. At that time, we can use the following piece of code in our program, that will retrieve the data from memory and stored in the internal table.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SUBMIT &lt;&gt;&lt;br /&gt;USING SELECTION-SET &lt;&gt;&lt;br /&gt;EXPORTING LIST TO MEMORY&lt;br /&gt;AND RETURN.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff6666;&quot;&gt;&lt;strong&gt;&lt;u&gt;Step 1&lt;/u&gt;:&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;We can use List_from_memory Function module to fetch the data from memory:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*Import the data into one internal table&lt;br /&gt;CALL FUNCTION &#39;LIST_FROM_MEMORY&#39;&lt;br /&gt;TABLES&lt;br /&gt;listobject = y_i_abaplist&lt;br /&gt;EXCEPTIONS&lt;br /&gt;not_found = 1&lt;br /&gt;OTHERS = 2.&lt;br /&gt;IF sy-subrc NE 0.&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span color=&quot;#ff6666&quot;&gt;&lt;u&gt;Step2 &lt;/u&gt;:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Now we need to convert it into internal format. That data from above function module is in ascii format.&lt;br /&gt;&lt;br /&gt;*Convert to ASCII format&lt;br /&gt;IF NOT y_i_abaplist[] IS INITIAL.&lt;br /&gt;CALL FUNCTION &#39;LIST_TO_ASCI&#39;&lt;br /&gt;TABLES&lt;br /&gt;listasci = y_i_ascilist&lt;br /&gt;listobject = y_i_abaplist&lt;br /&gt;EXCEPTIONS&lt;br /&gt;empty_list = 1&lt;br /&gt;list_index_invalid = 2&lt;br /&gt;OTHERS = 3.&lt;br /&gt;IF sy-subrc = 0.&lt;br /&gt;ENDIF.&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;ENDFORM. &quot; y_f_liste&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the out put internal we will get the out put of internal table y_i_abaplist.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Have a good day.... :)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#cc33cc;&quot;&gt;Thank U.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;font-size:130%;color:#990000;&quot;&gt;&lt;strong&gt;&lt;em&gt;Vamsi.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/7091488489639499867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/7091488489639499867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/7091488489639499867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/7091488489639499867'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2009/08/fetching-data-from-memory-in-sap.html' title='Fetching the data from Memory in SAP'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-659359354093547344</id><published>2009-07-20T04:19:00.000-07:00</published><updated>2010-08-29T20:11:32.851-07:00</updated><title type='text'>Creating Search Helps by vams</title><content type='html'>Search Helps :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Search Helps are nothing but, F4 helps in SAP system.&lt;/li&gt;&lt;li&gt;Search helps are two types : &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;a) Elementary Search Helps&lt;/p&gt;&lt;p&gt;and b) &lt;/p&gt;&lt;p&gt;Elementary Search Helps :&lt;/p&gt;&lt;p&gt;GoTo T.Code &lt;strong&gt;SE11&lt;/strong&gt;, Click the radio button Search Help and enter the name and create.&lt;/p&gt;&lt;p&gt;Provide description.&lt;/p&gt;&lt;p&gt;Enter the data Source name i.e., iether table or view.&lt;/p&gt;&lt;p&gt;In the fields section, enter all the required fields along with SPOS field.&lt;/p&gt;&lt;p&gt;Once every thing is over activate it and test at there only.&lt;/p&gt;&lt;p&gt;Now we will get the required search option on the particular field.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thanks and Regards&lt;/p&gt;&lt;p&gt;Vamsi.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/659359354093547344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/659359354093547344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/659359354093547344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/659359354093547344'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2009/07/creating-search-helps.html' title='Creating Search Helps by vams'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-6828061356234412594</id><published>2009-06-05T05:31:00.000-07:00</published><updated>2009-08-30T21:05:37.123-07:00</updated><title type='text'>Wroking With Filed Symbols</title><content type='html'>Many People affraid in writing the code with field symbols.&lt;br /&gt;It&#39;s very simple. Field symbols are directly point to memory. So, If we modified the data in the field symbols it will directly effect to the memory.&lt;br /&gt;Syntax : FIELD-SYMBOLS : &lt;var1&gt;TYPE &lt;data&gt;.&lt;br /&gt;Use ASSIGNIG statement to use field symbols.&lt;br /&gt;Eg:&lt;br /&gt;&lt;strong&gt;Declaration&lt;/strong&gt;:&lt;br /&gt;TYPES : BEGIN OF ty_itab,&lt;br /&gt;A type N,&lt;br /&gt;B type i,&lt;br /&gt;C type i,&lt;br /&gt;D type i,&lt;br /&gt;END OF ty_itab.&lt;br /&gt;&lt;br /&gt;FIELD-SYMBOLS :  &lt; wa &gt; type ty_itab.&lt;br /&gt;data : itab type standrad table of ty_itab.&lt;br /&gt;now we can use this in the program.&lt;br /&gt;Requirement is to calculate the value of d value from the itab table.&lt;br /&gt;d = b + c.&lt;br /&gt;LOOP AT itab ASSIGNING &lt; wa &gt;.&lt;br /&gt;&lt; wa &gt;-d = &lt; wa &gt;-b + &lt; wa &gt;-c.&lt;br /&gt;*Here no need to write modify statement. Beacuse &lt; wa &gt;is a field symbol and it is pointing to memory of itab. If you modified &lt; wa &gt;, It automatically effected to the internal table itab.&lt;br /&gt;ENDLOOP.</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/6828061356234412594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/6828061356234412594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/6828061356234412594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/6828061356234412594'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2009/06/wroking-with-filed-symbols.html' title='Wroking With Filed Symbols'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8505127682376911189.post-3522754171379902860</id><published>2008-05-14T00:48:00.001-07:00</published><updated>2008-05-17T03:18:49.040-07:00</updated><title type='text'>Sending mails from your application</title><content type='html'>Hello Friends,&lt;br /&gt;&lt;br /&gt;Most of the times will get the requirement on this.&lt;br /&gt;There are some predefined function modules to send the mail from SAP application.&lt;br /&gt;Here i am explaining about the Function module &#39;SO_NEW_DOCUMENT_ATT_SEND_API1&#39;.&lt;br /&gt;In this Function Module we need to pass some parameters,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &#39;SO_NEW_DOCUMENT_ATT_SEND_API1&#39;&lt;br /&gt;EXPORTING&lt;br /&gt;DOCUMENT_DATA = Z_DOC_DATA&lt;br /&gt;PUT_IN_OUTBOX = &#39;X&#39;&lt;br /&gt;COMMIT_WORK = &#39;X&#39;&lt;br /&gt;&lt;br /&gt;TABLES&lt;br /&gt;PACKING_LIST = Z_TAB_PACK&lt;br /&gt;* OBJECT_HEADER =&lt;br /&gt;* CONTENTS_BIN =&lt;br /&gt;CONTENTS_TXT = Z_TAB_TXT&lt;br /&gt;* CONTENTS_HEX =&lt;br /&gt;* OBJECT_PARA =&lt;br /&gt;* OBJECT_PARB =&lt;br /&gt;RECEIVERS = Z_TAB_REC&lt;br /&gt;* EXCEPTIONS&lt;br /&gt;* TOO_MANY_RECEIVERS = 1&lt;br /&gt;* DOCUMENT_NOT_SENT = 2&lt;br /&gt;* DOCUMENT_TYPE_NOT_EXIST = 3&lt;br /&gt;* OPERATION_NO_AUTHORIZATION = 4&lt;br /&gt;* PARAMETER_ERROR = 5&lt;br /&gt;* X_ERROR = 6&lt;br /&gt;* ENQUEUE_ERROR = 7&lt;br /&gt;* OTHERS = 8&lt;br /&gt;.&lt;br /&gt;IF SY-SUBRC &lt;&gt; 0.&lt;br /&gt;* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;br /&gt;* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here&lt;br /&gt;DOCUMENT_DATA is a structure ,&lt;br /&gt;&lt;br /&gt;Z_DOC_DATA-DOC_SIZE = ( Z_TAB_LINES - 1 ) * 255 + STRLEN( Z_TAB_TXT ).&lt;br /&gt;Z_DOC_DATA-OBJ_LANGU = SY-LANGU.&lt;br /&gt;Z_DOC_DATA-OBJ_NAME = &#39;XYZ&#39;.&lt;br /&gt;Z_DOC_DATA-OBJ_DESCR = Z_V_SUB. &quot; Subject line&lt;br /&gt;Z_DOC_DATA-SENSITIVTY = &#39;F&#39;.&lt;br /&gt;&lt;br /&gt;&lt;span color=&quot;#ffcc66&quot;&gt;There is a table called PACKING_LIST,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CLEAR : Z_TAB_PACK.&lt;br /&gt;REFRESH : Z_TAB_PACK.&lt;br /&gt;Z_TAB_PACK-TRANSF_BIN = SPACE.&lt;br /&gt;Z_TAB_PACK-HEAD_START = 1.&lt;br /&gt;Z_TAB_PACK-HEAD_NUM = 0.&lt;br /&gt;Z_TAB_PACK-BODY_START = 1.&lt;br /&gt;Z_TAB_PACK-DOC_TYPE = &#39;RAW&#39;.&lt;br /&gt;DESCRIBE TABLE Z_TAB_TXT LINES Z_TAB_PACK-BODY_NUM.&lt;br /&gt;APPEND Z_TAB_PACK.&lt;br /&gt;Then Recivers are :&lt;br /&gt;&lt;br /&gt;* Add the recipients email address&lt;br /&gt;CLEAR : Z_TAB_REC.&lt;br /&gt;REFRESH : Z_TAB_REC.&lt;br /&gt;Z_TAB_REC-RECEIVER = Z_V_EMAIL.&lt;br /&gt;Z_TAB_REC-REC_TYPE = &#39;U&#39;.&lt;br /&gt;Z_TAB_REC-COM_TYPE = &#39;INT&#39;.&lt;br /&gt;Z_TAB_REC-NOTIF_DEL = &#39;X&#39;.&lt;br /&gt;Z_TAB_REC-NOTIF_NDEL = &#39;X&#39;.&lt;br /&gt;APPEND Z_TAB_REC.&lt;br /&gt;You can send a mail to n number of recievers.&lt;br /&gt;If you passed these parameters you will get the mail.&lt;br /&gt;If you are not getting the mail, just run the BASIS transaction SCOT.&lt;br /&gt;&lt;br /&gt;Then, Immediatly you will get the mail in to your mail box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks to all.&lt;br /&gt;&lt;br /&gt;Please don&#39;t forget drop comments, Then only i can post more reliable</content><link rel='replies' type='application/atom+xml' href='http://sapatvams.blogspot.com/feeds/3522754171379902860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8505127682376911189/3522754171379902860' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/3522754171379902860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8505127682376911189/posts/default/3522754171379902860'/><link rel='alternate' type='text/html' href='http://sapatvams.blogspot.com/2008/05/sending-mails-from-your-application.html' title='Sending mails from your application'/><author><name>Vams</name><uri>http://www.blogger.com/profile/05919090425696107219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIKUIFIZOAX1MXnZ-681sSGyCOCjmi-tvqjcNaB1YTluA15mp5oQ0pq9heLUuKrzRXjKp-VsHG42_nU4PimDYRL7IEmSH0b6DCozIb50LnlvJ2WzthWMg-gr8SA3RNS28/s220/DSC01784.JPG'/></author><thr:total>2</thr:total></entry></feed>