<?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: call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997320#M708044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi soumya,&lt;/P&gt;&lt;P&gt;               In call transaction ,we can use an internal table with structure BDCMSGCALL  for viewing the error records.It s/b given explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Reward me if it is usful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srikanth.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2007 14:23:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-31T14:23:29Z</dc:date>
    <item>
      <title>call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997318#M708042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using call transaction in back ground how do i check errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 10:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997318#M708042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T10:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997319#M708043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using in Background then just create a report with the return table of CALL Transaction. That will be saved as log and can be viewed from SM37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 10:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997319#M708043</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-10-31T10:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997320#M708044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi soumya,&lt;/P&gt;&lt;P&gt;               In call transaction ,we can use an internal table with structure BDCMSGCALL  for viewing the error records.It s/b given explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Reward me if it is usful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srikanth.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997320#M708044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T14:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997321#M708045</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 can chek the errors by creating the session method. Try this code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'XK01' USING IT_BDCDATA
                   MODE P_MODE
                   UPDATE P_UPDATE
                   MESSAGES INTO IT_MESS.
  IF SY-SUBRC = 0.
    READ TABLE IT_MESS WITH KEY MSGTYP = 'S'.
    IF SY-SUBRC = 0.
      IT_SUCESS-LIFNR = IT_MESS-MSGV1.
      IT_SUCESS-NAME1 = IT_VENDOR-NAME1.
      APPEND IT_SUCESS.
      ADD 1 TO V_SUCESS.
    ENDIF.
  ELSE.
    READ TABLE IT_MESS WITH KEY MSGTYP = 'E'.
    IF SY-SUBRC = 0.
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = IT_ERROR-MESSAGE
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IT_ERROR-LINENO = V_INDEX.
      APPEND IT_ERROR.
      ADD 1 TO V_ERROR.
    ENDIF.
    IF V_ERR_1 EQ SPACE.
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          CLIENT   = SY-MANDT
          GROUP    = P_EGROUP
          USER     = P_EUSER
          KEEP     = P_EKEEP
          HOLDDATE = P_EHDATE.

      V_ERR_1 = 'X'.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2997321#M708045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T14:25:40Z</dc:date>
    </item>
  </channel>
</rss>

