<?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: Error log in Session method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738120#M1301118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to print the error log in my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2009 12:12:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-27T12:12:39Z</dc:date>
    <item>
      <title>Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738118#M1301116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Is it possible to create error log in session method, just like call transaction ( BDCMSGCOLL) . I want to create error log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible or not, If possible how ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738118#M1301116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738119#M1301117</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;Why do u need to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can read the log in SM35 trx, if u need to print it in your report see the report RSBDC_ANALYSE in order to understand how to get the log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738119#M1301117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738120#M1301118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to print the error log in my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738120#M1301118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738121#M1301119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ajay,&lt;/P&gt;&lt;P&gt;You can have very detail error log in session method and you can find screen to screen flow. While in call transaction there is very limited error log. Check session in sm35 and you can see details of successful as wel as error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you. &lt;/P&gt;&lt;P&gt;If your problem is solved, then please mark it as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738121#M1301119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738122#M1301120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i create error log in session other than SM35 log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738122#M1301120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738123#M1301121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;   There s a table called &lt;STRONG&gt;BDCMSGCOLL&lt;/STRONG&gt;. Declare an internal table of type bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop it and capture the values.The values will be captured in the fields &lt;STRONG&gt;MSGV1,MSGV2,MSGV3 and MSGV4&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Once you get them print them out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738123#M1301121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738124#M1301122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDCMSGCOLL we are using in call transaction method with the statement CALL TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but here where we have to use BDCMSGCOLL ( i mean with which statement ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738124#M1301122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738125#M1301123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you will debug sm35 by putting /h then you will find error record internal table . Please go into that and find out the exact table. This will help you to analyse. And you can use in your program for displaying error log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738125#M1301123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738126#M1301124</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;PRE&gt;&lt;CODE&gt;* To catch no. of lines in itab.
DESCRIBE TABLE itab LINES trec.
* To catch no. of lines in it_err.
DESCRIBE TABLE it_err LINES erec.
* Calculation for records which are successfully uploaded.
srec = trec - erec.

* Layout for display summary begin.
WRITE:(60) sy-uline..
WRITE:/ sy-vline, '             SUMMARY OF TRANSACTION                '
COLOR COL_HEADING,60 sy-vline..
WRITE:/(60) sy-uline..

WRITE:/ sy-vline, 'TOTAL NO. OF RECORDS                       ' COLOR
COL_TOTAL, 46 sy-vline, 50 trec LEFT-JUSTIFIED, 60 sy-vline.
WRITE:/(60) sy-uline.

WRITE:/ sy-vline, 'No Of Records Not Uploaded Successfully are:' COLOR
COL_NEGATIVE  HOTSPOT ON,50  erec LEFT-JUSTIFIED, 46 sy-vline,60
sy-vline.
WRITE:/(60) sy-uline.


WRITE:/ sy-vline, 'No Of Records Uploded Successfully are:    ' COLOR
COL_POSITIVE ,50 srec LEFT-JUSTIFIED,46 sy-vline,60 sy-vline.
WRITE:/(60) sy-uline.


* Function to create error file.
CALL FUNCTION 'WS_DOWNLOAD'
  EXPORTING
    filename = 'C:\ERRORS.TXT'
    filetype = 'DAT'
  TABLES
    data_tab = it_err.

* Subroutine for bdc_dynpro.
FORM bdc_dynpro USING program dynpro.
  CLEAR bdcdata.
  bdcdata-program  = program.
  bdcdata-dynpro   = dynpro.
  bdcdata-dynbegin = 'X'.
  APPEND bdcdata.
ENDFORM.                    "BDC_DYNPRO


* Subroutine for bdc_field.
FORM bdc_field USING fnam fval.

  CLEAR bdcdata.
  bdcdata-fnam = fnam.
  bdcdata-fval = fval.
  APPEND bdcdata.

ENDFORM.                    "BDC_FIELD



* Subroutine for bdc_transaction.
FORM bdc_transaction USING tcode.

  DATA text(74).
  DATA text1(34).
  DATA text2(20).
  text1 = 'Uploading Data for MATERIAL(MAKTX):' .
  text2 =  '---PLEASE WAIT.'.

  CONCATENATE text1 itab-MAKTX text2 INTO text.

 CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text   = text
    EXCEPTIONS
      OTHERS = 1.

  REFRESH messtab.
  CALL TRANSACTION tcode USING bdcdata
                    MODE  'N'
*                    MODE  'A'
                    UPDATE 'S'
                   MESSAGES INTO messtab.

  l_subrc = sy-subrc.

* Moving data to it_trec.
  MOVE l_subrc TO it_trec-rtcode.
  MOVE itab-line TO it_trec-rec.
  MOVE itab-MAKTX TO it_trec-MAKTX.
  MOVE itab-MATKL TO it_trec-MATKL.
  APPEND it_trec.

