<?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 print bps function log in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-bps-function-log/m-p/5270214#M1216718</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 m workin about call a bps function since a transaction, so far so good; but before call bps function i do some abap actions and i save the log (for every action) in order to print (to the user) the number of read , new or changed registers ( I use this varaible for that:&lt;/P&gt;&lt;P&gt;DATA: g_t_logmsg     TYPE TABLE OF bal_s_msg&lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is to show the log of the bps function the same way the other, but bps function triggers its log on a "it_return" variable&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;      it_return TYPE TABLE OF bapiret2 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how can i CAST " it_return " to be appened to " g_t_logmsg " in order to print the all log complete?&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;Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2009 03:45:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-19T03:45:24Z</dc:date>
    <item>
      <title>print bps function log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-bps-function-log/m-p/5270214#M1216718</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 m workin about call a bps function since a transaction, so far so good; but before call bps function i do some abap actions and i save the log (for every action) in order to print (to the user) the number of read , new or changed registers ( I use this varaible for that:&lt;/P&gt;&lt;P&gt;DATA: g_t_logmsg     TYPE TABLE OF bal_s_msg&lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is to show the log of the bps function the same way the other, but bps function triggers its log on a "it_return" variable&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;      it_return TYPE TABLE OF bapiret2 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how can i CAST " it_return " to be appened to " g_t_logmsg " in order to print the all log complete?&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;Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 03:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-bps-function-log/m-p/5270214#M1216718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T03:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: print bps function log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-bps-function-log/m-p/5270215#M1216719</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;You need to loop the internal table [array] it_return, and appended it into internal table [array] g_t_logmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do something like:&lt;/P&gt;&lt;P&gt;data: wa_bal_s_msg type bal_s_msg.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;loop at it_return.&lt;/P&gt;&lt;P&gt;  wa_bal_s_msg-MSGTY = it_return-BAPI_MTYPE.&lt;/P&gt;&lt;P&gt;  wa_bal_s_msg-MSGID = it_return-ID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do the rest for the other component&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_bal_s_msg to gt &lt;U&gt;t&lt;/U&gt;logmsg.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lim...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 05:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-bps-function-log/m-p/5270215#M1216719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T05:46:44Z</dc:date>
    </item>
  </channel>
</rss>

