<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XXL_FULL_API in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155148#M455268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample program: XXLFTEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2007 09:12:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-30T09:12:49Z</dc:date>
    <item>
      <title>XXL_FULL_API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155146#M455266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What is the use of FM  XXL_FULL_API  ? Is this FM can be used for getting the alv data with colors into excel sheet? Pls help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;praveena.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:02:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155146#M455266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T09:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: XXL_FULL_API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155147#M455267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes this can be used another function module that can be used for the same purpose is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'EXCEL_OLE_STANDARD_DAT'&lt;/P&gt;&lt;P&gt;If you only want to transfer the data to Excel like when you transfer the data from&lt;/P&gt;&lt;P&gt;ALV to Excel simply use the Function Modules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXL_SIMPLE_API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want more modifications when you transfer it to Excel use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXL_FULL_API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often we face situations where we need to download internal table contents onto an Excel sheet. We are familiar with the function module WS_DOWNLOAD. Though this function module downloads the contents onto the Excel sheet, there cannot be any column headings or we cannot differentiate the primary keys just by seeing the Excel sheet.&lt;/P&gt;&lt;P&gt;For this purpose, we can use the function module XXL_FULL_API. The Excel sheet which is generated by this function module contains the column headings and the key columns are highlighted with a different color. Other options that are available with this function module are we can swap two columns or supress a field from displaying on the Excel sheet. The simple code for the usage of this function module is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program code : Run this code&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;REPORT Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;header data................................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;header1 LIKE gxxlt_p-text VALUE 'Suresh',&lt;/P&gt;&lt;P&gt;header2 LIKE gxxlt_p-text VALUE 'Excel sheet'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table for holding the SFLIGHT data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_sflight OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE sflight.&lt;/P&gt;&lt;P&gt;DATA END OF t_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table for holding the horizontal key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_hkey OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE gxxlt_h.&lt;/P&gt;&lt;P&gt;DATA END OF t_hkey .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table for holding the vertical key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_vkey OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE gxxlt_v.&lt;/P&gt;&lt;P&gt;DATA END OF t_vkey .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table for holding the online text....&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_online OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE gxxlt_o.&lt;/P&gt;&lt;P&gt;DATA END OF t_online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to hold print text.............&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_print OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE gxxlt_p.&lt;/P&gt;&lt;P&gt;DATA END OF t_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to hold SEMA data..............&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA BEGIN OF t_sema OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE gxxlt_s.&lt;/P&gt;&lt;P&gt;DATA END OF t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retreiving data from sflight.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT * FROM sflight&lt;/P&gt;&lt;P&gt;INTO TABLE t_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Text which will be displayed online is declared here....&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;t_online-line_no = '1'.&lt;/P&gt;&lt;P&gt;t_online-info_name = 'Created by'.&lt;/P&gt;&lt;P&gt;t_online-info_value = 'KOTHUR SREEKANTH REDDY'.&lt;/P&gt;&lt;P&gt;APPEND t_online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Text which will be printed out..........................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;t_print-hf = 'H'.&lt;/P&gt;&lt;P&gt;t_print-lcr = 'L'.&lt;/P&gt;&lt;P&gt;t_print-line_no = '1'.&lt;/P&gt;&lt;P&gt;t_print-text = 'This is the header'.&lt;/P&gt;&lt;P&gt;APPEND t_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_print-hf = 'F'.&lt;/P&gt;&lt;P&gt;t_print-lcr = 'C'.&lt;/P&gt;&lt;P&gt;t_print-line_no = '1'.&lt;/P&gt;&lt;P&gt;t_print-text = 'This is the footer'.&lt;/P&gt;&lt;P&gt;APPEND t_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Defining the vertical key columns.......&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;t_vkey-col_no = '1'.&lt;/P&gt;&lt;P&gt;t_vkey-col_name = 'MANDT'.&lt;/P&gt;&lt;P&gt;APPEND t_vkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_vkey-col_no = '2'.&lt;/P&gt;&lt;P&gt;t_vkey-col_name = 'CARRID'.&lt;/P&gt;&lt;P&gt;APPEND t_vkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_vkey-col_no = '3'.&lt;/P&gt;&lt;P&gt;t_vkey-col_name = 'CONNID'.&lt;/P&gt;&lt;P&gt;APPEND t_vkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_vkey-col_no = '4'.&lt;/P&gt;&lt;P&gt;t_vkey-col_name = 'FLDATE'.&lt;/P&gt;&lt;P&gt;APPEND t_vkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header text for the data columns................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-row_no = '1'.&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 1.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'PRICE'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 2.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'CURRENCY'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 3.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'PLANETYPE'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 4.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'SEATSMAX'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 5.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'SEATSOCC'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_hkey-col_no = 6.&lt;/P&gt;&lt;P&gt;t_hkey-col_name = 'PAYMENTSUM'.&lt;/P&gt;&lt;P&gt;APPEND t_hkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;populating the SEMA data..........................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;t_sema-col_no = 1.&lt;/P&gt;&lt;P&gt;t_sema-col_typ = 'STR'.&lt;/P&gt;&lt;P&gt;t_sema-col_ops = 'DFT'.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 2.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 3.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 4.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 5.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 6.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 7.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 8.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 9.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_sema-col_no = 10.&lt;/P&gt;&lt;P&gt;t_sema-col_typ = 'NUM'.&lt;/P&gt;&lt;P&gt;t_sema-col_ops = 'ADD'.&lt;/P&gt;&lt;P&gt;APPEND t_sema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'XXL_FULL_API'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DATA_ENDING_AT = 54&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DATA_STARTING_AT = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;filename = 'TESTFILE'&lt;/P&gt;&lt;P&gt;header_1 = header1&lt;/P&gt;&lt;P&gt;header_2 = header2&lt;/P&gt;&lt;P&gt;no_dialog = 'X'&lt;/P&gt;&lt;P&gt;no_start = ' '&lt;/P&gt;&lt;P&gt;n_att_cols = 6&lt;/P&gt;&lt;P&gt;n_hrz_keys = 1&lt;/P&gt;&lt;P&gt;n_vrt_keys = 4&lt;/P&gt;&lt;P&gt;sema_type = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SO_TITLE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data = t_sflight&lt;/P&gt;&lt;P&gt;hkey = t_hkey&lt;/P&gt;&lt;P&gt;online_text = t_online&lt;/P&gt;&lt;P&gt;print_text = t_print&lt;/P&gt;&lt;P&gt;sema = t_sema&lt;/P&gt;&lt;P&gt;vkey = t_vkey&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;cancelled_by_user = 1&lt;/P&gt;&lt;P&gt;data_too_big = 2&lt;/P&gt;&lt;P&gt;dim_mismatch_data = 3&lt;/P&gt;&lt;P&gt;dim_mismatch_sema = 4&lt;/P&gt;&lt;P&gt;dim_mismatch_vkey = 5&lt;/P&gt;&lt;P&gt;error_in_hkey = 6&lt;/P&gt;&lt;P&gt;error_in_sema = 7&lt;/P&gt;&lt;P&gt;file_open_error = 8&lt;/P&gt;&lt;P&gt;file_write_error = 9&lt;/P&gt;&lt;P&gt;inv_data_range = 10&lt;/P&gt;&lt;P&gt;inv_winsys = 11&lt;/P&gt;&lt;P&gt;inv_xxl = 12&lt;/P&gt;&lt;P&gt;OTHERS = 13&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        navjot sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155147#M455267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: XXL_FULL_API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155148#M455268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample program: XXLFTEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155148#M455268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: XXL_FULL_API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155149#M455269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the links,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/b3/eba0f1542811d1895c0000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/b3/eba0f1542811d1895c0000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/Download_to_excel.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/Download_to_excel.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155149#M455269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T09:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: XXL_FULL_API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155150#M455270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navjot sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              I exceuted your code .I am getting some fields in yellow color. (may be key fields) can't we get other than yellow color?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Moreover after saving the file to desktop and tried to reopen it then the colors are not there... why so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;praveena.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xxl-full-api/m-p/2155150#M455270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T09:49:46Z</dc:date>
    </item>
  </channel>
</rss>