* Looping in bdcmsgcoll structure.

  LOOP AT messtab.

    SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
                              AND   arbgb = messtab-msgid
                              AND   msgnr = messtab-msgnr.
    IF sy-subrc = 0.

      l_mstring = t100-text.

      IF l_mstring CS '&amp;amp;1'.
        REPLACE '&amp;amp;1' WITH messtab-msgv1 INTO l_mstring.


        REPLACE '&amp;amp;2' WITH messtab-msgv2 INTO l_mstring.

        REPLACE '&amp;amp;3' WITH messtab-msgv3 INTO l_mstring.

        REPLACE '&amp;amp;4' WITH messtab-msgv4 INTO l_mstring.

      ELSE.
        REPLACE '&amp;amp;' WITH messtab-msgv1 INTO l_mstring.

        REPLACE '&amp;amp;' WITH messtab-msgv2 INTO l_mstring.

        REPLACE '&amp;amp;' WITH messtab-msgv3 INTO l_mstring.

        REPLACE '&amp;amp;' WITH messtab-msgv4 INTO l_mstring.

      ENDIF.
      CONDENSE :  l_mstring.

      MOVE l_mstring TO it_trec-mess.
      MODIFY it_trec INDEX sy-tabix.

    ENDIF.

ENDLOOP.

  FORMAT COLOR 4.
* Catching error records from it_trec &amp;amp; moving to it_err.
  LOOP AT it_trec WHERE rtcode &amp;lt;&amp;gt; 0.
    MOVE-CORRESPONDING it_trec TO it_err.
    APPEND it_err.

  ENDLOOP.
  REFRESH it_trec.
  REFRESH bdcdata.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikhil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nikhil Kanegaonkar on May 27, 2009 2:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 12:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738126#M1301124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T12:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738127#M1301125</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;Check if this snippet is of some help to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Post BDC session programatically&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SUBMIT rsbdcsub WITH mappe EQ v_session       "v_session contains the session name you have created in your program&lt;/P&gt;&lt;P&gt;                    WITH von EQ sy-datum&lt;/P&gt;&lt;P&gt;                    WITH bis EQ sy-datum&lt;/P&gt;&lt;P&gt;                    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Displaying session for errors&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;selection for qid to display session log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE qid&lt;/P&gt;&lt;P&gt;  INTO v_qid FROM&lt;/P&gt;&lt;P&gt;  apqi WHERE&lt;/P&gt;&lt;P&gt;  datatyp = 'BDC'&lt;/P&gt;&lt;P&gt;  AND groupid = v_session&lt;/P&gt;&lt;P&gt;  AND progid = sy-repid&lt;/P&gt;&lt;P&gt;  AND userid = sy-uname&lt;/P&gt;&lt;P&gt;  AND credate = sy-datum.&lt;/P&gt;&lt;P&gt;  IF v_qid IS NOT INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;submit the program for BDC session error log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SUBMIT rsbdc_protocol&lt;/P&gt;&lt;P&gt;    WITH session EQ v_session&lt;/P&gt;&lt;P&gt;    WITH  user EQ sy-uname&lt;/P&gt;&lt;P&gt;    WITH  queue_id EQ v_qid&lt;/P&gt;&lt;P&gt;    AND RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 06:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738127#M1301125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T06:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738128#M1301126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have gone to Call transaction &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ajay kumar on May 28, 2009 12:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 10:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738128#M1301126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T10:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738129#M1301127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitwick,&lt;/P&gt;&lt;P&gt;I am facing same problem in calling the error log from the sm35 as report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE qid&lt;/P&gt;&lt;P&gt;  INTO v_qid FROM&lt;/P&gt;&lt;P&gt;  apqi WHERE&lt;/P&gt;&lt;P&gt;  datatyp = 'BDC'&lt;/P&gt;&lt;P&gt;  AND groupid = l_c_session&lt;/P&gt;&lt;P&gt;  AND progid = sy-repid&lt;/P&gt;&lt;P&gt;  AND userid = sy-uname&lt;/P&gt;&lt;P&gt;  AND credate = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF v_qid IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;submit the program for BDC session error log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SUBMIT rsbdc_protocol&lt;/P&gt;&lt;P&gt;                   WITH session EQ l_c_session&lt;/P&gt;&lt;P&gt;                   WITH user EQ sy-uname&lt;/P&gt;&lt;P&gt;                   WITH queue_id EQ v_qid&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my dout is v_quid how you declare  as internal table or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_quid type apqui-quid..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yugandhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 07:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738129#M1301127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T07:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error log in Session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738130#M1301128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitwick,&lt;/P&gt;&lt;P&gt;I am facing same problem in calling the error log from the sm35 as report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE qid&lt;/P&gt;&lt;P&gt;  INTO v_qid FROM&lt;/P&gt;&lt;P&gt;  apqi WHERE&lt;/P&gt;&lt;P&gt;  datatyp = 'BDC'&lt;/P&gt;&lt;P&gt;  AND groupid = l_c_session&lt;/P&gt;&lt;P&gt;  AND progid = sy-repid&lt;/P&gt;&lt;P&gt;  AND userid = sy-uname&lt;/P&gt;&lt;P&gt;  AND credate = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF v_qid IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;submit the program for BDC session error log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SUBMIT rsbdc_protocol&lt;/P&gt;&lt;P&gt;                   WITH session EQ l_c_session&lt;/P&gt;&lt;P&gt;                   WITH user EQ sy-uname&lt;/P&gt;&lt;P&gt;                   WITH queue_id EQ v_qid&lt;/P&gt;&lt;P&gt;                   AND RETURN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my dout is v_quid how you declare  as internal table or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_quid type apqui-quid..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yugandhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 07:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-log-in-session-method/m-p/5738130#M1301128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T07:56:55Z</dc:date>
    </item>
  </channel>
</rss>

