<?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: Save BDC Log in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175854#M998285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By Default it logs and reports you in SHDB itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFter your recording you can choose the Recording name , and Press Process Button&lt;/P&gt;&lt;P&gt;and now if every thing over you can check the log.&lt;/P&gt;&lt;P&gt;it is a alv report&lt;/P&gt;&lt;P&gt;and also you can download the log also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2008 12:30:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-21T12:30:14Z</dc:date>
    <item>
      <title>Save BDC Log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175853#M998284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I have developed a BDC and encountered some error during the execution.  For futher analysis, i want to save the BDC log into a spreadshheet or local file.  Is it possible to do this in SHDB without the use of Ctrl+Y??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175853#M998284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Save BDC Log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175854#M998285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By Default it logs and reports you in SHDB itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFter your recording you can choose the Recording name , and Press Process Button&lt;/P&gt;&lt;P&gt;and now if every thing over you can check the log.&lt;/P&gt;&lt;P&gt;it is a alv report&lt;/P&gt;&lt;P&gt;and also you can download the log also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175854#M998285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Save BDC Log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175855#M998286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can capture BDC message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: it_msgtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.

FORM bdc_msg.

  DATA: l_v_mstring(480).

IF it_msgtab[] IS NOT INITIAL.                                        
  SELECT * FROM t100 INTO TABLE it_t100
    FOR ALL ENTRIES IN it_msgtab
    WHERE sprsl = it_msgtab-msgspra
    AND   arbgb = it_msgtab-msgid
    AND   msgnr = it_msgtab-msgnr.

ELSE.
  WRITE:/ text-003.
ENDIF.


  LOOP AT it_msgtab.                                       
    READ TABLE it_t100 INTO wa_t100 WITH KEY sprsl = it_msgtab-msgspra
                                             arbgb = it_msgtab-msgid
                                             msgnr = it_msgtab-msgnr.
    IF sy-subrc = 0.
      l_v_mstring = wa_t100-text.
      IF l_v_mstring CS '&amp;amp;1'.
        REPLACE '&amp;amp;1' WITH it_msgtab-msgv1 INTO l_v_mstring.
        REPLACE '&amp;amp;2' WITH it_msgtab-msgv2 INTO l_v_mstring.
        REPLACE '&amp;amp;3' WITH it_msgtab-msgv3 INTO l_v_mstring.
        REPLACE '&amp;amp;4' WITH it_msgtab-msgv4 INTO l_v_mstring.
      ELSE.
        REPLACE '&amp;amp;' WITH it_msgtab-msgv1 INTO l_v_mstring.
        REPLACE '&amp;amp;' WITH it_msgtab-msgv2 INTO l_v_mstring.
        REPLACE '&amp;amp;' WITH it_msgtab-msgv3 INTO l_v_mstring.
        REPLACE '&amp;amp;' WITH it_msgtab-msgv4 INTO l_v_mstring.
      ENDIF.
      CONDENSE l_v_mstring.
      WRITE: / it_msgtab-msgtyp, l_v_mstring(250).
    ELSE.
      WRITE: / it_msgtab.
    ENDIF.
  ENDLOOP.

ENDFORM.                    " bdc_msg&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sayak...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175855#M998286</guid>
      <dc:creator>RoySayak</dc:creator>
      <dc:date>2008-07-21T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Save BDC Log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175856#M998287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not a ALV reoport and i can't find the export to spreadsheet button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-bdc-log/m-p/4175856#M998287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T12:37:20Z</dc:date>
    </item>
  </channel>
</rss>

