<?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: BDC-Batch Input Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737075#M899401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravishanker is right, we cannot handle the errors in transaction.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need get that from report, best option is use Call transaction instead of session....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 15:06:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T15:06:58Z</dc:date>
    <item>
      <title>BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737069#M899395</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 am using BDC (Batch Input Method) for updating one transaction from a file.I need to know, how will I get the error log once the session is processed? I need to get a count of the records successfully loaded, records rejected and time of load.I need to get them into an internal table.&lt;/P&gt;&lt;P&gt;( I want to use batch input itself and not call transaction method)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All inputs are valuable for me as this is very urgent.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Aparna Venugopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737069#M899395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737070#M899396</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;Goto Transaction code SM35 and select a session and click log button on the application tool bar. Aafter that again select session and click display button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737070#M899396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737071#M899397</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;But I need to do this from the report itself.I should get the details of errors, for sending an error notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737071#M899397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737072#M899398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While using session method, you cannot get error messages into internal table.&lt;/P&gt;&lt;P&gt;But you can goto SM35 transaction, select the session and click on logs. Display the logs and dowmload into excel for furthur analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737072#M899398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737073#M899399</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;There is one alternative method for getting the success records or error records into internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you fill the BDCDATA structure, validate each and every madatory field and then populate the error or success internal tables and download later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose XK01 is the transaction . then&lt;/P&gt;&lt;P&gt;after uploading data from flat file to internal table, then each field is to be validated and if it fails then write the error to the error internal file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: For a field LIFNR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT I_XK01 INTO WA_XK01.&lt;/P&gt;&lt;P&gt;      TRANSLATE WA_XK01-LIFNR TO UPPER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE I_LIFNR INTO WA_LIFNR WITH KEY LIFNR = WA_XK01-LIFNR.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;        CONCATENATE WA_MESG-MESG TEXT-100 WA_XK01-LIFNR TEXT-101  ' , ' INTO WA_MESG-MESG.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;APPEND WA_MESG TO ERR_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I_LIFNR is the internal table which was filled in initialization using "select lifnr from LFA1". so i am checking whether the LIFNR previously exists or not. if exists then sy-subrc value will be &amp;gt;1 then write the message "VENDOR NUMBER ALREADY EXISTS" into the error internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In this way, in the loop  you will populate the error messages for all the mandatory fields into an error internal table.Put a condition that if the session was successfully processed then only the error internal table is downloaded to flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Narayana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737073#M899399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737074#M899400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Narayana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, you are simulating/expecting the error in a particular record. If we know a record going to fail , then we could correct it early. We don't know their input data and checking conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is not the right way to proceed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 14:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737074#M899400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T14:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: BDC-Batch Input Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737075#M899401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravishanker is right, we cannot handle the errors in transaction.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need get that from report, best option is use Call transaction instead of session....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 15:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-batch-input-session/m-p/3737075#M899401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T15:06:58Z</dc:date>
    </item>
  </channel>
</rss>

