<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ABAP Tutorials &#187; ABAP</title>
	<atom:link href="http://www.abap-tutorials.com/tag/sap-abap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abap-tutorials.com</link>
	<description>ABAP Tutorials, Guides, Training, Manuals</description>
	<lastBuildDate>Thu, 17 Nov 2011 07:43:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Creating RFC Destinations</title>
		<link>http://www.abap-tutorials.com/2010/04/02/creating-rfc-destinations/</link>
		<comments>http://www.abap-tutorials.com/2010/04/02/creating-rfc-destinations/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 11:41:29 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[RFC]]></category>
		<category><![CDATA[RFC Destination]]></category>
		<category><![CDATA[SM59]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1446</guid>
		<description><![CDATA[We need RFC destination to connect either to non-SAP or SAP data externally from our existing system. To make other systems available for the access, we need to provide an RFC destination in our SAP such that it accesses the external system. To summarise you can communicate via RFC: 1. R/3 -&#62; R/3 2. legacy [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">We need RFC destination to connect either to non-SAP or SAP data externally from our existing system. To make other systems available for the access, we need to provide an RFC destination in our SAP such that it accesses the external system.</p>
<p style="text-align: justify;">To summarise you can communicate via RFC:</p>
<p style="text-align: justify;">1. R/3 -&gt; R/3<br />
2. legacy -&gt; R/3<br />
3. R/3 -&gt; legacy</p>
<div style="text-align: center;">
<div style="width: 100%; float: left;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination.gif"><br />
<img class="aligncenter size-full wp-image-1447" title="RFC Destination" src="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination.gif" alt="" width="337" height="251" /></a></div>
<p style="text-align: justify;"> <span id="more-1446"></span></p>
<p style="text-align: justify;">Following are the steps for defining the RFC destination:</p>
<p style="text-align: justify;">1. In the SAP R/3 window, click the forward arrow to display the navigation box if necessary. Type SM59 into the text field and press ENTER. This displays the RFC Destination Maintenance window.</p>
<p style="text-align: justify;">2. Enter &#8217;3&#8242; in Connection Type , i.e. ABAP Connection. Enter Description of the connection. Enter Target Host Name, System Number and IP address. Press save to save the RFC deatination.</p>
<p style="text-align: center;">
<div style="width: 100%; float: left;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination.jpg"><img class="aligncenter size-full wp-image-1449" title="RFC Destination" src="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination.jpg" alt="" width="368" height="267" /></a></div>
<p style="text-align: justify;"> 3. Click the Test Connection to check the connection link to the remote server. It the settings you specifed is correct, the message specifying it will be shown.</p>
<p style="text-align: center;">
<div style="width: 100%; float: left;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination2.jpg"><img class="aligncenter size-full wp-image-1450" title="rfc_destination2" src="http://www.abap-tutorials.com/wp-content/uploads/2010/04/rfc_destination2.jpg" alt="" width="368" height="267" /></a></div>
<p style="text-align: justify;">RFC deatination is now ready to be used in the programs. </p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"> </p>
</div>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2010/05/12/debugging-rfc-functions-in-sap/' rel='bookmark' title='Debugging RFC functions in SAP'>Debugging RFC functions in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/29/display-oaer-pictures-on-screen/' rel='bookmark' title='ABAP Program to Display OAER pictures on Screen'>ABAP Program to Display OAER pictures on Screen</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/23/advantage-smartform-migrating-sapscript-to-smartforms/' rel='bookmark' title='Advantage Smartform: Migrating SAPScript to Smartforms in SAP'>Advantage Smartform: Migrating SAPScript to Smartforms in SAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/04/02/creating-rfc-destinations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom HR Infotypes Creation</title>
		<link>http://www.abap-tutorials.com/2010/03/21/hr-infotypes-creation/</link>
		<comments>http://www.abap-tutorials.com/2010/03/21/hr-infotypes-creation/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 14:32:16 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[ABAP HR]]></category>
		<category><![CDATA[Module Pool]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[HR infotypes]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1406</guid>
		<description><![CDATA[There are requirements for an ABAP-HR programmer for creating custom HR infotypes. The following PDF shows a walk-through of the steps required to set up custom Infotype from scratch. The steps include creating new Infotype from PM01, to defining structure for it, to defining attributes, till dialog module assignment.     Download link: ABAP HR Infotype [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">There are requirements for an ABAP-HR programmer for creating custom HR infotypes.</p>
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/03/wizard.jpg"><img class="aligncenter size-full wp-image-1407" title="Create Infotype" src="http://www.abap-tutorials.com/wp-content/uploads/2010/03/wizard.jpg" alt="" width="157" height="206" /></a>The following PDF shows a walk-through of the steps required to set up custom Infotype from scratch.</p>
<p style="text-align: justify;">The steps include creating new Infotype from PM01, to defining structure for it, to defining attributes, till dialog module assignment.</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">Download link: <a href="http://www.abap-tutorials.com/wp-content/uploads/pdfs/Infotype_creation.pdf" target="_blank">ABAP HR Infotype Creation</a></p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/11/18/abap-hr-program-to-list-maintained-infotypes-in-sap/' rel='bookmark' title='ABAP HR Program to list maintained Infotypes in SAP'>ABAP HR Program to list maintained Infotypes in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/20/abap-editor-create-custom-pattern/' rel='bookmark' title='ABAP Editor: Create custom Pattern'>ABAP Editor: Create custom Pattern</a></li>
<li><a href='http://www.abap-tutorials.com/2010/01/14/programmers-guide-to-abap-hr/' rel='bookmark' title='Programmer&#8217;s Guide to ABAP HR'>Programmer&#8217;s Guide to ABAP HR</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/03/21/hr-infotypes-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete Reference to ABAP Basics</title>
		<link>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/</link>
		<comments>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 18:16:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Abap Objects]]></category>
		<category><![CDATA[ALV]]></category>
		<category><![CDATA[BDC / LSMW]]></category>
		<category><![CDATA[DDIC]]></category>
		<category><![CDATA[Enhancement/Modification]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Function Modules]]></category>
		<category><![CDATA[Module Pool]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[SAP Query]]></category>
		<category><![CDATA[ABAP Basics]]></category>
		<category><![CDATA[Complete Reference]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1393</guid>
		<description><![CDATA[The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP. This reference guide focuses on following topics: ENTERPRISE RESOURCE PLANNING (ERP) SAP ADVANTAGES Role of ABAPer R/3 ARCHITECTURE COMPONENTS WHAT IS CLIENT IN SAP Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS ABAP GUI DATA DICTIONARY INTERNAL TABLES SUBROUTINES [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP.</p>
<p style="text-align: justify;">
<div style="float: left; width: 100%;"><img class="aligncenter size-full wp-image-1398" title="References" src="http://www.abap-tutorials.com/wp-content/uploads/2010/03/references.jpg" alt="" width="288" height="285" /></div>
</p>
<p style="text-align: justify;">This reference guide focuses on following topics:</p>
<ul>
<li>
<div style="text-align: justify;">ENTERPRISE RESOURCE PLANNING (ERP)</div>
</li>
<li>
<div style="text-align: justify;">SAP ADVANTAGES</div>
</li>
<li>
<div style="text-align: justify;">Role of ABAPer</div>
</li>
<li>
<div style="text-align: justify;">R/3 ARCHITECTURE COMPONENTS</div>
</li>
<li>
<div style="text-align: justify;">WHAT IS CLIENT IN SAP</div>
</li>
<li style="text-align: justify;">Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS</li>
<li style="text-align: justify;">ABAP GUI</li>
<li style="text-align: justify;">DATA DICTIONARY</li>
<li style="text-align: justify;">INTERNAL TABLES</li>
<li style="text-align: justify;">SUBROUTINES</li>
<li style="text-align: justify;">Reports</li>
<li style="text-align: justify;">MODULE POOL PROGRAMMING</li>
<li style="text-align: justify;">Menu Painter</li>
<li style="text-align: justify;">BATCH DATA COMMUNICATION</li>
<li style="text-align: justify;">LSMW ( Legacy System Migration Workbench)</li>
<li style="text-align: justify;">SAPSCRIPTS</li>
<li style="text-align: justify;">SMARTFORMS</li>
</ul>
<p style="text-align: justify;"> <span id="more-1393"></span></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">Link : <a href="http://www.abap-tutorials.com/wp-content/uploads/pdfs/Complete_Reference_to_ABAP_Basics.pdf" target="_blank">Complete Reference to ABAP Basics</a></p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/28/display-se78-pictures-on-screen/' rel='bookmark' title='ABAP Program to Display SE78 pictures on Screen'>ABAP Program to Display SE78 pictures on Screen</a></li>
<li><a href='http://www.abap-tutorials.com/2010/05/07/abap-programs-for-beginners/' rel='bookmark' title='ABAP Programs for Beginners'>ABAP Programs for Beginners</a></li>
<li><a href='http://www.abap-tutorials.com/2009/08/19/lock-objects-in-sap/' rel='bookmark' title='Lock Objects in SAP'>Lock Objects in SAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/03/16/complete-reference-to-abap-basics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change assigned Package in SAP</title>
		<link>http://www.abap-tutorials.com/2010/02/13/change-assigned-package-in-sap/</link>
		<comments>http://www.abap-tutorials.com/2010/02/13/change-assigned-package-in-sap/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 13:57:50 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[reassign Package]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1387</guid>
		<description><![CDATA[ABAP prgrammer sometimes do workout on things locally (Technically, making the object Local in nature). After all the changes done to the object, the object is ready to transport to the next landscape for further testing. Following steps defines how an ABAPer can reassign the Transport Package to the Object to be transported. In this [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">ABAP prgrammer sometimes do workout on things locally (Technically, making the object Local in nature). After all the changes done to the object, the object is ready to transport to the next landscape for further testing.</p>
<p style="text-align: justify;">Following steps defines how an ABAPer can reassign the Transport Package to the Object to be transported.</p>
<p style="text-align: justify;"><span id="more-1387"></span></p>
<p style="text-align: justify;">In this case, lets say, we want to reassign the package to an ABAP program. Following steps defines how to reassign the Package from Local to Transportable.</p>
<p style="text-align: justify;">1. In SE38, enter your program name. </p>
<p style="text-align: justify;">2. Use the menu option &#8220;goto -&gt; object directory entry&#8221;.</p>
<p style="text-align: justify;">3. Click on &#8220;Change&#8221;, and you can enter the new package. You&#8217;ll be prompted for a workbench request number also. The same technique can be used to change packages in other objects.</p>
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/02/reassign_package.jpg"></p>
<div style="width:100%;float:left">
<img class="aligncenter size-full wp-image-1388" title="Reassign Package" src="http://www.abap-tutorials.com/wp-content/uploads/2010/02/reassign_package.jpg" alt="" width="457" height="257" />
</div>
<p></a></p>
<p style="text-align: justify;">You can also use transaction SE03 (or the tools option from SE09/SE10), but access is sometimes restricted.</p>
<p style="text-align: justify;"> </p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/23/transport-sap-table-contents/' rel='bookmark' title='Transport SAP Table contents'>Transport SAP Table contents</a></li>
<li><a href='http://www.abap-tutorials.com/2009/10/20/downloading-pf-statusgui-status-in-sap/' rel='bookmark' title='Downloading PF-Status(GUI Status) in SAP'>Downloading PF-Status(GUI Status) in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/08/07/retrieve-deleted-programs/' rel='bookmark' title='Retrieve Deleted Programs in SAP'>Retrieve Deleted Programs in SAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/02/13/change-assigned-package-in-sap/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ABAP program to create Formatted Excel File using XML</title>
		<link>http://www.abap-tutorials.com/2009/11/18/abap-program-to-create-formatted-excel-using-xml/</link>
		<comments>http://www.abap-tutorials.com/2009/11/18/abap-program-to-create-formatted-excel-using-xml/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 10:39:36 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Abap Objects]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Upload Download]]></category>
		<category><![CDATA[transformation]]></category>
		<category><![CDATA[XML transformation]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1021</guid>
		<description><![CDATA[From release 620, ABAP has provided us a way to transform our data using the XML transformation. We can very use the XML to generate the formatted Excel File. The advantages of the XML technique over the OLE: Using XML technique, File can be generated in Background processing. It would not be possible with OLE [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">From release 620, ABAP has provided us a way to transform our data using the XML transformation. We can very use the XML to generate the formatted Excel File.</p>
<p style="text-align: justify;"><strong>The advantages of the XML technique over the OLE:</strong></p>
<ul style="text-align: justify;">
<li>Using XML technique, File can be generated in Background processing. It would not be possible with OLE technique to generate the Formatted excel file because it needs the active connection with the windows.</li>
<li>Using XML we can send the fancy generated file as an Email Attachment.</li>
<li>We can create formatted excel file using the XML technique from the Web applications generated using Web Dynpro or BSP.</li>
<li style="text-align: justify;">It’s faster when compared to OLE technique.</li>
</ul>
<p style="text-align: justify;"><span id="more-1021"></span></p>
<p style="text-align: justify;"><strong><span style="color: #0000ff;">ABAP Program Code:</span></strong></p>
<p style="text-align: justify;"> </p>
<pre lang="ABAP">*&amp;---------------------------------------------------------------------*
*&amp; Report  ZTEST_NP_EXCEL_XML
*&amp;
*&amp; Download the formatted excel file using XML
*&amp;---------------------------------------------------------------------*

REPORT  ztest_np_excel_xml.

TYPES: BEGIN OF ty_mara,
       matnr TYPE matnr,
       maktx TYPE char30,
       END   OF ty_mara.

DATA: itab TYPE STANDARD TABLE OF ty_mara,
      la_tab LIKE LINE OF itab,
      xmlstr TYPE string.

START-OF-SELECTION.

*---------
* Test table
*---------
  la_tab-matnr = 'TEST1'.
  la_tab-maktx = 'Test description'.
  APPEND la_tab TO itab.

  la_tab-matnr = 'TEST2'.
  la_tab-maktx = 'Test description 2'.
  APPEND la_tab TO itab.

*---------
* Get the XML data excel
*---------
  CALL TRANSFORMATION ztest_np_xls
    SOURCE table = itab
    RESULT XML xmlstr.

*---------
* Download the file
*---------

* Fill the table
  DATA: xml_table TYPE STANDARD TABLE OF string.

  APPEND xmlstr TO xml_table.

  DATA: window_title TYPE string,
        fullpath TYPE string,
        path TYPE string,
        user_action TYPE i,
        default_extension TYPE string,
        default_file_name TYPE string,
        file_filter TYPE  string,
        filename TYPE string,
        initialpath TYPE string.

* File selection
  MOVE '.XLS' TO default_extension.
  MOVE 'XLS files (*.XLS)|*.XLS' TO file_filter.

  CALL METHOD cl_gui_frontend_services=&gt;file_save_dialog
    EXPORTING
      default_extension = default_extension
      default_file_name = default_file_name
      file_filter       = file_filter
      initial_directory = initialpath
    CHANGING
      filename          = filename
      path              = path
      fullpath          = fullpath
      user_action       = user_action
    EXCEPTIONS
      cntl_error        = 1
      error_no_gui      = 2
      OTHERS            = 3.
  IF sy-subrc &lt;&gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

* download file
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      filename                = fullpath
      filetype                = 'ASC'
    TABLES
      data_tab                = xml_table
    EXCEPTIONS
      file_write_error        = 1
      no_batch                = 2
      gui_refuse_filetransfer = 3
      invalid_type            = 4
      OTHERS                  = 5.
  IF sy-subrc &lt;&gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.</pre>
<p><strong><span style="color: #0000ff;">Code for XML Transformation ( Double click on the name ztest_np_xls after statement Call Transformation) :</span></strong><br />
 </p>
<div><span style="font-size: x-small;">&lt;?sap.transform simple?&gt;</span></div>
<div><span style="font-size: x-small;">&lt;?mso-application progid=&#8221;Excel.Sheet&#8221;?&gt;</span></div>
<p><span style="font-size: x-small;">&lt;tt:transform xmlns:tt=&#8221;http://www.sap.com/transformation-templates&#8221;&gt;</span><br />
This test program will generate the formatted excel like this:</p>
<p>&lt;tt:root name=&#8221;table&#8221;/&gt;</p>
<p>&lt;tt:template&gt;</p>
<p>&lt;Workbook xmlns=&#8221;urn:schemas-microsoft-com:office:spreadsheet&#8221; xmlns:o=&#8221;urn:schemas-microsoft-com:office:office&#8221; xmlns:x=&#8221;urn:schemas-microsoft-com:office:excel&#8221; xmlns:ss=&#8221;urn:schemas-microsoft-com:office:spreadsheet&#8221; xmlns:html=</p>
<p>&#8220;http://www.w3.org/TR/REC-html40&#8243;&gt;</p>
<p>&lt;DocumentProperties xmlns=&#8221;urn:schemas-microsoft-com:office:office&#8221;&gt;</p>
<p>&lt;Author&gt;npatel&lt;/Author&gt;</p>
<p>&lt;LastAuthor&gt;npatel&lt;/LastAuthor&gt;</p>
<p>&lt;Created&gt;2009-01-01T22:27:09Z&lt;/Created&gt;</p>
<p>&lt;Company&gt;&lt;/Company&gt;</p>
<p>&lt;Version&gt;11.8132&lt;/Version&gt;</p>
<p>&lt;/DocumentProperties&gt;</p>
<p>&lt;ExcelWorkbook xmlns=&#8221;urn:schemas-microsoft-com:office:excel&#8221;&gt;</p>
<p>&lt;WindowHeight&gt;12660&lt;/WindowHeight&gt;</p>
<p>&lt;WindowWidth&gt;19980&lt;/WindowWidth&gt;</p>
<p>&lt;WindowTopX&gt;480&lt;/WindowTopX&gt;</p>
<p>&lt;WindowTopY&gt;120&lt;/WindowTopY&gt;</p>
<p>&lt;ProtectStructure&gt;False&lt;/ProtectStructure&gt;</p>
<p>&lt;ProtectWindows&gt;False&lt;/ProtectWindows&gt;</p>
<p>&lt;/ExcelWorkbook&gt;</p>
<p>&lt;Styles&gt;</p>
<p>&lt;Style ss:ID=&#8221;Default&#8221; ss:Name=&#8221;Normal&#8221;&gt;</p>
<p>&lt;Alignment ss:Vertical=&#8221;Bottom&#8221;&gt;&lt;/Alignment&gt;</p>
<p>&lt;Borders&gt;&lt;/Borders&gt;</p>
<p>&lt;Font&gt;&lt;/Font&gt;</p>
<p>&lt;Interior&gt;&lt;/Interior&gt;</p>
<p>&lt;NumberFormat/&gt;</p>
<p>&lt;Protection&gt;&lt;/Protection&gt;</p>
<p>&lt;/Style&gt;</p>
<p>&lt;Style ss:ID=&#8221;s23&#8243;&gt;</p>
<p>&lt;Font ss:Bold=&#8221;1&#8243; ss:Size=&#8221;26&#8243; x:Family=&#8221;Swiss&#8221;&gt;&lt;/Font&gt;</p>
<p>&lt;Interior ss:Color=&#8221;#FFFF99&#8243; ss:Pattern=&#8221;Solid&#8221;&gt;&lt;/Interior&gt;</p>
<p>&lt;/Style&gt;</p>
<p>&lt;/Styles&gt;</p>
<p>&lt;Worksheet ss:Name=&#8221;Sheet1&#8243;&gt;</p>
<p>&lt;Table ss:ExpandedColumnCount=&#8221;3&#8243; ss:ExpandedRowCount=&#8221;25&#8243; x:FullColumns=&#8221;1&#8243; x:FullRows=&#8221;1&#8243;&gt;</p>
<p>&lt;Column ss:Width=&#8221;152.25&#8243;/&gt;</p>
<p>&lt;Column ss:Width=&#8221;180&#8243;/&gt;</p>
<p>&lt;Column ss:Width=&#8221;117&#8243;/&gt;</p>
<p>&lt;Row&gt;</p>
<p>&lt;Cell ss:StyleID=&#8221;s23&#8243;&gt;</p>
<p>&lt;Data ss:Type=&#8221;String&#8221;&gt;Material No&lt;/Data&gt;</p>
<p>&lt;/Cell&gt;</p>
<p>&lt;Cell ss:StyleID=&#8221;s23&#8243;&gt;</p>
<p>&lt;Data ss:Type=&#8221;String&#8221;&gt;Material Desc&lt;/Data&gt;</p>
<p>&lt;/Cell&gt;</p>
<p>&lt;/Row&gt;</p>
<p>&lt;tt:loop ref=&#8221;.table&#8221;&gt;</p>
<p>&lt;Row&gt;</p>
<p>&lt;Cell&gt;</p>
<p>&lt;Data ss:Type=&#8221;String&#8221;&gt;</p>
<p>&lt;tt:value ref=&#8221;MATNR&#8221;/&gt;</p>
<p>&lt;/Data&gt;</p>
<p>&lt;/Cell&gt;</p>
<p>&lt;Cell&gt;</p>
<p>&lt;Data ss:Type=&#8221;String&#8221;&gt;</p>
<p>&lt;tt:value ref=&#8221;MAKTX&#8221;/&gt;</p>
<p>&lt;/Data&gt;</p>
<p>&lt;/Cell&gt;</p>
<p>&lt;/Row&gt;</p>
<p>&lt;/tt:loop&gt;</p>
<p>&lt;/Table&gt;</p>
<p>&lt;WorksheetOptions xmlns=&#8221;urn:schemas-microsoft-com:office:excel&#8221;&gt;</p>
<p>&lt;Selected/&gt;</p>
<p>&lt;Panes&gt;</p>
<p>&lt;Pane&gt;</p>
<p>&lt;Number&gt;3&lt;/Number&gt;</p>
<p>&lt;ActiveRow&gt;4&lt;/ActiveRow&gt;</p>
<p>&lt;ActiveCol&gt;1&lt;/ActiveCol&gt;</p>
<p>&lt;/Pane&gt;</p>
<p>&lt;/Panes&gt;</p>
<p>&lt;ProtectObjects&gt;False&lt;/ProtectObjects&gt;</p>
<p>&lt;ProtectScenarios&gt;False&lt;/ProtectScenarios&gt;</p>
<p>&lt;/WorksheetOptions&gt;</p>
<p>&lt;/Worksheet&gt;</p>
<p>&lt;Worksheet ss:Name=&#8221;Sheet2&#8243;&gt;</p>
<p>&lt;WorksheetOptions xmlns=&#8221;urn:schemas-microsoft-com:office:excel&#8221;&gt;</p>
<p>&lt;ProtectObjects&gt;False&lt;/ProtectObjects&gt;</p>
<p>&lt;ProtectScenarios&gt;False&lt;/ProtectScenarios&gt;</p>
<p>&lt;/WorksheetOptions&gt;</p>
<p>&lt;/Worksheet&gt;</p>
<p>&lt;Worksheet ss:Name=&#8221;Sheet3&#8243;&gt;</p>
<p>&lt;WorksheetOptions xmlns=&#8221;urn:schemas-microsoft-com:office:excel&#8221;&gt;</p>
<p>&lt;ProtectObjects&gt;False&lt;/ProtectObjects&gt;</p>
<p>&lt;ProtectScenarios&gt;False&lt;/ProtectScenarios&gt;</p>
<p>&lt;/WorksheetOptions&gt;</p>
<p>&lt;/Worksheet&gt;</p>
<p>&lt;/Workbook&gt;</p>
<p>&lt;/tt:template&gt;</p>
<p>&lt;/tt:transform&gt;</p>
<p> </p>
<p> </p>
<p> The output of the program ( including XML Transormation) is shown below.</p>
<p> <img class="aligncenter size-full wp-image-1026" title="xml_trans" src="http://www.abap-tutorials.com/wp-content/uploads/2009/11/xml_trans1.jpg" alt="xml_trans" width="535" height="309" /></p>
<p> </p>
<p><strong>Note:</strong> It works fine with MS Excel. For others package like Open Office, it wont work.</p>


<p>You might also be interested in these posts:<ol><li><a href='http://www.abap-tutorials.com/2011/08/06/upload-file-from-application-server-into-abap-internal-table-in-sa/' rel='bookmark' title='Upload File from Application Server into ABAP Internal Table in SAP'>Upload File from Application Server into ABAP Internal Table in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/28/edit-alv-grid-contents/' rel='bookmark' title='ABAP Program with Editable ALV Grid Contents'>ABAP Program with Editable ALV Grid Contents</a></li>
<li><a href='http://www.abap-tutorials.com/2011/07/01/sap-abap-transferring-internal-table-contents-to-a-file-on-the-application-server/' rel='bookmark' title='SAP ABAP Transferring Internal Table Contents to a file on the Application Server'>SAP ABAP Transferring Internal Table Contents to a file on the Application Server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2009/11/18/abap-program-to-create-formatted-excel-using-xml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

