<?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 CALLING REPORT IN BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807740#M915848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing a bapi and calling one report of invoice pinting  ZSDRDINVRPT1 &lt;/P&gt;&lt;P&gt;now in this when I run this report and ask for printing of invoice by giving the range of invoice it is printing for all the invoices from range to range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the same when I am running through bapi it printing for first value only i mean even giving range it is printing for first valu of range I am taking output in xml page here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my coding is following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: LIST_TAB type standard table of ABAPLIST.&lt;/P&gt;&lt;P&gt;Data: MTAB_REPORT_HTML type standard table of W3HTML WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit ZSDRDINVRPT1 with SELECTION-TABLE SELTAB&lt;/P&gt;&lt;P&gt;        exporting list to Memory and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listobject = list_tab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    not_found  = 1&lt;/P&gt;&lt;P&gt;    OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TEMPLATE_NAME       = 'WEBREPORTING_REPORT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHARSET             = 'UTF8'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    html                = MTAB_REPORT_HTML&lt;/P&gt;&lt;P&gt;    listobject          = list_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE MEMORY.&lt;/P&gt;&lt;P&gt;CLEAR LIST_TAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at MTAB_REPORT_HTML.&lt;/P&gt;&lt;P&gt;  concatenate htmlstring&lt;/P&gt;&lt;P&gt;             MTAB_REPORT_HTML-LINE into htmlstring.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2008 06:47:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-21T06:47:23Z</dc:date>
    <item>
      <title>CALLING REPORT IN BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807740#M915848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing a bapi and calling one report of invoice pinting  ZSDRDINVRPT1 &lt;/P&gt;&lt;P&gt;now in this when I run this report and ask for printing of invoice by giving the range of invoice it is printing for all the invoices from range to range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the same when I am running through bapi it printing for first value only i mean even giving range it is printing for first valu of range I am taking output in xml page here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my coding is following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: LIST_TAB type standard table of ABAPLIST.&lt;/P&gt;&lt;P&gt;Data: MTAB_REPORT_HTML type standard table of W3HTML WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit ZSDRDINVRPT1 with SELECTION-TABLE SELTAB&lt;/P&gt;&lt;P&gt;        exporting list to Memory and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listobject = list_tab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    not_found  = 1&lt;/P&gt;&lt;P&gt;    OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TEMPLATE_NAME       = 'WEBREPORTING_REPORT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHARSET             = 'UTF8'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    html                = MTAB_REPORT_HTML&lt;/P&gt;&lt;P&gt;    listobject          = list_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE MEMORY.&lt;/P&gt;&lt;P&gt;CLEAR LIST_TAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at MTAB_REPORT_HTML.&lt;/P&gt;&lt;P&gt;  concatenate htmlstring&lt;/P&gt;&lt;P&gt;             MTAB_REPORT_HTML-LINE into htmlstring.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 06:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807740#M915848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T06:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING REPORT IN BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807741#M915849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : it_rsparams type table of rsparams.&lt;/P&gt;&lt;P&gt;  data : wa_rsparams type rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at seltab.&lt;/P&gt;&lt;P&gt;    clear wa_rsparams.&lt;/P&gt;&lt;P&gt;    wa_rsparams-selname = your program select-options&lt;/P&gt;&lt;P&gt;    wa_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;    wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;    wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;    wa_rsparams-low     = seltab-low&lt;/P&gt;&lt;P&gt;    append wa_rsparams to it_rsparams.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit ZSDRDINVRPT1 with SELECTION-TABLE it_rsparams &lt;/P&gt;&lt;P&gt;exporting list to Memory and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 07:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807741#M915849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T07:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING REPORT IN BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807742#M915850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell me how pass range of import parameter in bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 07:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807742#M915850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T07:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING REPORT IN BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807743#M915851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=12015796&amp;amp;messageID=3694516" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=12015796&amp;amp;messageID=3694516&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 07:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-report-in-bapi/m-p/3807743#M915851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T07:27:28Z</dc:date>
    </item>
  </channel>
</rss>

