<?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 Reference Doc not appearing in download when posting using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-doc-not-appearing-in-download-when-posting-using-bapi/m-p/10732858#M1874214</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 am pretty new to this and I have tried to find this answer elsewhere but have not managed it - so if anyone could help it would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up a macro to post into SAP directly from Excel using BAPI_ACC_DOCUMENT_POST &amp;amp; BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;After posting the journal, I have run a cost centre report using KSB1, and the the journal has worked; the journal has posted and debits and credits as expected.&lt;/P&gt;&lt;P&gt;However, in the 'Reference' field of the download, the Reference Doc that I specified (using REF_DOC_NO in the BAPI transaction) does not appear. What is puzzling me is that when you drill in to the transaction (by double clicking on the line item), the Ref Doc is definitely there and looks identical to another journal that I posted directly into SAP using the F-02 transaction - and the F-02 transaction does show the Reference in the KSB1 download.&lt;/P&gt;&lt;P&gt;Can anyone help me understand why the Reference does not appear in the KSB1 download and find a way to force it to appear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/612993" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/613007" width="450" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 09:14:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-22T09:14:50Z</dc:date>
    <item>
      <title>Reference Doc not appearing in download when posting using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-doc-not-appearing-in-download-when-posting-using-bapi/m-p/10732858#M1874214</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 am pretty new to this and I have tried to find this answer elsewhere but have not managed it - so if anyone could help it would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up a macro to post into SAP directly from Excel using BAPI_ACC_DOCUMENT_POST &amp;amp; BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;After posting the journal, I have run a cost centre report using KSB1, and the the journal has worked; the journal has posted and debits and credits as expected.&lt;/P&gt;&lt;P&gt;However, in the 'Reference' field of the download, the Reference Doc that I specified (using REF_DOC_NO in the BAPI transaction) does not appear. What is puzzling me is that when you drill in to the transaction (by double clicking on the line item), the Ref Doc is definitely there and looks identical to another journal that I posted directly into SAP using the F-02 transaction - and the F-02 transaction does show the Reference in the KSB1 download.&lt;/P&gt;&lt;P&gt;Can anyone help me understand why the Reference does not appear in the KSB1 download and find a way to force it to appear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/612993" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/613007" width="450" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-doc-not-appearing-in-download-when-posting-using-bapi/m-p/10732858#M1874214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-22T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Doc not appearing in download when posting using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reference-doc-not-appearing-in-download-when-posting-using-bapi/m-p/10732859#M1874215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried different views in SAP and altering my VBA code in Excel and nothing seems to be getting around this problem. Can anyone help?&lt;/P&gt;&lt;P&gt;I can't understand why all of the information is displayed when you drill in but not on the initial download screen or in the Excel download&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 12:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reference-doc-not-appearing-in-download-when-posting-using-bapi/m-p/10732859#M1874215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-29T12:46:36Z</dc:date>
    </item>
  </channel>
</rss>

