<?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: log file in session method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542010#M246855</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;i don't get your problem, exactly?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) check whether xblnr is in table bkpf&lt;/P&gt;&lt;P&gt;-&amp;gt; count items found and items not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) for items not found: use abap rfbibl00 (look documentaio in se38) to post the missing FI-documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) create your protocol with your counter and compare later with protocol of rfbibl00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 06:22:49 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-08-30T06:22:49Z</dc:date>
    <item>
      <title>log file in session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542008#M246853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;       iam uploading data from flat file using session method using f-02.&lt;/P&gt;&lt;P&gt;in flat file we got the fields like xblnr in bkpf table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when reading the flat file if xblnr already in bkpf table the record must skip.if xblnr not in table bkpf it must insert into bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in session method log file it must show like this.&lt;/P&gt;&lt;P&gt;if 4 records in the flat file,2 records found in bkpf and 2 record not found in bkpf.&lt;/P&gt;&lt;P&gt;4 record read&lt;/P&gt;&lt;P&gt;2 records processed&lt;/P&gt;&lt;P&gt;2 record with errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any body suggest me how can i proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;praveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 15:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542008#M246853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T15:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: log file in session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542009#M246854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;You can continue like this.&lt;/P&gt;&lt;P&gt;First check the records from the database tables based on the input file data.&lt;/P&gt;&lt;P&gt;Fist check whether the XBLNR from file data exists in BKPF or not . if not go and proceed to update into transaction else you can throw the error like this XBLNR already exists, you can show these error records in report output .so that you can easily identify the data which in file is already there or not.&lt;/P&gt;&lt;P&gt;I think this will give some idea how to proceed. If you need some more please let me know.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542009#M246854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: log file in session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542010#M246855</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;i don't get your problem, exactly?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) check whether xblnr is in table bkpf&lt;/P&gt;&lt;P&gt;-&amp;gt; count items found and items not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) for items not found: use abap rfbibl00 (look documentaio in se38) to post the missing FI-documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) create your protocol with your counter and compare later with protocol of rfbibl00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542010#M246855</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-08-30T06:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: log file in session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542011#M246856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think before proceeding to BDC u should validate data and if it is blank then only keep it into the input file otherwise move it from that file.and keep recording such no.of records and after BDC u can display this information as audit file or u can download it to the given path location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542011#M246856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: log file in session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542012#M246857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose ur uploading the flat file in one internal table say gt_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT gt_tab.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM  bkpf&lt;/P&gt;&lt;P&gt;                    INTO  wa_bkpf&lt;/P&gt;&lt;P&gt;                    WHERE xblnr = gt_tab-xblnr.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   IF sy-subrc EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;we don't need the data again&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      DELETE gt_tab.&lt;/P&gt;&lt;P&gt;      count = count+1. "this will count the record which u dont want to upload. with this count variable u can display the no of records with error&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this at each record which is sucessfully uploaded take another variable and count it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/log-file-in-session-method/m-p/1542012#M246857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:54:18Z</dc:date>
    </item>
  </channel>
</rss>

