<?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 Interface for loading bank BAI format document into SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-for-loading-bank-bai-format-document-into-sap/m-p/8762209#M1676604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;I have to write a script program that retrieves and uploads the EBS file into SAP will ensure that all files are received and uploaded into SAP.&amp;nbsp; The program will inform the responsible parties if some files are not received or are uploaded with errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;here the file is in appl server. So, i decided to schedule a job for FF_5 Transaction, then it will archived. while job is scheduled, if some documents got fail. so here how can i identify which one got failed/error and send a mail to &lt;A class="jive-link-email-small" href="mailto:xxxxxxx@domain.com"&gt;xxxxxxx@domain.com&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;hope it is brief.&amp;nbsp; could you help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2012 09:30:23 GMT</pubDate>
    <dc:creator>JanjanamRamesh</dc:creator>
    <dc:date>2012-04-27T09:30:23Z</dc:date>
    <item>
      <title>Interface for loading bank BAI format document into SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-for-loading-bank-bai-format-document-into-sap/m-p/8762209#M1676604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;I have to write a script program that retrieves and uploads the EBS file into SAP will ensure that all files are received and uploaded into SAP.&amp;nbsp; The program will inform the responsible parties if some files are not received or are uploaded with errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;here the file is in appl server. So, i decided to schedule a job for FF_5 Transaction, then it will archived. while job is scheduled, if some documents got fail. so here how can i identify which one got failed/error and send a mail to &lt;A class="jive-link-email-small" href="mailto:xxxxxxx@domain.com"&gt;xxxxxxx@domain.com&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; font-size: 10pt;"&gt;hope it is brief.&amp;nbsp; could you help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 09:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-for-loading-bank-bai-format-document-into-sap/m-p/8762209#M1676604</guid>
      <dc:creator>JanjanamRamesh</dc:creator>
      <dc:date>2012-04-27T09:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Interface for loading bank BAI format document into SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-for-loading-bank-bai-format-document-into-sap/m-p/8762210#M1676605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We utilize a similar process.&amp;nbsp; The steps within a single scheduled job, for me, are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute our custom program that will:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Get the bank/account information from T012, T012k and make the set unique, as needed.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Open the BAI2 file dataset and read to find the file header (for the run date, etc.)&amp;nbsp; If no file, abend the scheduled job with an E message.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Submit our custom program to upload the BAI2 file and convert it to the needed format, storing a file for each combination of company code and payment ID (HKTID) or acct (BANKN).&amp;nbsp; This produces a set of files with the unique file header, the account / company code header, etc. needed for next steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at our derived unique rows from T012/T012k.&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Construct a unique runid code for the company and HKTID or BANKN.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; try to open the corresponding (to runid) dataset created from 3 above.&amp;nbsp; If successful, close and continue, if not successful, continue to next row in t012/t012k table.&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Submit &lt;STRONG&gt;rfkkcr00&lt;/STRONG&gt; with the needed parameters to create a run id and to prevent accidental reruns.&lt;/P&gt;&lt;P&gt;7.&amp;nbsp; Create the parameters for rfkkcrcash_check into a parameters table.&lt;/P&gt;&lt;P&gt;8.&amp;nbsp; Submit &lt;STRONG&gt;rfkkcrcash_check &lt;/STRONG&gt;with the parameters table.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, we're checking for success at each step of the way.&amp;nbsp; Our process is probably much more complex than you need, since we have multiple company codes and multiple bank accounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterward, a little later in the morning, we have a scheduled job that reads the RUNIDs from DFKKCRST to see if any runids were generated (or which runids were generated), since in my case, I store runids by YYMMDD, Company code and last two of HKTID.&amp;nbsp; If nothing is found, and it is Tuesday - Saturday, and yesterday was not one of the known, predicable holidays (Dec 25, Jan1, July4), we issue an E-error message to the log to cause an abend.&amp;nbsp; The job log then shows the cancellation, and we read the log to see what happened (since I output a message for each step).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 13:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-for-loading-bank-bai-format-document-into-sap/m-p/8762210#M1676605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-27T13:09:36Z</dc:date>
    </item>
  </channel>
</rss>

