<?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 Sample code for XXL_SIMPLE_API FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316771#M1028813</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;Can anybody send me sample code for " XXL_SIMPLE_API" function module how to use this in our program to download internal table data to excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2008 05:09:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-22T05:09:49Z</dc:date>
    <item>
      <title>Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316771#M1028813</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;Can anybody send me sample code for " XXL_SIMPLE_API" function module how to use this in our program to download internal table data to excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316771#M1028813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316772#M1028814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links for complete infromation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCABA/BCABAXXL.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCABA/BCABAXXL.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/pt/b3/eba0f1542811d1895c0000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/pt/b3/eba0f1542811d1895c0000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316772#M1028814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316773#M1028815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want sample code of this Fm, Help me plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Chandar on Aug 22, 2008 7:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316773#M1028815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316774#M1028816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any body help me in this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 06:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316774#M1028816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T06:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316775#M1028817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at report XXLSTEST in se38. May b hepful for you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 06:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316775#M1028817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code for XXL_SIMPLE_API FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316776#M1028818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have below code and tested it, its working fine, but one proble m is there.&lt;/P&gt;&lt;P&gt;I have given C:\test.xls path in variable w_file and passed in exporting paramete filename. But if we execute its not going to specified path,  then it directly asking to save.&lt;/P&gt;&lt;P&gt;can anybody help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Z_EXCEL_FORMAT.&lt;/P&gt;&lt;P&gt;types: begin of tp_marc,&lt;/P&gt;&lt;P&gt;matnr type matnr,&lt;/P&gt;&lt;P&gt;werks type werks_d,&lt;/P&gt;&lt;P&gt;end of tp_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_head type standard table of GXXLT_V,&lt;/P&gt;&lt;P&gt;wa_head like line of t_head,&lt;/P&gt;&lt;P&gt;t_tab1 type standard table of GXXLT_o,&lt;/P&gt;&lt;P&gt;t_tab2 type standard table of GXXLT_p,&lt;/P&gt;&lt;P&gt;t_marc type standard table of tp_marc,&lt;/P&gt;&lt;P&gt;w_file type GXXLD_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr&lt;/P&gt;&lt;P&gt;werks&lt;/P&gt;&lt;P&gt;into table t_marc&lt;/P&gt;&lt;P&gt;from marc&lt;/P&gt;&lt;P&gt;where werks = '4012'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear wa_head.&lt;/P&gt;&lt;P&gt;wa_head-COL_NO = 1.&lt;/P&gt;&lt;P&gt;wa_head-COL_NAME = 'Material No.'.&lt;/P&gt;&lt;P&gt;append wa_head to t_head.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear wa_head.&lt;/P&gt;&lt;P&gt;wa_head-COL_NO = 2.&lt;/P&gt;&lt;P&gt;wa_head-COL_NAME = 'Plant'.&lt;/P&gt;&lt;P&gt;append wa_head to t_head.&lt;/P&gt;&lt;P&gt;clear wa_head.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_file = 'C:\test.xls'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'XXL_SIMPLE_API'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = w_file&lt;/P&gt;&lt;P&gt;HEADER = space&lt;/P&gt;&lt;P&gt;N_KEY_COLS = 1&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;col_text = t_head&lt;/P&gt;&lt;P&gt;data = t_marc&lt;/P&gt;&lt;P&gt;online_text = t_tab1&lt;/P&gt;&lt;P&gt;print_text = t_tab2&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;DIM_MISMATCH_DATA = 1&lt;/P&gt;&lt;P&gt;FILE_OPEN_ERROR = 2&lt;/P&gt;&lt;P&gt;FILE_WRITE_ERROR = 3&lt;/P&gt;&lt;P&gt;INV_WINSYS = 4&lt;/P&gt;&lt;P&gt;INV_XXL = 5&lt;/P&gt;&lt;P&gt;OTHERS = 6&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 07:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code-for-xxl-simple-api-fm/m-p/4316776#M1028818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T07:01:26Z</dc:date>
    </item>
  </channel>
</rss>

