<?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: FB01 POSTING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb01-posting/m-p/12582872#M2009392</link>
    <description>&lt;P&gt;You're on the right track: prefer the BAPI to batchinput of FB01 for new developments and push for changes if the existing solution is using a batch.&lt;/P&gt;&lt;P&gt;If you have time for some study and experimentation, you could also check out &lt;A href="https://github.com/71tech/ODIN" target="_blank"&gt;ODIN&lt;/A&gt; (I've read about it, sadly I haven't had a chance to test it yet, but it looks promising)&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 16:04:16 GMT</pubDate>
    <dc:creator>abo</dc:creator>
    <dc:date>2022-08-11T16:04:16Z</dc:date>
    <item>
      <title>FB01 POSTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb01-posting/m-p/12582871#M2009391</link>
      <description>&lt;P&gt;I need to do a FB01 posting and the data will be passed by an excel File.&lt;/P&gt;
  &lt;P&gt;This is the structure of the file &lt;/P&gt;t(10) TYPE c, " Date comptable
  &lt;BR /&gt; waers TYPE waers, " Devise
  &lt;BR /&gt; monat TYPE bbkpf-monat, " Pèriode
  &lt;BR /&gt; kursf TYPE bbkpf-kursf, " taux de change
  &lt;BR /&gt; wwert TYPE bbkpf-wwert, " date de conversion
  &lt;BR /&gt; xblnr TYPE bbkpf-xblnr, " Référence
  &lt;BR /&gt; bktxt TYPE bbkpf-bktxt, " Texte d'en tête
  &lt;BR /&gt; bschl(2) TYPE c, " Clé de comptabilisation
  &lt;BR /&gt; hkont(17) TYPE c,
  &lt;BR /&gt; wrbtr(16) TYPE c, " Montant TTC
  &lt;BR /&gt; mwskz(2) TYPE c, " Code de TVA
  &lt;BR /&gt; zuonr(18) TYPE c, " Affection
  &lt;BR /&gt; sgtxt(50) TYPE c, " Texte
  &lt;BR /&gt; kostl(10) TYPE c, " Centre de cout
  &lt;BR /&gt; projk(24) TYPE c, " EOTP
  &lt;BR /&gt; menge(17) TYPE c, " Quantité
  &lt;BR /&gt; meins(3) TYPE c, " Unité de quantité
  &lt;BR /&gt; umskz(1) TYPE c, " Code CGS
  &lt;BR /&gt; zfbdt TYPE char10, " Date de base
  &lt;BR /&gt; vbund TYPE rassc, " Nº de la société S/L du partenaire
  &lt;BR /&gt; zlsch(1) TYPE c, " Mode de paiement
  &lt;BR /&gt; qsskz(2) TYPE c, " Code déclaration d’honoraires
  &lt;BR /&gt; bewar(3) TYPE c, " Type de flux
  &lt;BR /&gt; name1(35) TYPE c, " Nom du fournisseur (CPD)
  &lt;BR /&gt; stras(35) TYPE c, " Rue (CPD)
  &lt;BR /&gt; pstlz(10) TYPE c, " Code postal (CPD)
  &lt;BR /&gt; ort01(35) TYPE c, " Localité (CPD)
  &lt;BR /&gt; land1(3) TYPE c, " Pays (CPD)
  &lt;BR /&gt; banks(3) TYPE c, " Pays banque (CPD)
  &lt;BR /&gt; bankl(15) TYPE c, " Clé bancaire (CPD)
  &lt;BR /&gt; bankn(18) TYPE c, " Compte bancaire (CPD)
  &lt;BR /&gt; bkont(2) TYPE c, " Clé R.I.B. (CPD)
  &lt;BR /&gt; ebeln(10) TYPE c,
  &lt;BR /&gt; ebelp(5) TYPE c,
  &lt;BR /&gt; xref3 TYPE xref3, " Clé de référence du poste
  &lt;BR /&gt; bvtyp TYPE bvtyp, " Type de banque partenaire
  &lt;BR /&gt; dmbtr(16) TYPE c, " Type montant DI
  &lt;BR /&gt; valut(10) TYPE c, " Type date de valeur
  &lt;BR /&gt; xref1 TYPE xref1, " Clé de référence du poste
  &lt;BR /&gt;
  &lt;P&gt; xref2 TYPE xref2, " Clé de référence du poste&lt;/P&gt;
  &lt;P&gt;and at the moment we are using BDC to do post the document&lt;/P&gt;
  &lt;P&gt;however for the following file &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/2087465-test.txt" data-attachment="2087465"&gt;test.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;I am getting this error in SM35 &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/2087466-image.png" data-attachment="2087466"&gt;image.png&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/2087467-report-1.txt" data-attachment="2087467"&gt;report-1.txt&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/2087468-include-1.txt" data-attachment="2087468"&gt;include-1.txt&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;I have aslo attached the code&lt;/P&gt;
  &lt;P&gt;I am trying with the BAPI approach but the structure of the file is quite difficult to map it to BAPI for example name1, land1 cannot be mapped&lt;/P&gt;
  &lt;P&gt;BAPI : bapi_acc_gl_posting_post&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb01-posting/m-p/12582871#M2009391</guid>
      <dc:creator>former_member806481</dc:creator>
      <dc:date>2022-08-11T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: FB01 POSTING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb01-posting/m-p/12582872#M2009392</link>
      <description>&lt;P&gt;You're on the right track: prefer the BAPI to batchinput of FB01 for new developments and push for changes if the existing solution is using a batch.&lt;/P&gt;&lt;P&gt;If you have time for some study and experimentation, you could also check out &lt;A href="https://github.com/71tech/ODIN" target="_blank"&gt;ODIN&lt;/A&gt; (I've read about it, sadly I haven't had a chance to test it yet, but it looks promising)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 16:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb01-posting/m-p/12582872#M2009392</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2022-08-11T16:04:16Z</dc:date>
    </item>
  </channel>
</rss>

