<?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: interaction report with external subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490506#M839388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables vbak.&lt;/P&gt;&lt;P&gt;select-options x for vbak-vbeln.&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;a type vbak-vbeln,&lt;/P&gt;&lt;P&gt;b type vbak-ernam,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty1,&lt;/P&gt;&lt;P&gt;c type vbap-posnr,&lt;/P&gt;&lt;P&gt;d type vbap-matnr,&lt;/P&gt;&lt;P&gt;end of ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;wa type ty,&lt;/P&gt;&lt;P&gt;itab1 type table of ty1,&lt;/P&gt;&lt;P&gt;wa1 type ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : VIEW_REPID LIKE T582V-REPID.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lsind.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;select posnr matnr from vbap into table itab1 where vbeln = wa-a.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa1-c,wa1-d.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIEW_REPID = 'ZNAVA'.&lt;/P&gt;&lt;P&gt;perform exsub in program (VIEW_REPID) tables x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2008 08:56:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-28T08:56:19Z</dc:date>
    <item>
      <title>interaction report with external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490505#M839387</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;I am new in ABAP.I have used external subroutine in the interactive report but it wont work  plz any one can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main program&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables vbak.&lt;/P&gt;&lt;P&gt;select-options x for vbak-vbeln.&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;           a type vbak-vbeln,&lt;/P&gt;&lt;P&gt;           b type vbak-ernam,&lt;/P&gt;&lt;P&gt;           end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty1,&lt;/P&gt;&lt;P&gt;           c type vbap-posnr,&lt;/P&gt;&lt;P&gt;           d type vbap-matnr,&lt;/P&gt;&lt;P&gt;           end of ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;         wa type ty,&lt;/P&gt;&lt;P&gt;         itab1 type table of ty1,&lt;/P&gt;&lt;P&gt;         wa1 type ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform exsub(znava) tables x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lsind.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;select posnr matnr from vbap into table itab1 where vbeln = wa-a.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa1-c,wa1-d.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next Program&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;report znava.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form exsub tables x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam from vbak into table itab where vbeln = x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa-a,wa-b.&lt;/P&gt;&lt;P&gt;hide wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above main program output shows only primary report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 08:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490505#M839387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T08:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: interaction report with external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490506#M839388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables vbak.&lt;/P&gt;&lt;P&gt;select-options x for vbak-vbeln.&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;a type vbak-vbeln,&lt;/P&gt;&lt;P&gt;b type vbak-ernam,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty1,&lt;/P&gt;&lt;P&gt;c type vbap-posnr,&lt;/P&gt;&lt;P&gt;d type vbap-matnr,&lt;/P&gt;&lt;P&gt;end of ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;wa type ty,&lt;/P&gt;&lt;P&gt;itab1 type table of ty1,&lt;/P&gt;&lt;P&gt;wa1 type ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : VIEW_REPID LIKE T582V-REPID.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lsind.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;select posnr matnr from vbap into table itab1 where vbeln = wa-a.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa1-c,wa1-d.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIEW_REPID = 'ZNAVA'.&lt;/P&gt;&lt;P&gt;perform exsub in program (VIEW_REPID) tables x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 08:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490506#M839388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: interaction report with external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490507#M839389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     write the perform statement after the at line selection.&lt;/P&gt;&lt;P&gt;that should come in start -of -selection area if u giv that perform before start of selection it will take it as at line selection event only.  Hope u solve ur issue ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 09:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490507#M839389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: interaction report with external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490508#M839390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the answer as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables vbak.&lt;/P&gt;&lt;P&gt;select-options x for vbak-vbeln.&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;a type vbak-vbeln,&lt;/P&gt;&lt;P&gt;b type vbak-ernam,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty1,&lt;/P&gt;&lt;P&gt;c type vbap-posnr,&lt;/P&gt;&lt;P&gt;d type vbap-matnr,&lt;/P&gt;&lt;P&gt;end of ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;wa type ty &lt;STRONG&gt;occurs 0 with header line&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;itab1 type table of ty1,&lt;/P&gt;&lt;P&gt;wa1 type ty1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform exsub(znava) tables x &lt;STRONG&gt;wa&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;case sy-lsind.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;select posnr matnr from vbap into table itab1 where vbeln = wa-a.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa1-c,wa1-d.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next Program&lt;/P&gt;&lt;P&gt;report znava.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form exsub tables x &lt;STRONG&gt;wa like itab&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam from vbak into table itab where vbeln = x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa-a,wa-b.&lt;/P&gt;&lt;P&gt;hide wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 09:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interaction-report-with-external-subroutine/m-p/3490508#M839390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T09:51:53Z</dc:date>
    </item>
  </channel>
</rss>

